LCTuple  1.6.0
LCRelationBranches.h
1 #ifndef LCRelationBranches_h
2 #define LCRelationBranches_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  LCRelationBranches() {} ;
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 ~LCRelationBranches() {} ;
33 
34 
35 private:
36 
37  int _nrel ;
38  int _from[ LCT_RELATION_MAX ] ;
39  int _to [ LCT_RELATION_MAX ] ;
40  float _wgt [ LCT_RELATION_MAX ] ;
41 
42 } ;
43 
44 #endif
45 
46 
47 
LCRelationBranches holds branches created from LCRelations.
Definition: LCRelationBranches.h:22
CWBranchesSet holds a set of branches in a columnwise ntuple that are filled from one collection...
Definition: CWBranchesSet.h:20