LCTuple  1.6.0
SimCalorimeterHitBranches.h
1 #ifndef SimCalorimeterHitBranches_h
2 #define SimCalorimeterHitBranches_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 ~SimCalorimeterHitBranches() {} ;
33 
34 
35 private:
36 
37  int _nsch ;
38 
39  int _scori[ LCT_SIMCALORIMETERHIT_MAX ] ;
40 
41  int _scci0[ LCT_SIMCALORIMETERHIT_MAX ] ;
42  int _scci1[ LCT_SIMCALORIMETERHIT_MAX ] ;
43  float _scpox[ LCT_SIMCALORIMETERHIT_MAX ] ;
44  float _scpoy[ LCT_SIMCALORIMETERHIT_MAX ] ;
45  float _scpoz[ LCT_SIMCALORIMETERHIT_MAX ] ;
46  float _scene[ LCT_SIMCALORIMETERHIT_MAX ] ;
47 
48 } ;
49 
50 #endif
51 
52 
53 
Base class for branches of collections.
Definition: CollectionBranches.h:23
SimCalorimeterHitBranches holds branches created from LCRelations.
Definition: SimCalorimeterHitBranches.h:22