BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TDigiEvent Class Reference

#include <TDigiEvent.h>

Inheritance diagram for TDigiEvent:

Public Member Functions

 TDigiEvent ()
virtual ~TDigiEvent ()
void initialize (Bool_t fromMc=true)
void Clear (Option_t *option="")
void Print (Option_t *option="") const
Bool_t getFromMc ()
const TObjArray * getMdcDigiCol () const
 retrieve the whole TObjArray of TkrDigi Data
void addMdcDigi (TMdcDigi *digi)
 Add a TkrDigi into the TKR data collection.
const TMdcDigigetMdcDigi (Int_t i) const
 retrieve a TkrDigi from the collection, using the index into the array
void clearMdcDigiCol ()
 clear the whole array (necessary because of the consts-s)
const TObjArray * getEmcDigiCol () const
 retrieve the whole TObjArray of TkrDigi Data
void addEmcDigi (TEmcDigi *digi)
 Add a TkrDigi into the TKR data collection.
const TEmcDigigetEmcDigi (Int_t i) const
 retrieve a EmcDigi from the collection, using the index into the array
void clearEmcDigiCol ()
 clear the whole array (necessary because of the consts-s)
const TObjArray * getTofDigiCol () const
 retrieve the whole TObjArray of TofDigi Data
void addTofDigi (TTofDigi *digi)
 Add a TofDigi into the TOF Data collection.
const TTofDigigetTofDigi (Int_t i) const
 retrieve a TofDigi From the collection, using the index into the array
void clearTofDigiCol ()
 clear the whole array
const TObjArray * getMucDigiCol () const
 retrieve the whole TObjArray of MucDigi Data
void addMucDigi (TMucDigi *digi)
 Add a MucDigi into the MUC Data collection.
const TMucDigigetMucDigi (Int_t i) const
 retrieve a MucDigi From the collection, using the index into the array
void clearMucDigiCol ()
 clear the whole array
const TObjArray * getLumiDigiCol () const
 retrieve the whole TObjArray of LumiDigi Data
void addLumiDigi (TLumiDigi *digi)
 Add a LumiDigi into the MUC Data collection.
const TLumiDigigetLumiDigi (Int_t i) const
 retrieve a LumiDigi From the collection, using the index into the array
void clearLumiDigiCol ()
 clear the whole array
 TDigiEvent ()
virtual ~TDigiEvent ()
void initialize (Bool_t fromMc=true)
void Clear (Option_t *option="")
void Print (Option_t *option="") const
Bool_t getFromMc ()
const TObjArray * getMdcDigiCol () const
 retrieve the whole TObjArray of TkrDigi Data
void addMdcDigi (TMdcDigi *digi)
 Add a TkrDigi into the TKR data collection.
const TMdcDigigetMdcDigi (Int_t i) const
 retrieve a TkrDigi from the collection, using the index into the array
void clearMdcDigiCol ()
 clear the whole array (necessary because of the consts-s)
const TObjArray * getEmcDigiCol () const
 retrieve the whole TObjArray of TkrDigi Data
void addEmcDigi (TEmcDigi *digi)
 Add a TkrDigi into the TKR data collection.
const TEmcDigigetEmcDigi (Int_t i) const
 retrieve a EmcDigi from the collection, using the index into the array
void clearEmcDigiCol ()
 clear the whole array (necessary because of the consts-s)
const TObjArray * getTofDigiCol () const
 retrieve the whole TObjArray of TofDigi Data
void addTofDigi (TTofDigi *digi)
 Add a TofDigi into the TOF Data collection.
const TTofDigigetTofDigi (Int_t i) const
 retrieve a TofDigi From the collection, using the index into the array
void clearTofDigiCol ()
 clear the whole array
const TObjArray * getMucDigiCol () const
 retrieve the whole TObjArray of MucDigi Data
void addMucDigi (TMucDigi *digi)
 Add a MucDigi into the MUC Data collection.
const TMucDigigetMucDigi (Int_t i) const
 retrieve a MucDigi From the collection, using the index into the array
void clearMucDigiCol ()
 clear the whole array
const TObjArray * getLumiDigiCol () const
 retrieve the whole TObjArray of LumiDigi Data
void addLumiDigi (TLumiDigi *digi)
 Add a LumiDigi into the MUC Data collection.
const TLumiDigigetLumiDigi (Int_t i) const
 retrieve a LumiDigi From the collection, using the index into the array
void clearLumiDigiCol ()
 clear the whole array
 TDigiEvent ()
