8 #ifndef protoDUNE_validate_calib_h 9 #define protoDUNE_validate_calib_h 109 virtual void Loop(TString mn);
116 #ifdef protoDUNE_validate_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_validate_calib_cxx
virtual Int_t GetEntry(Long64_t entry)
virtual void Init(TTree *tree)
TBranch * b_stopping_trks
Float_t trkhity[30][3][3000]
TBranch * b_unbroken_trks
virtual ~protoDUNE_validate_calib()
Float_t trkdedx[30][3][3000]
Float_t trkstartcosxyz[30][3]
virtual void Show(Long64_t entry=-1)
Float_t trkhitz[30][3][3000]
Float_t trkhitx[30][3][3000]
Float_t trkresrange[30][3][3000]
virtual Long64_t LoadTree(Long64_t entry)
virtual Int_t Cut(Long64_t entry)
Int_t fCurrent
pointer to the analyzed TTree or TChain
Float_t trkpitch[30][3][3000]
Float_t trkendcosxyz[30][3]
virtual void Loop(TString mn)
TBranch * b_adjacent_hits
protoDUNE_validate_calib(TTree *tree=0)
TBranch * b_year_month_date
Int_t event
current Tree number in a TChain
TBranch * b_trkstartcosxyz
Float_t trkdqdx[30][3][3000]
Event finding and building.