50 : fReadType(0), fDebug(
kFALSE), fCHist(0), fPtHist(0),
51 fNTracksHist(0), fEventName(0), fTracks(0), fHighPt(0), fMuons(0),
52 fH(0), b_event_fType(0), b_fEventName(0), b_event_fNtrack(0), b_event_fNseg(0),
53 b_event_fNvertex(0), b_event_fFlag(0), b_event_fTemperature(0),
54 b_event_fMeasures(0), b_event_fMatrix(0), b_fClosestDistance(0),
55 b_event_fEvtHdr(0), b_fTracks(0), b_fHighPt(0), b_fMuons(0),
56 b_event_fLastTrack(0), b_event_fWebHistogram(0), b_fH(0),
57 b_event_fTriggerBits(0), b_event_fIsValid(0)
65 : fReadType(0), fDebug(
kFALSE), fCHist(0), fPtHist(0),
66 fNTracksHist(0), fEventName(0), fTracks(0), fHighPt(0), fMuons(0),
67 fH(0), b_event_fType(0), b_fEventName(0), b_event_fNtrack(0), b_event_fNseg(0),
68 b_event_fNvertex(0), b_event_fFlag(0), b_event_fTemperature(0),
69 b_event_fMeasures(0), b_event_fMatrix(0), b_fClosestDistance(0),
70 b_event_fEvtHdr(0), b_fTracks(0), b_fHighPt(0), b_fMuons(0),
71 b_event_fLastTrack(0), b_event_fWebHistogram(0), b_fH(0),
72 b_event_fTriggerBits(0), b_event_fIsValid(0)
93 while ((obj = nxt())){
96 if (sinput.
Contains(
"PROOF_Benchmark_ReadType")){
97 if ((
fReadType = dynamic_cast<TPBReadType *>(obj))) found_readtype =
kTRUE;
100 if (sinput.
Contains(
"PROOF_BenchmarkDebug")){
108 Error(
"Begin",
"PROOF_BenchmarkDebug not type TParameter<Int_t>*");
114 if (!found_readtype){
116 Warning(
"Begin",
"PROOF_Benchmark_ReadType not found; using default: %d",
120 Warning(
"Begin",
"PROOF_BenchmarkDebug not found; using default: %d",
143 while ((obj = nxt())){
146 if (sinput.
Contains(
"PROOF_Benchmark_ReadType")){
147 if ((
fReadType = dynamic_cast<TPBReadType *>(obj))) found_readtype =
kTRUE;
150 if (sinput.
Contains(
"PROOF_BenchmarkDebug")){
158 Error(
"SlaveBegin",
"PROOF_BenchmarkDebug not type TParameter"
165 if (!found_readtype){
167 Warning(
"SlaveBegin",
"PROOF_Benchmark_ReadType not found; using default: %d",
171 Warning(
"SlaveBegin",
"PROOF_BenchmarkDebug not found; using default: %d",
175 fPtHist =
new TH1F(
"pt_dist",
"p_{T} Distribution", 100, 0, 5);
181 " Distribution", 100, 50, 150);
218 Track* curtrack =
dynamic_cast<Track*
>(
fTracks->
At(j));
219 fPtHist->
Fill(curtrack->GetPt(),1./curtrack->GetPt());
232 Track* curtrack =
dynamic_cast<Track*
>(
fTracks->
At(j));
233 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.
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.
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.