virtual ~TDigiEvent ()
void initialize (Bool_t fromMc=true)
void Clear (Option_t *option="")
void Print (Option_t *option="") const
Bool_t getFromMc ()
const TObjArray * getMdcDigiCol () const
 retrieve the whole TObjArray of TkrDigi Data
void addMdcDigi (TMdcDigi *digi)
 Add a TkrDigi into the TKR data collection.
const TMdcDigigetMdcDigi (Int_t i) const
 retrieve a TkrDigi from the collection, using the index into the array
void clearMdcDigiCol ()
 clear the whole array (necessary because of the consts-s)
const TObjArray * getEmcDigiCol () const
 retrieve the whole TObjArray of TkrDigi Data
void addEmcDigi (TEmcDigi *digi)
 Add a TkrDigi into the TKR data collection.
const TEmcDigigetEmcDigi (Int_t i) const
 retrieve a EmcDigi from the collection, using the index into the array
void clearEmcDigiCol ()
 clear the whole array (necessary because of the consts-s)
const TObjArray * getTofDigiCol () const
 retrieve the whole TObjArray of TofDigi Data
void addTofDigi (TTofDigi *digi)
 Add a TofDigi into the TOF Data collection.
const TTofDigigetTofDigi (Int_t i) const
 retrieve a TofDigi From the collection, using the index into the array
void clearTofDigiCol ()
 clear the whole array
const TObjArray * getMucDigiCol () const
 retrieve the whole TObjArray of MucDigi Data
void addMucDigi (TMucDigi *digi)
 Add a MucDigi into the MUC Data collection.
const TMucDigigetMucDigi (Int_t i) const
 retrieve a MucDigi From the collection, using the index into the array
void clearMucDigiCol ()
 clear the whole array
const TObjArray * getLumiDigiCol () const
 retrieve the whole TObjArray of LumiDigi Data
void addLumiDigi (TLumiDigi *digi)
 Add a LumiDigi into the MUC Data collection.
const TLumiDigigetLumiDigi (Int_t i) const
 retrieve a LumiDigi From the collection, using the index into the array
void clearLumiDigiCol ()
 clear the whole array

Detailed Description

Constructor & Destructor Documentation

◆ TDigiEvent() [1/3]

TDigiEvent::TDigiEvent ( )

Definition at line 16 of file TDigiEvent.cxx.

16 {
17 if ( !s_staticMdcDigiCol ) { s_staticMdcDigiCol = new TObjArray(); }
18 m_mdcDigiCol = s_staticMdcDigiCol;
19
20 if ( !s_staticEmcDigiCol ) { s_staticEmcDigiCol = new TObjArray(); }
21 m_emcDigiCol = s_staticEmcDigiCol;
22
23 if ( !s_staticTofDigiCol ) { s_staticTofDigiCol = new TObjArray(); }
24 m_tofDigiCol = s_staticTofDigiCol;
25
26 if ( !s_staticMucDigiCol ) { s_staticMucDigiCol = new TObjArray(); }
27 m_mucDigiCol = s_staticMucDigiCol;
28
29 if ( !s_staticLumiDigiCol ) { s_staticLumiDigiCol = new TObjArray(); }
30 m_lumiDigiCol = s_staticLumiDigiCol;
31
32 Clear();
33}
void Clear(Option_t *option="")

◆ ~TDigiEvent() [1/3]

TDigiEvent::~TDigiEvent ( )
virtual

Definition at line 36 of file TDigiEvent.cxx.

36 {
37
38 if ( m_mdcDigiCol == s_staticMdcDigiCol ) s_staticMdcDigiCol = 0;
39 m_mdcDigiCol->Delete();
40 delete m_mdcDigiCol;
41 m_mdcDigiCol = 0;
42
43 if ( m_emcDigiCol == s_staticEmcDigiCol ) s_staticEmcDigiCol = 0;
44 m_emcDigiCol->Delete();
45 delete m_emcDigiCol;
46 m_emcDigiCol = 0;
47
48 if ( m_tofDigiCol == s_staticTofDigiCol ) s_staticTofDigiCol = 0;
49 m_tofDigiCol->Delete();
50 delete m_tofDigiCol;
51 m_tofDigiCol = 0;
52
53 if ( m_mucDigiCol == s_staticMucDigiCol ) s_staticMucDigiCol = 0;
54 m_mucDigiCol->Delete();
55 delete m_mucDigiCol;
56 m_mucDigiCol = 0;
57
58 if ( m_lumiDigiCol == s_staticLumiDigiCol ) s_staticLumiDigiCol = 0;
59 m_lumiDigiCol->Delete();
60 delete m_lumiDigiCol;
61 m_lumiDigiCol = 0;
62}

