115 TFile *
f = (TFile*)gROOT->GetListOfFiles()->FindObject(
"anatree.root");
116 if (!f || !f->IsOpen()) {
117 f =
new TFile(
"anatree.root");
119 TDirectory *
dir = (TDirectory*)f->Get(
"anatree.root:/anatree");
120 dir->GetObject(
"GArAnaTree",tree);
129 delete fChain->GetCurrentFile();
136 return fChain->GetEntry(entry);
142 Long64_t centry =
fChain->LoadTree(entry);
143 if (centry < 0)
return centry;
259 #endif // #ifdef garana_cxx virtual void Init(TTree *tree)
vector< float > * TrackStartY
virtual Int_t GetEntry(Long64_t entry)
Int_t Event
current Tree number in a TChain
virtual void Show(Long64_t entry=-1)
vector< float > * TrackStartZ
vector< float > * TrackStartPZ
vector< float > * TrackEndPY
vector< float > * TrackEndY
vector< float > * TrackEndPX
vector< float > * TrackEndPZ
vector< float > * MCPStartY
vector< float > * TrackStartX
vector< float > * TrackStartPX
virtual Int_t Cut(Long64_t entry)
vector< float > * MCPStartZ
vector< float > * TrackEndZ
vector< float > * TrackEndX
virtual Long64_t LoadTree(Long64_t entry)
vector< float > * TrackStartPY
Int_t fCurrent
pointer to the analyzed TTree or TChain
vector< float > * MCPStartX