hlit-ana
0.0.0
|
IO driven selector. More...
#include <HlitAnalysisSelectorIO.h>
Public Member Functions | |
HlitAnalysisSelectorIO (TTree *tree=0) | |
virtual | ~HlitAnalysisSelectorIO () |
virtual Int_t | Version () const |
Returns selector version. | |
virtual void | Begin (TTree *) |
virtual void | SlaveBegin (TTree *tree) |
virtual void | Init (TTree *tree) |
virtual Bool_t | Notify () |
virtual Bool_t | Process (Long64_t entry) |
virtual Int_t | GetEntry (Long64_t entry, Int_t getall=0) |
virtual void | SlaveTerminate () |
virtual void | Terminate () |
void | SetOutputFileName (const char *of) |
Set Output filename. | |
Private Attributes | |
TTree * | fChain |
Pointer to the analyzed TTree or TChain. | |
HlitEvent * | fEvent |
Current Event. | |
TH1D * | fHistPx |
px distribution | |
TH1D * | fHistPy |
py distribution | |
TH1D * | fHistPz |
pz distribution | |
TH2D * | fHistPxPy |
px vs py distribution | |
TString | fOutputFile |
Output file name. | |
IO driven selector.
Definition at line 18 of file HlitAnalysisSelectorIO.h.
HlitAnalysisSelectorIO::HlitAnalysisSelectorIO | ( | TTree * | tree = 0 | ) |
Default constructor
Definition at line 12 of file HlitAnalysisSelectorIO.cxx.
|
virtual |
|
virtual |
First user Function called on client
Definition at line 46 of file HlitAnalysisSelectorIO.cxx.
|
virtual |
Gets entry
Definition at line 124 of file HlitAnalysisSelectorIO.cxx.
References fChain.
Referenced by Process().
|
virtual |
Intialize tree
Definition at line 27 of file HlitAnalysisSelectorIO.cxx.
|
virtual |
Notify is called when file is changed
Definition at line 37 of file HlitAnalysisSelectorIO.cxx.
References fChain.
|
virtual |
Process event with ID=entry
Definition at line 71 of file HlitAnalysisSelectorIO.cxx.
References fEvent, fHistPx, fHistPxPy, fHistPy, fHistPz, GetEntry(), HlitEvent::GetNTrack(), HlitTrack::GetPx(), HlitTrack::GetPy(), HlitTrack::GetPz(), and HlitEvent::GetTrack().
|
virtual |
|
virtual |
Last user Function called on proof worker
Definition at line 90 of file HlitAnalysisSelectorIO.cxx.
|
virtual |
Last user Function called on client
Definition at line 96 of file HlitAnalysisSelectorIO.cxx.
References fHistPx, fHistPxPy, fHistPy, fHistPz, and fOutputFile.