CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TBossFullEvent.h
Go to the documentation of this file.
1#ifndef ROOT_TBossFullEvent_H
2#define ROOT_TBossFullEvent_H
3
4#include "TEvtHeader.h"
5#include "TDigiEvent.h"
6#include "TDstEvent.h"
7#include "TMcEvent.h"
8#include "TTrigEvent.h"
9#include "THltEvent.h"
10#include "TRecTrackEvent.h"
11#include "TEvtRecObject.h"
12#include "TObject.h"
13
14class TBossFullEvent : public TObject
15{
16 public :
17
19 virtual ~TBossFullEvent();
20
21 void Print(Option_t *option="") const;
22
23 void copy(TBossFullEvent* obj);
24
25 void reset() { m_mask = 0; }
26
28 if ( obj != 0 ) {
29 m_mask |= hasEvtHeader;
30 m_EvtHeader = obj;
31 }
32 }
33
35 if ( obj != 0 ) {
36 m_mask |= hasDigiEvent;
37 m_digiEvt = obj;
38 }
39 }
40
42 if ( obj != 0 ) {
43 m_mask |= hasDstEvent;
44 m_dstEvt = obj;
45 }
46 }
47
48 void setMcEvent(TMcEvent* obj) {
49 if ( obj != 0 ) {
50 m_mask |= hasMcEvent;
51 m_mcEvt = obj;
52 }
53 }
54
56 if ( obj != 0 ) {
57 m_mask |= hasTrigEvent;
58 m_trigEvt = obj;
59 }
60 }
61
63 if ( obj != 0 ) {
64 m_mask |= hasHltEvent;
65 m_hltEvt = obj;
66 }
67 }
68
70 if ( obj != 0 ) {
71 m_mask |= hasRecTrackEvent;
72 m_rectrackEvt = obj;
73 }
74 }
75
77 if ( obj != 0 ) {
78 m_mask |= hasEvtRecObject;
79 m_evtRecObject = obj;
80 }
81 }
82
83
92
93
94 private :
95
96 enum {
97 hasEvtHeader = 1<<0,
98 hasDigiEvent = 1<<1,
99 hasDstEvent = 1<<2,
100 hasMcEvent = 1<<3,
101 hasTrigEvent = 1<<4,
102 hasHltEvent = 1<<5,
103 hasRecTrackEvent = 1<<6,
104 hasEvtRecObject = 1<<7
105 };
106
107 UInt_t m_mask;
108
109
110 public :
111
120
121
122 private :
123
124 ClassDef(TBossFullEvent, 1)
125};
126
127#endif
#define private
TRecTrackEvent * getRecTrackEvent()
void setHltEvent(THltEvent *obj)
void setTrigEvent(TTrigEvent *obj)
TEvtRecObject * getEvtRecObject()
TMcEvent * getMcEvent()
void setDigiEvent(TDigiEvent *obj)
TRecTrackEvent * m_rectrackEvt
TEvtHeader * getEvtHeader()
void setEvtRecObject(TEvtRecObject *obj)
void setMcEvent(TMcEvent *obj)
void setRecTrackEvent(TRecTrackEvent *obj)
THltEvent * m_hltEvt
void setDstEvent(TDstEvent *obj)
virtual ~TBossFullEvent()
TTrigEvent * getTrigEvent()
TDstEvent * getDstEvent()
TDstEvent * m_dstEvt
TEvtRecObject * m_evtRecObject
TDigiEvent * m_digiEvt
TTrigEvent * m_trigEvt
void Print(Option_t *option="") const
THltEvent * getHltEvent()
TDigiEvent * getDigiEvent()
TMcEvent * m_mcEvt
void setEvtHeader(TEvtHeader *obj)
void copy(TBossFullEvent *obj)
TEvtHeader * m_EvtHeader