BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
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 ( )

◆ ~TBossFullEvent()

TBossFullEvent::~TBossFullEvent ( )
virtual

Definition at line 25 of file TBossFullEvent.cxx.

Member Function Documentation

◆ copy()

void TBossFullEvent::copy ( TBossFullEvent obj)

Definition at line 60 of file TBossFullEvent.cxx.

61{
62 m_mask = obj->m_mask;
64 m_digiEvt = obj->m_digiEvt;
65 m_dstEvt = obj->m_dstEvt;
66 m_mcEvt = obj->m_mcEvt;
67 m_trigEvt = obj->m_trigEvt;
68 m_hltEvt = obj->m_hltEvt;
71}

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 42 of file TBossFullEvent.cxx.

43{
44 std::cout << "=============================================" << std::endl
45 << "TBossFullEvent mask: 0x" << std::hex << m_mask << std::dec << std::endl
46 << "---------------------------------------------" << std::endl;
47
48 SafePrintObject(EvtHeader, m_EvtHeader);
54 SafePrintObject(RecTrackEvent, m_rectrackEvt);
56
57 std::cout << "=============================================" << std::endl;
58}
#define SafePrintObject(ObjType, var)

◆ reset()

void TBossFullEvent::reset ( )
inline

Definition at line 25 of file TBossFullEvent.h.

25{ m_mask = 0; }

Referenced by EventWriter::execute(), and 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

◆ 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 }

Referenced by EventWriter::execute().

Member Data Documentation

◆ m_digiEvt

TDigiEvent* TBossFullEvent::m_digiEvt

◆ m_dstEvt

TDstEvent* TBossFullEvent::m_dstEvt

◆ m_EvtHeader

TEvtHeader* TBossFullEvent::m_EvtHeader

◆ m_evtRecObject

TEvtRecObject* TBossFullEvent::m_evtRecObject

◆ m_hltEvt

THltEvent* TBossFullEvent::m_hltEvt

◆ m_mcEvt

TMcEvent* TBossFullEvent::m_mcEvt

◆ m_rectrackEvt

TRecTrackEvent* TBossFullEvent::m_rectrackEvt

◆ m_trigEvt

TTrigEvent* TBossFullEvent::m_trigEvt

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