#include <TTrigEvent.h>
Public Member Functions | |
TTrigEvent () | |
virtual | ~TTrigEvent () |
void | initialize () |
void | Clear (Option_t *option="") |
void | Print (Option_t *option="") const |
void | addTrigData (TTrigData *trigData) |
TrigData. | |
const TTrigData * | getTrigData () const |
void | clearTrigData () |
Private Attributes | |
TTrigData * | m_trigData |
Static Private Attributes | |
static TTrigData * | s_staticTrigData |
data members to store trigger data |
Definition at line 10 of file TTrigEvent.h.
TTrigEvent::TTrigEvent | ( | ) |
TTrigEvent::~TTrigEvent | ( | ) | [virtual] |
Definition at line 23 of file TTrigEvent.cxx.
00023 { 00024 if(m_trigData == s_staticTrigData ) s_staticTrigData = 0; 00025 delete m_trigData; 00026 m_trigData = 0; 00027 }
void TTrigEvent::addTrigData | ( | TTrigData * | trigData | ) |
Definition at line 45 of file TTrigEvent.cxx.
Referenced by TrigDataCnv::DataObjectToTObject().
00045 { 00046 m_trigData = trigData; 00047 }
void TTrigEvent::Clear | ( | Option_t * | option = "" |
) |
void TTrigEvent::clearTrigData | ( | ) | [inline] |
Definition at line 29 of file TTrigEvent.h.
References TTrigData::Clear(), and m_trigData.
00029 { m_trigData->Clear();}
const TTrigData * TTrigEvent::getTrigData | ( | ) | const |
Definition at line 50 of file TTrigEvent.cxx.
Referenced by TrigDataCnv::DataObjectToTObject(), and BesEvent::SetEvent().
00050 { 00051 return (TTrigData*)m_trigData ; 00052 }
void TTrigEvent::initialize | ( | ) | [inline] |
void TTrigEvent::Print | ( | Option_t * | option = "" |
) | const |
TTrigData* TTrigEvent::m_trigData [private] |
TTrigData* TTrigEvent::s_staticTrigData [static, private] |