◆ TDigiEvent() [2/3]

TDigiEvent::TDigiEvent ( )

◆ ~TDigiEvent() [2/3]

virtual TDigiEvent::~TDigiEvent ( )
virtual

◆ TDigiEvent() [3/3]

TDigiEvent::TDigiEvent ( )

◆ ~TDigiEvent() [3/3]

virtual TDigiEvent::~TDigiEvent ( )
virtual

Member Function Documentation

◆ addEmcDigi() [1/3]

void TDigiEvent::addEmcDigi ( TEmcDigi * digi)

Add a TkrDigi into the TKR data collection.

Emc.

Definition at line 111 of file TDigiEvent.cxx.

111{ m_emcDigiCol->Add( digi ); }

Referenced by EmcDigiCnv::DataObjectToTObject().

◆ addEmcDigi() [2/3]

void TDigiEvent::addEmcDigi ( TEmcDigi * digi)

Add a TkrDigi into the TKR data collection.

◆ addEmcDigi() [3/3]

void TDigiEvent::addEmcDigi ( TEmcDigi * digi)

Add a TkrDigi into the TKR data collection.

◆ addLumiDigi() [1/3]

void TDigiEvent::addLumiDigi ( TLumiDigi * digi)

Add a LumiDigi into the MUC Data collection.

Lumi.

Definition at line 135 of file TDigiEvent.cxx.

135{ m_lumiDigiCol->Add( digi ); }

Referenced by LumiDigiCnv::DataObjectToTObject().

◆ addLumiDigi() [2/3]

void TDigiEvent::addLumiDigi ( TLumiDigi * digi)

Add a LumiDigi into the MUC Data collection.

◆ addLumiDigi() [3/3]

void TDigiEvent::addLumiDigi ( TLumiDigi * digi)

Add a LumiDigi into the MUC Data collection.

◆ addMdcDigi() [1/3]

void TDigiEvent::addMdcDigi ( TMdcDigi * digi)

Add a TkrDigi into the TKR data collection.

Mdc.

Definition at line 104 of file TDigiEvent.cxx.

104{ m_mdcDigiCol->Add( digi ); }

Referenced by MdcDigiCnv::DataObjectToTObject().

◆ addMdcDigi() [2/3]

void TDigiEvent::addMdcDigi ( TMdcDigi * digi)

Add a TkrDigi into the TKR data collection.

◆ addMdcDigi() [3/3]

void TDigiEvent::addMdcDigi ( TMdcDigi * digi)

Add a TkrDigi into the TKR data collection.

◆ addMucDigi() [1/3]

void TDigiEvent::addMucDigi ( TMucDigi * digi)

Add a MucDigi into the MUC Data collection.

Muc.

Definition at line 127 of file TDigiEvent.cxx.

127{ m_mucDigiCol->Add( digi ); }

Referenced by MucDigiCnv::DataObjectToTObject().

◆ addMucDigi() [2/3]

void TDigiEvent::addMucDigi ( TMucDigi * digi)

Add a MucDigi into the MUC Data collection.

◆ addMucDigi() [3/3]

void TDigiEvent::addMucDigi ( TMucDigi * digi)

Add a MucDigi into the MUC Data collection.

◆ addTofDigi() [1/3]

void TDigiEvent::addTofDigi ( TTofDigi * digi)

Add a TofDigi into the TOF Data collection.

Tof.

Definition at line 119 of file TDigiEvent.cxx.

119{ m_tofDigiCol->Add( digi ); }

Referenced by TofDigiCnv::DataObjectToTObject().

◆ addTofDigi() [2/3]

void TDigiEvent::addTofDigi ( TTofDigi * digi)

Add a TofDigi into the TOF Data collection.

◆ addTofDigi() [3/3]

void TDigiEvent::addTofDigi ( TTofDigi * digi)

Add a TofDigi into the TOF Data collection.

◆ Clear() [1/3]

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

Definition at line 68 of file TDigiEvent.cxx.

