THltEvent Class Reference

#include <THltEvent.h>

List of all members.

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 THltRawgetHltRaw (int i) const
const TObjArray * getHltRawCol () const
void clearHltRawCol ()
void addHltInf (THltInf *hltInf)
const THltInfgetHltInf () const
void clearHltInf ()
void addDstHltInf (TDstHltInf *dstHltInf)
const TDstHltInfgetDstHltInf () const
void clearDstHltInf ()

Private Attributes

TObjArray * m_hltRawCol
THltInfm_hltInf
TDstHltInfm_dstHltInf

Static Private Attributes

static TObjArray * s_staticHltRawCol
 data members to store trigger data
static THltInfs_staticHltInf
static TDstHltInfs_staticDstHltInf = 0


Detailed Description

Definition at line 12 of file THltEvent.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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  ) 

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 = ""  ) 

Definition at line 55 of file THltEvent.cxx.

Referenced by RootCnvSvc::commitOutput().

00055                                       {
00056 
00057 }

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().

00079                                            {
00080         return (THltInf*)m_hltInf ;
00081 }

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]

Definition at line 19 of file THltEvent.h.

Referenced by HltCnv::DataObjectToTObject().

00019 {};

void THltEvent::Print ( Option_t *  option = ""  )  const

Definition at line 60 of file THltEvent.cxx.

00060                                             {
00061     TObject::Print(option);
00062 }


Member Data Documentation

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]

Definition at line 55 of file THltEvent.h.

Referenced by ~THltEvent().

THltInf* THltEvent::s_staticHltInf [static, private]

Definition at line 52 of file THltEvent.h.

Referenced by ~THltEvent().

TObjArray* THltEvent::s_staticHltRawCol [static, private]

data members to store trigger data

Definition at line 49 of file THltEvent.h.

Referenced by ~THltEvent().


Generated on Tue Nov 29 23:36:00 2016 for BOSS_7.0.2 by  doxygen 1.4.7