BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TBossFullEvent.cxx File Reference
#include "RootEventData/TBossFullEvent.h"
#include "TClass.h"
#include "TBuffer.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 21 of file TBossFullEvent.cxx.

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

Referenced by TBossFullEvent::~TBossFullEvent().

◆ SafePrintObject

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

Definition at line 38 of file TBossFullEvent.cxx.

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

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

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

◆ SafeWriteObject

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

Definition at line 79 of file TBossFullEvent.cxx.

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

Function Documentation

◆ ClassImp()

ClassImp ( TBossFullEvent )

Definition at line 6 of file TBossFullEvent.cxx.

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