68 {
69 /*
70 const Int_t nd = 20000;
71 static Int_t limit = 100;
72 static Int_t ind=0;
73 static TMdcDigi* keep[nd];
74
75
76 Int_t n = m_mdcDigiCol->GetEntries();
77 if (n>limit) {
78 limit=n+10;
79 if (limit > nd)
80 std::cout << "!!!Warning: limit for TMdcDigi is greater than " << nd << std::endl;
81 for (Int_t j=0;j<ind;j++) delete keep[j];
82 ind = 0;
83 }
84 for (Int_t i=0;i<n;i++) keep[ind+i] = (TMdcDigi*)m_mdcDigiCol->At(i);
85 ind += n;
86 if (ind > nd-limit) {
87 for (Int_t j=0;j<ind;j++) delete keep[j];
88 ind = 0;
89 }
90 m_mdcDigiCol->Clear();
91*/
92}

Referenced by TDigiEvent().

◆ Clear() [2/3]

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

◆ Clear() [3/3]

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

◆ clearEmcDigiCol() [1/3]

void TDigiEvent::clearEmcDigiCol ( )
inline

clear the whole array (necessary because of the consts-s)

Definition at line 49 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

49{ m_emcDigiCol->Clear(); }

Referenced by EmcDigiCnv::DataObjectToTObject().

◆ clearEmcDigiCol() [2/3]

void TDigiEvent::clearEmcDigiCol ( )
inline

clear the whole array (necessary because of the consts-s)

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

49{ m_emcDigiCol->Clear(); }

◆ clearEmcDigiCol() [3/3]

void TDigiEvent::clearEmcDigiCol ( )
inline

clear the whole array (necessary because of the consts-s)

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

49{ m_emcDigiCol->Clear(); }

◆ clearLumiDigiCol() [1/3]

void TDigiEvent::clearLumiDigiCol ( )
inline

clear the whole array

Definition at line 85 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

85{ m_lumiDigiCol->Clear(); }

Referenced by LumiDigiCnv::DataObjectToTObject().

◆ clearLumiDigiCol() [2/3]

void TDigiEvent::clearLumiDigiCol ( )
inline

clear the whole array

Definition at line 85 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

85{ m_lumiDigiCol->Clear(); }

◆ clearLumiDigiCol() [3/3]

void TDigiEvent::clearLumiDigiCol ( )
inline

clear the whole array

Definition at line 85 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

85{ m_lumiDigiCol->Clear(); }

◆ clearMdcDigiCol() [1/3]

void TDigiEvent::clearMdcDigiCol ( )
inline

clear the whole array (necessary because of the consts-s)

Definition at line 37 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

37{ m_mdcDigiCol->Clear(); }

Referenced by MdcDigiCnv::DataObjectToTObject().

◆ clearMdcDigiCol() [2/3]

void TDigiEvent::clearMdcDigiCol ( )
inline

clear the whole array (necessary because of the consts-s)

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

37{ m_mdcDigiCol->Clear(); }

◆ clearMdcDigiCol() [3/3]

void TDigiEvent::clearMdcDigiCol ( )
inline

clear the whole array (necessary because of the consts-s)

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

37{ m_mdcDigiCol->Clear(); }

◆ clearMucDigiCol() [1/3]

void TDigiEvent::clearMucDigiCol ( )
inline

clear the whole array

Definition at line 73 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

73{ m_mucDigiCol->Clear(); }

Referenced by MucDigiCnv::DataObjectToTObject().

◆ clearMucDigiCol() [2/3]

void TDigiEvent::clearMucDigiCol ( )
inline

clear the whole array

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

73{ m_mucDigiCol->Clear(); }

◆ clearMucDigiCol() [3/3]

void TDigiEvent::clearMucDigiCol ( )
inline

clear the whole array

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

73{ m_mucDigiCol->Clear(); }

◆ clearTofDigiCol() [1/3]

void TDigiEvent::clearTofDigiCol ( )
inline

clear the whole array

Definition at line 61 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

61{ m_tofDigiCol->Clear(); }

Referenced by TofDigiCnv::DataObjectToTObject().

◆ clearTofDigiCol() [2/3]

void TDigiEvent::clearTofDigiCol ( )
inline

clear the whole array

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

61{ m_tofDigiCol->Clear(); }

◆ clearTofDigiCol() [3/3]

void TDigiEvent::clearTofDigiCol ( )
inline

clear the whole array

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

61{ m_tofDigiCol->Clear(); }

◆ getEmcDigi() [1/3]

const TEmcDigi * TDigiEvent::getEmcDigi ( Int_t i) const

retrieve a EmcDigi from the collection, using the index into the array

Definition at line 113 of file TDigiEvent.cxx.

