LCTuple  1.6.0
EventBranches.h
1 #ifndef EventBranches_h
2 #define EventBranches_h 1
3 
4 #include "LCTupleConf.h"
5 
6 #include "CWBranchesSet.h"
7 
8 
9 class TTree ;
10 
11 namespace EVENT{
12  class LCCollection ;
13  class LCCEvent ;
14 }
15 
22 class EventBranches : public CWBranchesSet {
23 
24 public:
25 
26  EventBranches() {} ;
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 ~EventBranches() {} ;
33 
34 
35 private:
36 
37  int _evevt ;
38  int _evrun ;
39  float _evwgt ;
40  long _evtim ;
41  float _evsig ;
42  float _evene ;
43  float _evpoe ;
44  float _evpop ;
45  int _evnch ;
46  char _evpro[LCT_STRING_MAX] ;
47 } ;
48 
49 #endif
50 
51 
52 
EventBranches holds branches with data from LCEvent.
Definition: EventBranches.h:22
CWBranchesSet holds a set of branches in a columnwise ntuple that are filled from one collection...
Definition: CWBranchesSet.h:20