49 : fReadType(0), fDebug(
kFALSE), fCHist(0), fPtHist(0),
50 fNTracksHist(0), fEventName(0), fTracks(0), fHighPt(0), fMuons(0),
51 fH(0), b_event_fType(0), b_fEventName(0), b_event_fNtrack(0), b_event_fNseg(0),
52 b_event_fNvertex(0), b_event_fFlag(0), b_event_fTemperature(0),
53 b_event_fMeasures(0), b_event_fMatrix(0), b_fClosestDistance(0),
54 b_event_fEvtHdr(0), b_fTracks(0), b_fHighPt(0), b_fMuons(0),
55 b_event_fLastTrack(0), b_event_fWebHistogram(0), b_fH(0),
56 b_event_fTriggerBits(0), b_event_fIsValid(0)
64 : fReadType(0), fDebug(
kFALSE), fCHist(0), fPtHist(0),
65 fNTracksHist(0), fEventName(0), fTracks(0), fHighPt(0), fMuons(0),
66 fH(0), b_event_fType(0), b_fEventName(0), b_event_fNtrack(0), b_event_fNseg(0),
67 b_event_fNvertex(0), b_event_fFlag(0), b_event_fTemperature(0),
68 b_event_fMeasures(0), b_event_fMatrix(0), b_fClosestDistance(0),
69 b_event_fEvtHdr(0), b_fTracks(0), b_fHighPt(0), b_fMuons(0),
70 b_event_fLastTrack(0), b_event_fWebHistogram(0), b_fH(0),
71 b_event_fTriggerBits(0), b_event_fIsValid(0)
92 while ((obj = nxt())){
95 if (sinput.
Contains(
"PROOF_Benchmark_ReadType")){
96 if ((
fReadType = dynamic_cast<TPBReadType *>(obj))) found_readtype =
kTRUE;
99 if (sinput.
Contains(
"PROOF_BenchmarkDebug")){
107 Error(
"Begin",
"PROOF_BenchmarkDebug not type TParameter<Int_t>*");
113 if (!found_readtype){
115 Warning(
"Begin",
"PROOF_Benchmark_ReadType not found; using default: %d",
119 Warning(
"Begin",
"PROOF_BenchmarkDebug not found; using default: %d",
142 while ((obj = nxt())){
145 if (sinput.
Contains(
"PROOF_Benchmark_ReadType")){
146 if ((
fReadType = dynamic_cast<TPBReadType *>(obj))) found_readtype =
kTRUE;
149 if (sinput.
Contains(
"PROOF_BenchmarkDebug")){
157 Error(
"SlaveBegin",
"PROOF_BenchmarkDebug not type TParameter"
164 if (!found_readtype){
166 Warning(
"SlaveBegin",
"PROOF_Benchmark_ReadType not found; using default: %d",
170 Warning(
"SlaveBegin",
"PROOF_BenchmarkDebug not found; using default: %d",
174 fPtHist =
new TH1F(
"pt_dist",
"p_{T} Distribution", 100, 0, 5);
180 " Distribution", 100, 50, 150);
218 fPtHist->
Fill(curtrack->GetPt(),1./curtrack->GetPt());
232 fPtHist->
Fill(curtrack->GetPt(),1./curtrack->GetPt());
virtual const char * GetOption() const
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
virtual void Begin(TTree *)
The Begin() function is called at the start of the query.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of entry and return total number of bytes read.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void Init(TTree *tree)
virtual void SlaveTerminate()
The SlaveTerminate() function is called after all entries or objects have been processed.
virtual void SlaveBegin(TTree *tree)
The SlaveBegin() function is called after the Begin() function.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Clear(Option_t *option="")
Clear the clones array.
Named parameter, streamable and storable.
EReadType GetType() const
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all leaves of entry and return total number of bytes read.
Selector for PROOF I/O benchmark test.
ClassImp(TSelEvent) TSelEvent
Constructor.
virtual const char * GetName() const
Returns name of object.
virtual Bool_t Process(Long64_t entry)
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
virtual TTree * GetTree() const
Int_t GetEntries() const
Return the number of objects in array (i.e.
virtual UInt_t SetCanExtend(UInt_t extendBitMask)
make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
Mother of all ROOT objects.
TList * fInput
Current object if processing object (vs. TTree)
virtual void Terminate()
The Terminate() function is the last function to be called during a query.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TBranch * b_event_fNtrack
A TTree object has a header with a name and a title.
const AParamType & GetVal() const
TObject * At(Int_t idx) const
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.