StructuredDisplayTree.cxx
Go to the documentation of this file.
1 /*
2  * StructuredDisplayTree.cxx
3  *
4  * Created on: Feb 18, 2021
5  * Author: chilgenb
6  */
7 
9 
10 using namespace garana;
11 
13  SetupRead(tree); //initialize tree pointer in TreeReader instance and set branch address
14 }
15 
17  fTreeIn->SetBranchAddress("Event", &fEvent, &b_Event);
18  //fTreeIn->SetBranchAddress("MCTracks", "vector<MCDisplayTrack>", &fMCDisplay);
19  /*if(fAnaMode!="readout"){
20  fDisplayTree->Branch("RecoTracks", "vector<adp::AnaTrack>", &fRecoDisplay);
21  }*/
22 
23 
24 
25  return true;
26 }
TTree * fTreeIn
pointer to the analyzed TTree or TChain
Definition: TreeReader.h:51
TBranch * b_Event
Definition: TreeReader.h:54
void SetupRead(TTree *tree)
Definition: TreeReader.cxx:6
Int_t fEvent
event number for tree entry
Definition: TreeReader.h:55