LCTuple  1.6.0
CalorimeterHitBranches.h
1 #ifndef CalorimeterHitBranches_h
2 #define CalorimeterHitBranches_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 
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 ~CalorimeterHitBranches() {} ;
33 
34 
35 private:
36 
37  int _ncah ;
38 
39  int _caori[ LCT_CALORIMETERHIT_MAX ] ;
40 
41  int _caci0[ LCT_CALORIMETERHIT_MAX ] ;
42  int _caci1[ LCT_CALORIMETERHIT_MAX ] ;
43  float _capox[ LCT_CALORIMETERHIT_MAX ] ;
44  float _capoy[ LCT_CALORIMETERHIT_MAX ] ;
45  float _capoz[ LCT_CALORIMETERHIT_MAX ] ;
46  float _caene[ LCT_CALORIMETERHIT_MAX ] ;
47 
48 } ;
49 
50 #endif
51 
52 
53 
Base class for branches of collections.
Definition: CollectionBranches.h:23
CalorimeterHitBranches holds branches created from LCRelations.
Definition: CalorimeterHitBranches.h:22