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)
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 Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
TBranch * b_event_fTemperature
TBranch * b_event_fTriggerBits
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
TBranch * b_event_fMatrix
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.
TBranch * b_event_fLastTrack
virtual void Init(TTree *tree)
virtual void SlaveTerminate()
The SlaveTerminate() function is called after all entries or objects have been processed.
TObject * At(Int_t idx) const
virtual const char * GetOption() const
virtual void SlaveBegin(TTree *tree)
The SlaveBegin() function is called after the Begin() function.
TBranch * b_event_fEvtHdr
virtual TTree * GetTree() const
virtual void Clear(Option_t *option="")
Clear the clones array.
TBranch * b_event_fMeasures
Named parameter, streamable and storable.
EReadType GetType() const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
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.
TBranch * b_event_fIsValid
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 ...
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
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.
TBranch * b_fClosestDistance
TBranch * b_event_fWebHistogram
TList * fInput
List of objects available during processing.
virtual void Terminate()
The Terminate() function is the last function to be called during a query.
TBranch * b_event_fNtrack
Int_t GetEntries() const
Return the number of objects in array (i.e.
A TTree object has a header with a name and a title.
const AParamType & GetVal() const
TBranch * b_event_fNvertex
virtual const char * GetName() const
Returns name of object.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...