8 #ifndef FlashMatchAnalysis_h 9 #define FlashMatchAnalysis_h 88 #ifdef FlashMatchAnalysis_cxx 94 TFile *
f = (TFile*)gROOT->GetListOfFiles()->FindObject(
"dune1x2x6_optical_tutorial_flashmatch_hist.root");
95 if (!f || !f->IsOpen()) {
96 f =
new TFile(
"dune1x2x6_optical_tutorial_flashmatch_hist.root");
98 TDirectory *
dir = (TDirectory*)f->Get(
"dune1x2x6_optical_tutorial_flashmatch_hist.root:/flashmatch");
99 dir->GetObject(
"FlashMatchTree",tree);
108 delete fChain->GetCurrentFile();
115 return fChain->GetEntry(entry);
121 Long64_t centry =
fChain->LoadTree(entry);
122 if (centry < 0)
return centry;
209 #endif // #ifdef FlashMatchAnalysis_cxx virtual Int_t Cut(Long64_t entry)
TBranch * b_TimeWidthVector
vector< float > * TimeWidthVector
Int_t EventID
current Tree number in a TChain
vector< int > * FlashIDVector
TBranch * b_FlashIDVector
virtual ~FlashMatchAnalysis()
vector< float > * YCenterVector
Int_t fCurrent
pointer to the analyzed TTree or TChain
vector< float > * TimeDiffVector
vector< float > * ZCenterVector
vector< float > * TotalPEVector
vector< float > * YWidthVector
vector< int > * NHitOpDetVector
TBranch * b_TimeDiffVector
TBranch * b_ZCenterVector
TBranch * b_YCenterVector
vector< float > * TimeVector
FlashMatchAnalysis(TTree *tree=0)
virtual void Init(TTree *tree)
virtual Long64_t LoadTree(Long64_t entry)
TBranch * b_NHitOpDetVector
virtual void Show(Long64_t entry=-1)
virtual Int_t GetEntry(Long64_t entry)
vector< float > * ZWidthVector
TBranch * b_TotalPEVector