LCTuple  1.6.0
TrackerHitBranches.h
1 #ifndef TrackerHitBranches_h
2 #define TrackerHitBranches_h 1
3 
4 #include "LCTupleConf.h"
5 
6 #include "CollectionBranches.h"
7 
8 
9 class TTree ;
10 
11 namespace EVENT{
12  class LCCollection ;
13  class LCCEvent ;
14 }
15 
23 
24 public:
25 
26  TrackerHitBranches() {} ;
27 
28  virtual void initBranches( TTree* tree, const std::string& prefix="" ) ;
29 
30  virtual void fill(const EVENT::LCCollection* col, EVENT::LCEvent* evt ) ;
31 
32  virtual ~TrackerHitBranches() {} ;
33 
34 
35 private:
36 
37  int _ntrh ;
38  int _thori[ LCT_TRACKERHIT_MAX ] ;
39  int _thci0[ LCT_TRACKERHIT_MAX ] ;
40  int _thci1[ LCT_TRACKERHIT_MAX ] ;
41  double _thpox[ LCT_TRACKERHIT_MAX ] ;
42  double _thpoy[ LCT_TRACKERHIT_MAX ] ;
43  double _thpoz[ LCT_TRACKERHIT_MAX ] ;
44  float _thedp[ LCT_TRACKERHIT_MAX ] ;
45  float _thtim[ LCT_TRACKERHIT_MAX ] ;
46 
47  float _thcov[ LCT_TRACKERHIT_MAX ][6] ;
48 
49  float _thtyp[ LCT_TRACKERHIT_MAX ] ;
50  float _thqua[ LCT_TRACKERHIT_MAX ] ;
51  float _thede[ LCT_TRACKERHIT_MAX ] ;
52 
53 } ;
54 
55 #endif
56 
57 
58 
Base class for branches of collections.
Definition: CollectionBranches.h:23
TrackerHitBranches holds branches created from LCRelations.
Definition: TrackerHitBranches.h:22