BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
THltEvent Class Reference

#include <THltEvent.h>

+ Inheritance diagram for THltEvent:

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 ()
 
 THltEvent ()
 
virtual ~THltEvent ()
 
void initialize ()
 
void Clear (Option_t *option="")
 
void Print (Option_t *option="") const
 
void addHltRaw (THltRaw *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 ()
 

Detailed Description

Constructor & Destructor Documentation

◆ THltEvent() [1/2]

THltEvent::THltEvent ( )

Definition at line 14 of file THltEvent.cxx.

15{
16 if (! s_staticHltRawCol ) {
17 s_staticHltRawCol = new TObjArray();
18 }
19 if (! s_staticHltInf ) {
20 s_staticHltInf = new THltInf();
21 }
22 if (! s_staticDstHltInf ) {
23 s_staticDstHltInf = new TDstHltInf();
24 }
25
26 m_hltRawCol = s_staticHltRawCol;
27 m_hltInf = s_staticHltInf;
28 m_dstHltInf = s_staticDstHltInf;
29
30 Clear();
31}
void Clear(Option_t *option="")
Definition: THltEvent.cxx:55

◆ ~THltEvent() [1/2]

THltEvent::~THltEvent ( )
virtual

Definition at line 34 of file THltEvent.cxx.

34 {
35 if(m_hltRawCol == s_staticHltRawCol ) s_staticHltRawCol = 0;
36 m_hltRawCol->Delete();
37 delete m_hltRawCol;
38 m_hltRawCol = 0;
39
40 if(m_hltInf == s_staticHltInf ) s_staticHltInf = 0;
41 delete m_hltInf;
42 m_hltInf = 0;
43
44 if(m_dstHltInf == s_staticDstHltInf ) s_staticDstHltInf = 0;
45 delete m_dstHltInf;
46 m_dstHltInf = 0;
47}

◆ THltEvent() [2/2]

THltEvent::THltEvent ( )

◆ ~THltEvent() [2/2]

virtual THltEvent::~THltEvent ( )
virtual

Member Function Documentation

◆ addDstHltInf() [1/2]

void THltEvent::addDstHltInf ( TDstHltInf dstHltInf)

Definition at line 82 of file THltEvent.cxx.

82 {
83 m_dstHltInf = hltInf;
84}

Referenced by DstHltInfCnv::DataObjectToTObject().

◆ addDstHltInf() [2/2]

void THltEvent::addDstHltInf ( TDstHltInf dstHltInf)

◆ addHltInf() [1/2]

void THltEvent::addHltInf ( THltInf hltInf)

Definition at line 76 of file THltEvent.cxx.

76 {
77 m_hltInf = hltInf;
78}

Referenced by HltInfCnv::DataObjectToTObject().

◆ addHltInf() [2/2]

void THltEvent::addHltInf ( THltInf hltInf)

◆ addHltRaw() [1/2]

void THltEvent::addHltRaw ( THltRaw hltRaw)

HltRaw.

Definition at line 65 of file THltEvent.cxx.

65 {
66 m_hltRawCol->Add(hltRaw);
67}

Referenced by HltRawCnv::DataObjectToTObject().

◆ addHltRaw() [2/2]

void THltEvent::addHltRaw ( THltRaw hltRaw)

◆ Clear() [1/2]

void THltEvent::Clear ( Option_t *  option = "")

Definition at line 55 of file THltEvent.cxx.

55 {
56
57}

Referenced by RootCnvSvc::commitOutput(), and THltEvent().

◆ Clear() [2/2]

void THltEvent::Clear ( Option_t *  option = "")

◆ clearDstHltInf() [1/2]

void THltEvent::clearDstHltInf ( )
inline

Definition at line 40 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/THltEvent.h.

40{ m_dstHltInf->Clear();}

Referenced by DstHltInfCnv::DataObjectToTObject().

◆ clearDstHltInf() [2/2]

void THltEvent::clearDstHltInf ( )
inline

Definition at line 40 of file InstallArea/include/RootEventData/RootEventData/THltEvent.h.

40{ m_dstHltInf->Clear();}

◆ clearHltInf() [1/2]

void THltEvent::clearHltInf ( )
inline

Definition at line 36 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/THltEvent.h.

36{ m_hltInf->Clear();}

Referenced by HltInfCnv::DataObjectToTObject().

◆ clearHltInf() [2/2]

void THltEvent::clearHltInf ( )
inline

Definition at line 36 of file InstallArea/include/RootEventData/RootEventData/THltEvent.h.

36{ m_hltInf->Clear();}

◆ clearHltRawCol() [1/2]

void THltEvent::clearHltRawCol ( )
inline

Definition at line 32 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/THltEvent.h.

32{ m_hltRawCol->Clear();}

Referenced by HltRawCnv::DataObjectToTObject().

◆ clearHltRawCol() [2/2]

void THltEvent::clearHltRawCol ( )
inline

Definition at line 32 of file InstallArea/include/RootEventData/RootEventData/THltEvent.h.

32{ m_hltRawCol->Clear();}

◆ getDstHltInf() [1/2]

const TDstHltInf * THltEvent::getDstHltInf ( ) const

Definition at line 85 of file THltEvent.cxx.

85 {
86 return (TDstHltInf*)m_dstHltInf ;
87}

Referenced by DstHltInfCnv::DataObjectToTObject().

◆ getDstHltInf() [2/2]

const TDstHltInf * THltEvent::getDstHltInf ( ) const

◆ getHltInf() [1/2]

const THltInf * THltEvent::getHltInf ( ) const

Definition at line 79 of file THltEvent.cxx.

79 {
80 return (THltInf*)m_hltInf ;
81}

Referenced by HltInfCnv::DataObjectToTObject().

◆ getHltInf() [2/2]

const THltInf * THltEvent::getHltInf ( ) const

◆ getHltRaw() [1/2]

const THltRaw * THltEvent::getHltRaw ( int  i) const

◆ getHltRaw() [2/2]

const THltRaw * THltEvent::getHltRaw ( int  i) const

◆ getHltRawCol() [1/2]

const TObjArray * THltEvent::getHltRawCol ( ) const

Definition at line 73 of file THltEvent.cxx.

73 {
74 return (TObjArray*)m_hltRawCol ;
75}

Referenced by HltRawCnv::DataObjectToTObject().

◆ getHltRawCol() [2/2]

const TObjArray * THltEvent::getHltRawCol ( ) const

◆ initialize() [1/2]

void THltEvent::initialize ( )
inline

◆ initialize() [2/2]

void THltEvent::initialize ( )
inline

◆ Print() [1/2]

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

Definition at line 60 of file THltEvent.cxx.

60 {
61 TObject::Print(option);
62}

◆ Print() [2/2]

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

The documentation for this class was generated from the following files: