8 #ifndef protoDUNE_YZ_calib_h 9 #define protoDUNE_YZ_calib_h 110 virtual void Loop(TString mn);
117 #ifdef protoDUNE_YZ_calib_cxx 123 TFile *
f = (TFile*)gROOT->GetListOfFiles()->FindObject(
"/dune/data2/users/apaudel/prod2_calib/r5387_sce.root");
124 if (!f || !f->IsOpen()) {
125 f =
new TFile(
"/dune/data2/users/apaudel/prod2_calib/r5387_sce.root");
127 TDirectory *
dir = (TDirectory*)f->Get(
"/dune/data2/users/apaudel/prod2_calib/r5387_sce.root:/michelremoving");
128 dir->GetObject(
"Event",tree);
137 delete fChain->GetCurrentFile();
144 return fChain->GetEntry(entry);
150 Long64_t centry =
fChain->LoadTree(entry);
151 if (centry < 0)
return centry;
240 #endif // #ifdef protoDUNE_YZ_calib_cxx
Float_t trkhitx[30][3][3000]
virtual void Loop(TString mn)
virtual void Init(TTree *tree)
virtual Int_t GetEntry(Long64_t entry)
Float_t trkdqdx[30][3][3000]
protoDUNE_YZ_calib(TTree *tree=0)
Float_t trkpitch[30][3][3000]
Float_t trkresrange[30][3][3000]
TBranch * b_unbroken_trks
Int_t event
current Tree number in a TChain
TBranch * b_trkstartcosxyz
Float_t trkhity[30][3][3000]
Float_t trkdedx[30][3][3000]
Float_t trkendcosxyz[30][3]
Int_t fCurrent
pointer to the analyzed TTree or TChain
TBranch * b_year_month_date
Float_t trkstartcosxyz[30][3]
Float_t trkhitz[30][3][3000]
TBranch * b_adjacent_hits
virtual void Show(Long64_t entry=-1)
virtual Long64_t LoadTree(Long64_t entry)
virtual Int_t Cut(Long64_t entry)
TBranch * b_stopping_trks
virtual ~protoDUNE_YZ_calib()
Event finding and building.