92 while ((obj = nxt())){
95 if (sinput.
Contains(
"PROOF_Benchmark_ReadType")){
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")){
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);
176 fPtHist->GetXaxis()->SetTitle(
"p_{T}");
177 fPtHist->GetYaxis()->SetTitle(
"dN/p_{T}dp_{T}");
180 " Distribution", 100, 50, 150);
213 fChain->GetTree()->GetEntry(entry);
218 fPtHist->Fill(curtrack->GetPt(),1./curtrack->GetPt());
232 fPtHist->Fill(curtrack->GetPt(),1./curtrack->GetPt());
241 Error(
"Process",
"Read type not supported; %d",
fReadType->GetType());
1-D histogram with a float per channel (see TH1 documentation)
virtual const char * GetName() const
Returns name of object.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TObject()
TObject constructor.
Named parameter, streamable and storable.
Selector for PROOF I/O benchmark test.
virtual void Terminate()
The Terminate() function is the last function to be called during a query.
TBranch * b_event_fTriggerBits
TBranch * b_event_fMatrix
TBranch * b_event_fIsValid
TBranch * b_fClosestDistance
TBranch * b_event_fNvertex
virtual void Begin(TTree *)
The Begin() function is called at the start of the query.
TBranch * b_event_fEvtHdr
virtual void SlaveTerminate()
The SlaveTerminate() function is called after all entries or objects have been processed.
virtual void Init(TTree *tree)
virtual void SlaveBegin(TTree *tree)
The SlaveBegin() function is called after the Begin() function.
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 ...
TBranch * b_event_fNtrack
TBranch * b_event_fLastTrack
TBranch * b_event_fWebHistogram
TBranch * b_event_fTemperature
TBranch * b_event_fMeasures
TList * fInput
List of objects available during processing.
const char * GetOption() const override
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
A TTree represents a columnar dataset.