113 {
114 if ( Int_t( i ) >= m_emcDigiCol->GetEntries() ) return 0;
115 return (TEmcDigi*)m_emcDigiCol->At( i );
116}

◆ getEmcDigi() [2/3]

const TEmcDigi * TDigiEvent::getEmcDigi ( Int_t i) const

retrieve a EmcDigi from the collection, using the index into the array

◆ getEmcDigi() [3/3]

const TEmcDigi * TDigiEvent::getEmcDigi ( Int_t i) const

retrieve a EmcDigi from the collection, using the index into the array

◆ getEmcDigiCol() [1/3]

const TObjArray * TDigiEvent::getEmcDigiCol ( ) const
inline

retrieve the whole TObjArray of TkrDigi Data

Definition at line 40 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

40{ return m_emcDigiCol; };

Referenced by EmcDigiCnv::DataObjectToTObject().

◆ getEmcDigiCol() [2/3]

const TObjArray * TDigiEvent::getEmcDigiCol ( ) const
inline

retrieve the whole TObjArray of TkrDigi Data

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

40{ return m_emcDigiCol; };

◆ getEmcDigiCol() [3/3]

const TObjArray * TDigiEvent::getEmcDigiCol ( ) const
inline

retrieve the whole TObjArray of TkrDigi Data

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

40{ return m_emcDigiCol; };

◆ getFromMc() [1/3]

Bool_t TDigiEvent::getFromMc ( )
inline

Definition at line 25 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

25{ return m_fromMc; };

◆ getFromMc() [2/3]

Bool_t TDigiEvent::getFromMc ( )
inline

Definition at line 25 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

25{ return m_fromMc; };

◆ getFromMc() [3/3]

Bool_t TDigiEvent::getFromMc ( )
inline

Definition at line 25 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

25{ return m_fromMc; };

◆ getLumiDigi() [1/3]

const TLumiDigi * TDigiEvent::getLumiDigi ( Int_t i) const

retrieve a LumiDigi From the collection, using the index into the array

Definition at line 137 of file TDigiEvent.cxx.

137 {
138 if ( i >= m_lumiDigiCol->GetEntries() ) return 0;
139 return (TLumiDigi*)m_lumiDigiCol->At( i );
140}

◆ getLumiDigi() [2/3]

const TLumiDigi * TDigiEvent::getLumiDigi ( Int_t i) const

retrieve a LumiDigi From the collection, using the index into the array

◆ getLumiDigi() [3/3]

const TLumiDigi * TDigiEvent::getLumiDigi ( Int_t i) const

retrieve a LumiDigi From the collection, using the index into the array

◆ getLumiDigiCol() [1/3]

const TObjArray * TDigiEvent::getLumiDigiCol ( ) const
inline

retrieve the whole TObjArray of LumiDigi Data

Definition at line 76 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

76{ return m_lumiDigiCol; };

Referenced by LumiDigiCnv::DataObjectToTObject().

◆ getLumiDigiCol() [2/3]

const TObjArray * TDigiEvent::getLumiDigiCol ( ) const
inline

retrieve the whole TObjArray of LumiDigi Data

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

76{ return m_lumiDigiCol; };

◆ getLumiDigiCol() [3/3]

const TObjArray * TDigiEvent::getLumiDigiCol ( ) const
inline

retrieve the whole TObjArray of LumiDigi Data

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

76{ return m_lumiDigiCol; };

◆ getMdcDigi() [1/3]

const TMdcDigi * TDigiEvent::getMdcDigi ( Int_t i) const

retrieve a TkrDigi from the collection, using the index into the array

Definition at line 106 of file TDigiEvent.cxx.

106 {
107 if ( Int_t( i ) >= m_mdcDigiCol->GetEntries() ) return 0;
108 return (TMdcDigi*)m_mdcDigiCol->At( i );
109}

◆ getMdcDigi() [2/3]

const TMdcDigi * TDigiEvent::getMdcDigi ( Int_t i) const

retrieve a TkrDigi from the collection, using the index into the array

◆ getMdcDigi() [3/3]

const TMdcDigi * TDigiEvent::getMdcDigi ( Int_t i) const

retrieve a TkrDigi from the collection, using the index into the array

◆ getMdcDigiCol() [1/3]

const TObjArray * TDigiEvent::getMdcDigiCol ( ) const
inline

retrieve the whole TObjArray of TkrDigi Data

Definition at line 28 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

28{ return m_mdcDigiCol; };

Referenced by MdcDigiCnv::DataObjectToTObject().

◆ getMdcDigiCol() [2/3]

const TObjArray * TDigiEvent::getMdcDigiCol ( ) const
inline

retrieve the whole TObjArray of TkrDigi Data

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

28{ return m_mdcDigiCol; };

◆ getMdcDigiCol() [3/3]

const TObjArray * TDigiEvent::getMdcDigiCol ( ) const
inline

retrieve the whole TObjArray of TkrDigi Data

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

28{ return m_mdcDigiCol; };

◆ getMucDigi() [1/3]

const TMucDigi * TDigiEvent::getMucDigi ( Int_t i) const

retrieve a MucDigi From the collection, using the index into the array

Definition at line 129 of file TDigiEvent.cxx.

129 {
130 if ( Int_t( i ) >= m_mucDigiCol->GetEntries() ) return 0;
131 return (TMucDigi*)m_mucDigiCol->At( i );
132}

◆ getMucDigi() [2/3]

const TMucDigi * TDigiEvent::getMucDigi ( Int_t i) const

retrieve a MucDigi From the collection, using the index into the array

◆ getMucDigi() [3/3]

const TMucDigi * TDigiEvent::getMucDigi ( Int_t i) const

retrieve a MucDigi From the collection, using the index into the array

◆ getMucDigiCol() [1/3]

const TObjArray * TDigiEvent::getMucDigiCol ( ) const
inline

retrieve the whole TObjArray of MucDigi Data

Definition at line 64 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

64{ return m_mucDigiCol; };

Referenced by MucDigiCnv::DataObjectToTObject().

◆ getMucDigiCol() [2/3]

const TObjArray * TDigiEvent::getMucDigiCol ( ) const
inline

retrieve the whole TObjArray of MucDigi Data

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

64{ return m_mucDigiCol; };

◆ getMucDigiCol() [3/3]

const TObjArray * TDigiEvent::getMucDigiCol ( ) const
inline

retrieve the whole TObjArray of MucDigi Data

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

64{ return m_mucDigiCol; };

◆ getTofDigi() [1/3]

const TTofDigi * TDigiEvent::getTofDigi ( Int_t i) const

retrieve a TofDigi From the collection, using the index into the array

Definition at line 121 of file TDigiEvent.cxx.

121 {
122 if ( Int_t( i ) >= m_tofDigiCol->GetEntries() ) return 0;
123 return (TTofDigi*)m_tofDigiCol->At( i );
124}

◆ getTofDigi() [2/3]

const TTofDigi * TDigiEvent::getTofDigi ( Int_t i) const

retrieve a TofDigi From the collection, using the index into the array

◆ getTofDigi() [3/3]

const TTofDigi * TDigiEvent::getTofDigi ( Int_t i) const

retrieve a TofDigi From the collection, using the index into the array

◆ getTofDigiCol() [1/3]

const TObjArray * TDigiEvent::getTofDigiCol ( ) const
inline

retrieve the whole TObjArray of TofDigi Data

Definition at line 52 of file Event/RootEventData/include/RootEventData/TDigiEvent.h.

52{ return m_tofDigiCol; };

Referenced by TofDigiCnv::DataObjectToTObject().

◆ getTofDigiCol() [2/3]

const TObjArray * TDigiEvent::getTofDigiCol ( ) const
inline

retrieve the whole TObjArray of TofDigi Data

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootEventData/TDigiEvent.h.

52{ return m_tofDigiCol; };

◆ getTofDigiCol() [3/3]

const TObjArray * TDigiEvent::getTofDigiCol ( ) const
inline

retrieve the whole TObjArray of TofDigi Data

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/RootEventData/TDigiEvent.h.

52{ return m_tofDigiCol; };

◆ initialize() [1/3]

void TDigiEvent::initialize ( Bool_t fromMc = true)

Definition at line 65 of file TDigiEvent.cxx.

65{ m_fromMc = fromMc; }

◆ initialize() [2/3]

void TDigiEvent::initialize ( Bool_t fromMc = true)

◆ initialize() [3/3]

void TDigiEvent::initialize ( Bool_t fromMc = true)

◆ Print() [1/3]

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

Definition at line 95 of file TDigiEvent.cxx.

95 {
96 TObject::Print( option );
97 std::cout.precision( 2 );
98 if ( m_mdcDigiCol )
99 std::cout << "Number of TMdcDigis " << m_mdcDigiCol->GetEntries() << std::endl;
100 else std::cout << "Number of TMdcDigis 0" << std::endl;
101}

◆ Print() [2/3]

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

◆ Print() [3/3]

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

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