StructuredDetTree.h
Go to the documentation of this file.
1 /*
2  * StructuredDetTree.h
3  *
4  * Created on: Feb 18, 2021
5  * Author: chilgenb
6  */
7 
8 #ifndef GARANA_STRUCTUREDDETTREE_H_
9 #define GARANA_STRUCTUREDDETTREE_H_
10 
11 #include "garana/Base/DetTree.h"
12 
13 #include <TTree.h>
14 
15 #include <vector>
16 
17 using std::vector;
18 
19 namespace garana {
20 
21  class StructuredDetTree : public DetTree {
22 
23  public:
24 
25  //StructuredDetTree() {}
26  StructuredDetTree(TTree* tree=0);
27 
28  private:
29 
30  //pure virtual function from DetTree
31  bool SetBranchAddresses() override;
32 
33  //leaves and branches
34  /*vector<DetParticle>* fDetParticles = nullptr; ///< 'condensed' nusimdata::MCParticles from Det
35  vector<UInt_t> fDetTruthIndex = nullptr;
36 
37  TBranch* b_DetParticles = nullptr;
38  TBranch* b_DetTruthIndex = nullptr;*/
39 
40  };//class
41 }//namespace
42 #endif /* GARANA_STRUCTUREDDetTREE_H_ */
struct vector vector
bool SetBranchAddresses() override