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