BOSS 7.1.3
BESIII Offline Software System
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TBossFullEvent Class Reference

#include <TBossFullEvent.h>

+ Inheritance diagram for TBossFullEvent:

Public Member Functions

 TBossFullEvent ()
 
virtual ~TBossFullEvent ()
 
void Print (Option_t *option="") const
 
void copy (TBossFullEvent *obj)
 
void reset ()
 
void setEvtHeader (TEvtHeader *obj)
 
void setDigiEvent (TDigiEvent *obj)
 
void setDstEvent (TDstEvent *obj)
 
void setMcEvent (TMcEvent *obj)
 
void setTrigEvent (TTrigEvent *obj)
 
void setHltEvent (THltEvent *obj)
 
void setRecTrackEvent (TRecTrackEvent *obj)
 
void setEvtRecObject (TEvtRecObject *obj)
 
TEvtHeadergetEvtHeader ()
 
TDigiEventgetDigiEvent ()
 
TDstEventgetDstEvent ()
 
TMcEventgetMcEvent ()
 
TTrigEventgetTrigEvent ()
 
THltEventgetHltEvent ()
 
TRecTrackEventgetRecTrackEvent ()
 
TEvtRecObjectgetEvtRecObject ()
 

Public Attributes

TEvtHeaderm_EvtHeader
 
TDigiEventm_digiEvt
 
TDstEventm_dstEvt
 
TMcEventm_mcEvt
 
TTrigEventm_trigEvt
 
THltEventm_hltEvt
 
TRecTrackEventm_rectrackEvt
 
TEvtRecObjectm_evtRecObject
 

Detailed Description

Definition at line 14 of file TBossFullEvent.h.

Constructor & Destructor Documentation

◆ TBossFullEvent()

TBossFullEvent::TBossFullEvent ( )

Referenced by copy(), and TBossFullEvent().

◆ ~TBossFullEvent()

TBossFullEvent::~TBossFullEvent ( )
virtual

Definition at line 26 of file TBossFullEvent.cxx.

27{
28 SafeDeleteObject(EvtHeader, m_EvtHeader);
29 SafeDeleteObject(DigiEvent, m_digiEvt);
30 SafeDeleteObject(DstEvent, m_dstEvt);
31 SafeDeleteObject(McEvent, m_mcEvt);
32 SafeDeleteObject(TrigEvent, m_trigEvt);
33 SafeDeleteObject(HltEvent, m_hltEvt);
34 SafeDeleteObject(RecTrackEvent, m_rectrackEvt);
35 SafeDeleteObject(EvtRecObject, m_evtRecObject);
36}
#define SafeDeleteObject(ObjType, var)
TRecTrackEvent * m_rectrackEvt
THltEvent * m_hltEvt
TDstEvent * m_dstEvt
TEvtRecObject * m_evtRecObject
TDigiEvent * m_digiEvt
TTrigEvent * m_trigEvt
TMcEvent * m_mcEvt
TEvtHeader * m_EvtHeader

Member Function Documentation

◆ copy()

void TBossFullEvent::copy ( TBossFullEvent * obj)

Definition at line 61 of file TBossFullEvent.cxx.

62{
63 m_mask = obj->m_mask;
65 m_digiEvt = obj->m_digiEvt;
66 m_dstEvt = obj->m_dstEvt;
67 m_mcEvt = obj->m_mcEvt;
68 m_trigEvt = obj->m_trigEvt;
69 m_hltEvt = obj->m_hltEvt;
72}

Referenced by RootFileWriter::writeEvent().

◆ getDigiEvent()

TDigiEvent * TBossFullEvent::getDigiEvent ( )
inline

Definition at line 85 of file TBossFullEvent.h.

85{ return m_digiEvt; }

◆ getDstEvent()

TDstEvent * TBossFullEvent::getDstEvent ( )
inline

Definition at line 86 of file TBossFullEvent.h.

86{ return m_dstEvt; }

◆ getEvtHeader()

TEvtHeader * TBossFullEvent::getEvtHeader ( )
inline

Definition at line 84 of file TBossFullEvent.h.

84{ return m_EvtHeader; }

◆ getEvtRecObject()

TEvtRecObject * TBossFullEvent::getEvtRecObject ( )
inline

Definition at line 91 of file TBossFullEvent.h.

91{ return m_evtRecObject; }

◆ getHltEvent()

THltEvent * TBossFullEvent::getHltEvent ( )
inline

Definition at line 89 of file TBossFullEvent.h.

89{ return m_hltEvt; }

◆ getMcEvent()

TMcEvent * TBossFullEvent::getMcEvent ( )
inline

Definition at line 87 of file TBossFullEvent.h.

87{ return m_mcEvt; }

◆ getRecTrackEvent()

TRecTrackEvent * TBossFullEvent::getRecTrackEvent ( )
inline

Definition at line 90 of file TBossFullEvent.h.

90{ return m_rectrackEvt; }

◆ getTrigEvent()

TTrigEvent * TBossFullEvent::getTrigEvent ( )
inline

Definition at line 88 of file TBossFullEvent.h.

88{ return m_trigEvt; }

◆ Print()

void TBossFullEvent::Print ( Option_t * option = "") const

Definition at line 43 of file TBossFullEvent.cxx.

