CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TBossFullEvent.cxx File Reference
#include "RootEventData/TBossFullEvent.h"
#include "TClass.h"
#include <iostream>

Go to the source code of this file.

Macros

#define SafeDeleteObject(ObjType, var)
 
#define SafePrintObject(ObjType, var)
 
#define SafeReadObject(ObjType, var)
 
#define SafeWriteObject(ObjType, var)
 

Functions

 ClassImp (TBossFullEvent) TBossFullEvent
 

Macro Definition Documentation

◆ SafeDeleteObject

#define SafeDeleteObject ( ObjType,
var )
Value:
if ( m_mask & has##ObjType ) { \
delete var; \
}

Definition at line 20 of file TBossFullEvent.cxx.

20#define SafeDeleteObject(ObjType, var) \
21 if ( m_mask & has##ObjType ) { \
22 delete var; \
23 }

Referenced by TBossFullEvent::~TBossFullEvent().

◆ SafePrintObject

#define SafePrintObject ( ObjType,
var )
Value:
if ( m_mask & has##ObjType ) { \
var->Print(); \
}

Definition at line 37 of file TBossFullEvent.cxx.

37#define SafePrintObject(ObjType, var) \
38 if ( m_mask & has##ObjType ) { \
39 var->Print(); \
40 }

Referenced by TBossFullEvent::Print().

◆ SafeReadObject

#define SafeReadObject ( ObjType,
var )
Value:
if ( m_mask & has##ObjType ) { \
var = (T##ObjType*)R__b.ReadObject(T##ObjType::Class()); \
}

Definition at line 73 of file TBossFullEvent.cxx.

73#define SafeReadObject(ObjType, var) \
74 if ( m_mask & has##ObjType ) { \
75 var = (T##ObjType*)R__b.ReadObject(T##ObjType::Class()); \
76 }

◆ SafeWriteObject

#define SafeWriteObject ( ObjType,
var )
Value:
if ( m_mask & has##ObjType ) { \
R__b.WriteObject(var); \
}

Definition at line 78 of file TBossFullEvent.cxx.

78#define SafeWriteObject(ObjType, var) \
79 if ( m_mask & has##ObjType ) { \
80 R__b.WriteObject(var); \
81 }

Function Documentation

◆ ClassImp()

ClassImp ( TBossFullEvent )

Definition at line 5 of file TBossFullEvent.cxx.

8 : m_mask(0),
9 m_EvtHeader(0),
10 m_digiEvt(0),
11 m_dstEvt(0),
12 m_mcEvt(0),
13 m_trigEvt(0),
14 m_hltEvt(0),
15 m_rectrackEvt(0),
16 m_evtRecObject(0)
17{
18}