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