LCTuple  1.6.0
RecoParticleBranches.h
1 #ifndef RecoParticleBranches_h
2 #define RecoParticleBranches_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="" ) ; //const char* prefix=0) ;
29 
30  virtual void fill(const EVENT::LCCollection* col, EVENT::LCEvent* evt ) ;
31 
32  virtual ~RecoParticleBranches() {} ;
33 
34 
35 private:
36 
37  int _nrec ;
38  int _rcori[ LCT_RECOPARTICLE_MAX ] ;
39  int _rccid[ LCT_RECOPARTICLE_MAX ] ;
40  int _rctyp[ LCT_RECOPARTICLE_MAX ] ;
41  float _rccov[ LCT_RECOPARTICLE_MAX ][10] ;
42  float _rcrpx[ LCT_RECOPARTICLE_MAX ] ;
43  float _rcrpy[ LCT_RECOPARTICLE_MAX ] ;
44  float _rcrpz[ LCT_RECOPARTICLE_MAX ] ;
45  float _rcgpi[ LCT_RECOPARTICLE_MAX ] ;
46  int _rcpiu[ LCT_RECOPARTICLE_MAX ] ;
47  int _rcnpi[ LCT_RECOPARTICLE_MAX ] ;
48  int _rcfpi[ LCT_RECOPARTICLE_MAX ] ;
49  float _rcmox[ LCT_RECOPARTICLE_MAX ] ;
50  float _rcmoy[ LCT_RECOPARTICLE_MAX ] ;
51  float _rcmoz[ LCT_RECOPARTICLE_MAX ] ;
52  float _rcmas[ LCT_RECOPARTICLE_MAX ] ;
53  float _rcene[ LCT_RECOPARTICLE_MAX ] ;
54  float _rccha[ LCT_RECOPARTICLE_MAX ] ;
55  int _rcntr[ LCT_RECOPARTICLE_MAX ] ;
56  int _rcncl[ LCT_RECOPARTICLE_MAX ] ;
57  int _rcftr[ LCT_RECOPARTICLE_MAX ] ;
58 
59  int _rcvts[ LCT_RECOPARTICLE_MAX ] ;
60  int _rcvte[ LCT_RECOPARTICLE_MAX ] ;
61  int _rccom[ LCT_RECOPARTICLE_MAX ] ;
62 
63  int _npid ;
64  int _pityp[ LCT_PARTICLEID_MAX ] ;
65  int _pipdg[ LCT_PARTICLEID_MAX ] ;
66  float _pillh[ LCT_PARTICLEID_MAX ] ;
67  int _pialg[ LCT_PARTICLEID_MAX ] ;
68 
69  // EVENT::ReconstructedParticleVec _particles ;
70  // EVENT::ClusterVec _clusters ;
71  // EVENT::TrackVec _tracks ;
72 
73 
74 } ;
75 
76 #endif
77 
78 
79 
Base class for branches of collections.
Definition: CollectionBranches.h:23
RecoParticleBranches holds branches created from a ReconstructedParticle collection.
Definition: RecoParticleBranches.h:22