#include <ancestor.h>
Definition at line 28 of file ancestor.h.
Definition at line 63 of file studyAncestorsL.cc.
81 std::vector<std::string> fFileVec;
83 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00250.dk2nu.root");
84 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00249.dk2nu.root");
85 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00248.dk2nu.root");
86 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00247.dk2nu.root");
87 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00246.dk2nu.root");
88 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00245.dk2nu.root");
89 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00244.dk2nu.root");
90 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00243.dk2nu.root");
91 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00242.dk2nu.root");
92 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00241.dk2nu.root");
93 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_NoSnout_neutrino_00240.dk2nu.root");
94 fFileVec.push_back(
"/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/v3r5p4/QGSP_BERT/OptimizedEngineeredNov2017_NoSnout/neutrino/flux/g4lbne_v3r5p4_QGSP_BERT_OptimizedEngineeredNov2017_neutrino_00239.dk2nu.root");
100 fChain =
new TChain(ntuple_name.c_str());
103 fChain -> Add(sit -> c_str());
109 rand3 =
new TRandom3(0);
virtual void Init(TTree *tree)
virtual ancestor::~ancestor |
( |
| ) |
|
|
virtual |
virtual Int_t ancestor::Cut |
( |
Long64_t |
entry | ) |
|
|
virtual |
Int_t ancestor::Cut |
( |
Long64_t |
entry | ) |
|
|
virtual |
virtual Int_t ancestor::GetEntry |
( |
Long64_t |
entry | ) |
|
|
virtual |
Int_t ancestor::GetEntry |
( |
Long64_t |
entry | ) |
|
|
virtual |
virtual void ancestor::Init |
( |
TTree * |
tree | ) |
|
|
virtual |
void ancestor::Init |
( |
TTree * |
tree | ) |
|
|
virtual |
Definition at line 140 of file studyAncestorsL.cc.
154 dk2nu =
new bsim::Dk2Nu;
Int_t fCurrent
pointer to the analyzed TTree or TChain
virtual Long64_t ancestor::LoadTree |
( |
Long64_t |
entry | ) |
|
|
virtual |
Long64_t ancestor::LoadTree |
( |
Long64_t |
entry | ) |
|
|
virtual |
Definition at line 125 of file studyAncestorsL.cc.
130 if (centry < 0)
return centry;
131 if (!
fChain->InheritsFrom(TChain::Class()))
return centry;
132 TChain *chain = (TChain*)
fChain;
133 if (chain->GetTreeNumber() !=
fCurrent) {
Int_t fCurrent
pointer to the analyzed TTree or TChain
virtual void ancestor::Loop |
( |
| ) |
|
|
virtual |
Definition at line 28 of file ancestorL.cc.
32 dk2nu =
new bsim::Dk2Nu;
36 Long64_t nentries =
fChain->GetEntries();
37 std::cout <<
"Total number of Entries = " << nentries <<
std::endl;
39 for (Long64_t jentry=0; jentry<nentries;jentry++)
44 if(
iread % 10000 == 0)
50 Nimpwt =
dk2nu->decay.nimpwt;
51 Ntype =
dk2nu->decay.ntype;
QTextStream & endl(QTextStream &s)
virtual Bool_t ancestor::Notify |
( |
| ) |
|
|
virtual |
Bool_t ancestor::Notify |
( |
| ) |
|
|
virtual |
virtual void ancestor::Show |
( |
Long64_t |
entry = -1 | ) |
|
|
virtual |
void ancestor::Show |
( |
Long64_t |
entry = -1 | ) |
|
|
virtual |
bsim::Dk2Nu * ancestor::dk2nu |
TChain * ancestor::fChain |
pointer to the analyzed TTree or TChain
Definition at line 33 of file ancestor.h.
Double_t ancestor::fTotalPOT |
current Tree number in a TChain
Definition at line 35 of file ancestor.h.
TRandom3 * ancestor::rand3 |
The documentation for this class was generated from the following files: