CGEM BOSS 6.6.5.g
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 ()
 

Detailed Description

Definition at line 12 of file THltEvent.h.

Constructor & Destructor Documentation

◆ THltEvent()

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
Definition: THltInf.h:9

◆ ~THltEvent()

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}

Member Function Documentation

◆ addDstHltInf()

void THltEvent::addDstHltInf ( TDstHltInf dstHltInf)

Definition at line 82 of file THltEvent.cxx.

82 {
83 m_dstHltInf = hltInf;
84}

Referenced by DstHltInfCnv::DataObjectToTObject().

◆ addHltInf()

void THltEvent::addHltInf ( THltInf hltInf)

Definition at line 76 of file THltEvent.cxx.

76 {
77 m_hltInf = hltInf;
78}

Referenced by HltInfCnv::DataObjectToTObject().

◆ addHltRaw()

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

◆ Clear()

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

Definition at line 55 of file THltEvent.cxx.

55 {
56
57}

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

◆ clearDstHltInf()

void THltEvent::clearDstHltInf ( )
inline

Definition at line 40 of file THltEvent.h.

40{ m_dstHltInf->Clear();}

Referenced by DstHltInfCnv::DataObjectToTObject().

◆ clearHltInf()

void THltEvent::clearHltInf ( )
inline

Definition at line 36 of file THltEvent.h.

36{ m_hltInf->Clear();}

Referenced by HltInfCnv::DataObjectToTObject().

◆ clearHltRawCol()

void THltEvent::clearHltRawCol ( )
inline

Definition at line 32 of file THltEvent.h.

32{ m_hltRawCol->Clear();}

Referenced by HltRawCnv::DataObjectToTObject().

◆ getDstHltInf()

const TDstHltInf * THltEvent::getDstHltInf ( ) const

Definition at line 85 of file THltEvent.cxx.

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

Referenced by DstHltInfCnv::DataObjectToTObject().

◆ getHltInf()

const THltInf * THltEvent::getHltInf ( ) const

Definition at line 79 of file THltEvent.cxx.

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

Referenced by HltInfCnv::DataObjectToTObject().

◆ getHltRaw()

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

Definition at line 68 of file THltEvent.cxx.

68 {
69 if (Int_t(i) >= m_hltRawCol->GetEntries())
70 return 0;
71 return (THltRaw*)m_hltRawCol->At(i);
72}
Definition: THltRaw.h:7

◆ getHltRawCol()

const TObjArray * THltEvent::getHltRawCol ( ) const

Definition at line 73 of file THltEvent.cxx.

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

Referenced by HltRawCnv::DataObjectToTObject().

◆ initialize()

void THltEvent::initialize ( )
inline

Definition at line 19 of file THltEvent.h.

19{};

Referenced by HltCnv::DataObjectToTObject().

◆ Print()

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

Definition at line 60 of file THltEvent.cxx.

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

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