25 #include "dk2nu/tree/dk2nu.h" 86 std::vector<std::string> fFileVec;
88 fFileVec.push_back(
"/pnfs/dune/persistent/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017/neutrino/flux/dk2nu/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_neutrino_00250.dk2nu.root")
94 fChain =
new TChain(ntuple_name.c_str());
97 fChain -> Add(sit -> c_str());
103 rand3 =
new TRandom3(0);
110 delete fChain->GetCurrentFile();
117 return fChain->GetEntry(entry);
123 Long64_t centry =
fChain->LoadTree(entry);
124 if (centry < 0)
return centry;
125 if (!
fChain->InheritsFrom(TChain::Class()))
return centry;
126 TChain *chain = (TChain*)
fChain;
127 if (chain->GetTreeNumber() !=
fCurrent) {
148 dk2nu =
new bsim::Dk2Nu;
180 #endif // #ifdef eventRates_cxx
virtual void Init(TTree *tree)
virtual Int_t Cut(Long64_t entry)
virtual Long64_t LoadTree(Long64_t entry)
Int_t fCurrent
pointer to the analyzed TTree or TChain
Double_t fTotalPOT
current Tree number in a TChain
virtual void Show(Long64_t entry=-1)
virtual Int_t GetEntry(Long64_t entry)