115 #ifdef YZcalo_r5387_cxx 121 TFile *
f = (TFile*)gROOT->GetListOfFiles()->FindObject(
"/dune/data2/users/apaudel/prod2_calib/r5387_sce.root");
122 if (!f || !f->IsOpen()) {
123 f =
new TFile(
"/dune/data2/users/apaudel/prod2_calib/r5387_sce.root");
125 TDirectory *
dir = (TDirectory*)f->Get(
"/dune/data2/users/apaudel/prod2_calib/r5387_sce.root:/michelremoving");
126 dir->GetObject(
"Event",tree);
135 delete fChain->GetCurrentFile();
142 return fChain->GetEntry(entry);
148 Long64_t centry =
fChain->LoadTree(entry);
149 if (centry < 0)
return centry;
238 #endif // #ifdef YZcalo_r5387_cxx virtual Int_t GetEntry(Long64_t entry)
TBranch * b_year_month_date
Int_t event
current Tree number in a TChain
Float_t trkdqdx[30][3][3000]
TBranch * b_unbroken_trks
Float_t trkdedx[30][3][3000]
virtual Int_t Cut(Long64_t entry)
Float_t trkhitz[30][3][3000]
Float_t trkpitch[30][3][3000]
TBranch * b_adjacent_hits
TBranch * b_trkstartcosxyz
virtual Long64_t LoadTree(Long64_t entry)
YZcalo_r5387(TTree *tree=0)
Int_t fCurrent
pointer to the analyzed TTree or TChain
Float_t trkhity[30][3][3000]
Float_t trkstartcosxyz[30][3]
virtual void Show(Long64_t entry=-1)
virtual void Init(TTree *tree)
TBranch * b_stopping_trks
Float_t trkendcosxyz[30][3]
Float_t trkhitx[30][3][3000]
Float_t trkresrange[30][3][3000]
Event finding and building.