#include <THltEvent.h>
Public Member Functions | |
THltEvent () | |
virtual | ~THltEvent () |
void | initialize () |
void | Clear (Option_t *option="") |
void | Print (Option_t *option="") const |
void | addHltRaw (THltRaw *hltRaw) |
HltRaw. | |
const THltRaw * | getHltRaw (int i) const |
const TObjArray * | getHltRawCol () const |
void | clearHltRawCol () |
void | addHltInf (THltInf *hltInf) |
const THltInf * | getHltInf () const |
void | clearHltInf () |
void | addDstHltInf (TDstHltInf *dstHltInf) |
const TDstHltInf * | getDstHltInf () const |
void | clearDstHltInf () |
Private Attributes | |
TObjArray * | m_hltRawCol |
THltInf * | m_hltInf |
TDstHltInf * | m_dstHltInf |
Static Private Attributes | |
static TObjArray * | s_staticHltRawCol |
data members to store trigger data | |
static THltInf * | s_staticHltInf |
static TDstHltInf * | s_staticDstHltInf = 0 |
Definition at line 12 of file THltEvent.h.
THltEvent::THltEvent | ( | ) |
Definition at line 14 of file THltEvent.cxx.
00015 { 00016 if (! s_staticHltRawCol ) { 00017 s_staticHltRawCol = new TObjArray(); 00018 } 00019 if (! s_staticHltInf ) { 00020 s_staticHltInf = new THltInf(); 00021 } 00022 if (! s_staticDstHltInf ) { 00023 s_staticDstHltInf = new TDstHltInf(); 00024 } 00025 00026 m_hltRawCol = s_staticHltRawCol; 00027 m_hltInf = s_staticHltInf; 00028 m_dstHltInf = s_staticDstHltInf; 00029 00030 Clear(); 00031 }
THltEvent::~THltEvent | ( | ) | [virtual] |
Definition at line 34 of file THltEvent.cxx.
References m_dstHltInf, m_hltInf, m_hltRawCol, s_staticDstHltInf, s_staticHltInf, and s_staticHltRawCol.
00034 { 00035 if(m_hltRawCol == s_staticHltRawCol ) s_staticHltRawCol = 0; 00036 m_hltRawCol->Delete(); 00037 delete m_hltRawCol; 00038 m_hltRawCol = 0; 00039 00040 if(m_hltInf == s_staticHltInf ) s_staticHltInf = 0; 00041 delete m_hltInf; 00042 m_hltInf = 0; 00043 00044 if(m_dstHltInf == s_staticDstHltInf ) s_staticDstHltInf = 0; 00045 delete m_dstHltInf; 00046 m_dstHltInf = 0; 00047 }
void THltEvent::addDstHltInf | ( | TDstHltInf * | dstHltInf | ) |
Definition at line 82 of file THltEvent.cxx.
References m_dstHltInf.
Referenced by DstHltInfCnv::DataObjectToTObject().
00082 { 00083 m_dstHltInf = hltInf; 00084 }
void THltEvent::addHltInf | ( | THltInf * | hltInf | ) |
Definition at line 76 of file THltEvent.cxx.
References m_hltInf.
Referenced by HltInfCnv::DataObjectToTObject().
00076 { 00077 m_hltInf = hltInf; 00078 }
void THltEvent::addHltRaw | ( | THltRaw * | hltRaw | ) |
Definition at line 65 of file THltEvent.cxx.
References m_hltRawCol.
Referenced by HltRawCnv::DataObjectToTObject().
00065 { 00066 m_hltRawCol->Add(hltRaw); 00067 }
void THltEvent::Clear | ( | Option_t * | option = "" |
) |
void THltEvent::clearDstHltInf | ( | ) | [inline] |
Definition at line 40 of file THltEvent.h.
References m_dstHltInf.
Referenced by DstHltInfCnv::DataObjectToTObject().
00040 { m_dstHltInf->Clear();}
void THltEvent::clearHltInf | ( | ) | [inline] |
Definition at line 36 of file THltEvent.h.
References m_hltInf.
Referenced by HltInfCnv::DataObjectToTObject().
00036 { m_hltInf->Clear();}
void THltEvent::clearHltRawCol | ( | ) | [inline] |
Definition at line 32 of file THltEvent.h.
References m_hltRawCol.
Referenced by HltRawCnv::DataObjectToTObject().
00032 { m_hltRawCol->Clear();}
const TDstHltInf * THltEvent::getDstHltInf | ( | ) | const |
Definition at line 85 of file THltEvent.cxx.
References m_dstHltInf.
Referenced by DstHltInfCnv::DataObjectToTObject().
00085 { 00086 return (TDstHltInf*)m_dstHltInf ; 00087 }
const THltInf * THltEvent::getHltInf | ( | ) | const |
Definition at line 79 of file THltEvent.cxx.
References m_hltInf.
Referenced by HltInfCnv::DataObjectToTObject().
const THltRaw* THltEvent::getHltRaw | ( | int | i | ) | const |
const TObjArray * THltEvent::getHltRawCol | ( | ) | const |
Definition at line 73 of file THltEvent.cxx.
References m_hltRawCol.
Referenced by HltRawCnv::DataObjectToTObject().
00073 { 00074 return (TObjArray*)m_hltRawCol ; 00075 }
void THltEvent::initialize | ( | ) | [inline] |
void THltEvent::Print | ( | Option_t * | option = "" |
) | const |
TDstHltInf* THltEvent::m_dstHltInf [private] |
Definition at line 56 of file THltEvent.h.
Referenced by addDstHltInf(), clearDstHltInf(), getDstHltInf(), and ~THltEvent().
THltInf* THltEvent::m_hltInf [private] |
Definition at line 53 of file THltEvent.h.
Referenced by addHltInf(), clearHltInf(), getHltInf(), and ~THltEvent().
TObjArray* THltEvent::m_hltRawCol [private] |
Definition at line 50 of file THltEvent.h.
Referenced by addHltRaw(), clearHltRawCol(), getHltRawCol(), and ~THltEvent().
TDstHltInf * THltEvent::s_staticDstHltInf = 0 [static, private] |
THltInf* THltEvent::s_staticHltInf [static, private] |
TObjArray* THltEvent::s_staticHltRawCol [static, private] |
data members to store trigger data
Definition at line 49 of file THltEvent.h.
Referenced by ~THltEvent().