LCTuple  1.6.0
VertexBranches.h
1 #ifndef VertexBranches_h
2 #define VertexBranches_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 
22 
23 public:
24  VertexBranches() {} ;
25  virtual void initBranches( TTree* tree, const std::string& prefix="" ) ; //const char* prefix=0) ;
26  virtual void fill(const EVENT::LCCollection* col, EVENT::LCEvent* evt ) ;
27  virtual ~VertexBranches() {} ;
28 
29 private:
30  int _nvt ;
31  int _vtori[ LCT_VERTEX_MAX ] ;
32  int _vtpri[ LCT_VERTEX_MAX ] ;
33  char _vttyp[ LCT_VERTEX_MAX ][LCT_STRING_MAX] ; //holds the algorithm type used for vertex finding
34 
35  float _vtxxx[ LCT_VERTEX_MAX ] ;
36  float _vtyyy[ LCT_VERTEX_MAX ] ;
37  float _vtzzz[ LCT_VERTEX_MAX ] ;
38  float _vtchi[ LCT_VERTEX_MAX ] ;
39  float _vtprb[ LCT_VERTEX_MAX ] ;
40 
41  int _vtrpl[ LCT_VERTEX_MAX ] ; //reco particle link
42 
43  float _vtcov[ LCT_VERTEX_MAX ][6] ;
44  float _vtpar[ LCT_VERTEX_MAX ][6] ; //arbitrary value -- has to be checked if enough fields
45 } ;
46 
47 #endif
48 
49 
50 
Base class for branches of collections.
Definition: CollectionBranches.h:23
VertexBranches holds branches created from VertexCollection.
Definition: VertexBranches.h:21