44{
45 std::cout << "=============================================" << std::endl
46 << "TBossFullEvent mask: 0x" << std::hex << m_mask << std::dec << std::endl
47 << "---------------------------------------------" << std::endl;
48
49 SafePrintObject(EvtHeader, m_EvtHeader);
50 SafePrintObject(DigiEvent, m_digiEvt);
51 SafePrintObject(DstEvent, m_dstEvt);
52 SafePrintObject(McEvent, m_mcEvt);
53 SafePrintObject(TrigEvent, m_trigEvt);
54 SafePrintObject(HltEvent, m_hltEvt);
55 SafePrintObject(RecTrackEvent, m_rectrackEvt);
56 SafePrintObject(EvtRecObject, m_evtRecObject);
57
58 std::cout << "=============================================" << std::endl;
59}
#define SafePrintObject(ObjType, var)

◆ reset()

void TBossFullEvent::reset ( )
inline

Definition at line 25 of file TBossFullEvent.h.

25{ m_mask = 0; }

Referenced by RootFileWriter::writeEvent().

◆ setDigiEvent()

void TBossFullEvent::setDigiEvent ( TDigiEvent * obj)
inline

Definition at line 34 of file TBossFullEvent.h.

34 {
35 if ( obj != 0 ) {
36 m_mask |= hasDigiEvent;
37 m_digiEvt = obj;
38 }
39 }

◆ setDstEvent()

void TBossFullEvent::setDstEvent ( TDstEvent * obj)
inline

Definition at line 41 of file TBossFullEvent.h.

41 {
42 if ( obj != 0 ) {
43 m_mask |= hasDstEvent;
44 m_dstEvt = obj;
45 }
46 }

◆ setEvtHeader()

void TBossFullEvent::setEvtHeader ( TEvtHeader * obj)
inline

Definition at line 27 of file TBossFullEvent.h.

27 {
28 if ( obj != 0 ) {
29 m_mask |= hasEvtHeader;
30 m_EvtHeader = obj;
31 }
32 }

◆ setEvtRecObject()

void TBossFullEvent::setEvtRecObject ( TEvtRecObject * obj)
inline

Definition at line 76 of file TBossFullEvent.h.

76 {
77 if ( obj != 0 ) {
78 m_mask |= hasEvtRecObject;
79 m_evtRecObject = obj;
80 }
81 }

◆ setHltEvent()

void TBossFullEvent::setHltEvent ( THltEvent * obj)
inline

Definition at line 62 of file TBossFullEvent.h.

62 {
63 if ( obj != 0 ) {
64 m_mask |= hasHltEvent;
65 m_hltEvt = obj;
66 }
67 }

◆ setMcEvent()

void TBossFullEvent::setMcEvent ( TMcEvent * obj)
inline

Definition at line 48 of file TBossFullEvent.h.

48 {
49 if ( obj != 0 ) {
50 m_mask |= hasMcEvent;
51 m_mcEvt = obj;
52 }
53 }

◆ setRecTrackEvent()

void TBossFullEvent::setRecTrackEvent ( TRecTrackEvent * obj)
inline

Definition at line 69 of file TBossFullEvent.h.

69 {
70 if ( obj != 0 ) {
71 m_mask |= hasRecTrackEvent;
72 m_rectrackEvt = obj;
73 }
74 }

◆ setTrigEvent()

void TBossFullEvent::setTrigEvent ( TTrigEvent * obj)
inline

Definition at line 55 of file TBossFullEvent.h.

55 {
56 if ( obj != 0 ) {
57 m_mask |= hasTrigEvent;
58 m_trigEvt = obj;
59 }
60 }

Member Data Documentation

◆ m_digiEvt

TDigiEvent* TBossFullEvent::m_digiEvt

Definition at line 113 of file TBossFullEvent.h.

Referenced by copy(), getDigiEvent(), Print(), setDigiEvent(), and ~TBossFullEvent().

◆ m_dstEvt

TDstEvent* TBossFullEvent::m_dstEvt

Definition at line 114 of file TBossFullEvent.h.

Referenced by copy(), getDstEvent(), Print(), setDstEvent(), and ~TBossFullEvent().

◆ m_EvtHeader

TEvtHeader* TBossFullEvent::m_EvtHeader

Definition at line 112 of file TBossFullEvent.h.

Referenced by copy(), getEvtHeader(), Print(), setEvtHeader(), and ~TBossFullEvent().

◆ m_evtRecObject

TEvtRecObject* TBossFullEvent::m_evtRecObject

Definition at line 119 of file TBossFullEvent.h.

Referenced by copy(), getEvtRecObject(), Print(), setEvtRecObject(), and ~TBossFullEvent().

◆ m_hltEvt

THltEvent* TBossFullEvent::m_hltEvt

Definition at line 117 of file TBossFullEvent.h.

Referenced by copy(), getHltEvent(), Print(), setHltEvent(), and ~TBossFullEvent().

◆ m_mcEvt

TMcEvent* TBossFullEvent::m_mcEvt

Definition at line 115 of file TBossFullEvent.h.

Referenced by copy(), getMcEvent(), Print(), setMcEvent(), and ~TBossFullEvent().

◆ m_rectrackEvt

TRecTrackEvent* TBossFullEvent::m_rectrackEvt

Definition at line 118 of file TBossFullEvent.h.

Referenced by copy(), getRecTrackEvent(), Print(), setRecTrackEvent(), and ~TBossFullEvent().

◆ m_trigEvt

TTrigEvent* TBossFullEvent::m_trigEvt

Definition at line 116 of file TBossFullEvent.h.

Referenced by copy(), getTrigEvent(), Print(), setTrigEvent(), and ~TBossFullEvent().


The documentation for this class was generated from the following files: