LCTuple  1.6.0
ClusterBranches.h
1 #ifndef ClusterBranches_h
2 #define ClusterBranches_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  ClusterBranches() {} ;
27 
28  virtual void initBranches( TTree* tree, const std::string& prefix="" ) ; //const char* prefix=0) ;
29 
30  virtual void fill(const EVENT::LCCollection* col, EVENT::LCEvent* evt ) ;
31 
32  virtual ~ClusterBranches() {} ;
33 
34 
35 private:
36 
37  int _nclu ;
38  int _nsd ;
39  int _clori[ LCT_CLUSTER_MAX ] ;
40  int _cltyp[ LCT_CLUSTER_MAX ] ;
41  float _clene[ LCT_CLUSTER_MAX ] ;
42  float _cleer[ LCT_CLUSTER_MAX ] ;
43  float _clpox[ LCT_CLUSTER_MAX ] ;
44  float _clpoy[ LCT_CLUSTER_MAX ] ;
45  float _clpoz[ LCT_CLUSTER_MAX ] ;
46  float _clper[ LCT_CLUSTER_MAX ][ 6] ; // position error cov matrix
47  float _clthe[ LCT_CLUSTER_MAX ] ;
48  float _clphi[ LCT_CLUSTER_MAX ] ;
49  float _clder[ LCT_CLUSTER_MAX ][ 3] ; // direction error cov matrix
50  float _clsha[ LCT_CLUSTER_MAX ][ 6] ; // shape variable - fixed to 6 for now
51  float _clsde[ LCT_CLUSTER_MAX ][12] ; // subdetector fractions - limited to 12
52 
53  // ignored for now:
54  // EVENT::ClusterVec _clusters ;
55  // EVENT::CalorimeterHitVec _hits ;
56  // EVENT::FloatVec _weights ;
57 
58  // int _npid ;
59  // int _pityp[ LCT_PARTICLEID_MAX ] ;
60  // int _pipdg[ LCT_PARTICLEID_MAX ] ;
61  // float _pillh[ LCT_PARTICLEID_MAX ] ;
62  // int _pialg[ LCT_PARTICLEID_MAX ] ;
63 
64 } ;
65 
66 #endif
67 
68 
69 
Base class for branches of collections.
Definition: CollectionBranches.h:23
ClusterBranches holds branches created from a Cluster collection.
Definition: ClusterBranches.h:22