CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
TMcHitEvent Class Reference

#include <TMcHitEvent.h>

+ Inheritance diagram for TMcHitEvent:

Public Member Functions

 TMcHitEvent ()
 
virtual ~TMcHitEvent ()
 
void Clear (Option_t *option="")
 
void Print (Option_t *option="") const
 
const TObjArray * getMcHitTofCol () const
 retrieve the whole TObjArray of McHitTof Data
 
void addMcHitTof (TMcHitTof *hit)
 Add a McHitTof into the TOF Data collection.
 
const TMcHitTofgetMcHitTof (Int_t i) const
 retrieve a McHitTof From the collection, using the index into the array
 
const TObjArray * getMcHitMdcCol () const
 retrieve the whole TObjArray of McHitMdc Data
 
void addMcHitMdc (TMcHitMdc *hit)
 Add a McHitMdc into the Mdc Data collection.
 
const TMcHitMdcgetMcHitMdc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
 
const TObjArray * getMcHitCgemCol () const
 retrieve the whole TObjArray of McHitCgem Data
 
void addMcHitCgem (TMcHitCgem *hit)
 Add a McHitCgem into the Cgem Data collection.
 
const TMcHitCgemgetMcHitCgem (Int_t i) const
 retrieve a McHitCgem From the collection, using the index into the array
 
const TObjArray * getMcDigiEmcCol () const
 retrieve the whole TObjArray of McHitMdc Data
 
void addMcDigiEmc (TMcDigiEmc *digi)
 Add a McHitMdc into the Mdc Data collection.
 
const TMcDigiEmcgetMcDigiEmc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
 
void setBeamTime (Double_t time)
 
Double_t getBeamTime () const
 
 TMcHitEvent ()
 
virtual ~TMcHitEvent ()
 
void Clear (Option_t *option="")
 
void Print (Option_t *option="") const
 
const TObjArray * getMcHitTofCol () const
 retrieve the whole TObjArray of McHitTof Data
 
void addMcHitTof (TMcHitTof *hit)
 Add a McHitTof into the TOF Data collection.
 
const TMcHitTofgetMcHitTof (Int_t i) const
 retrieve a McHitTof From the collection, using the index into the array
 
const TObjArray * getMcHitMdcCol () const
 retrieve the whole TObjArray of McHitMdc Data
 
void addMcHitMdc (TMcHitMdc *hit)
 Add a McHitMdc into the Mdc Data collection.
 
const TMcHitMdcgetMcHitMdc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
 
const TObjArray * getMcHitCgemCol () const
 retrieve the whole TObjArray of McHitCgem Data
 
void addMcHitCgem (TMcHitCgem *hit)
 Add a McHitCgem into the Cgem Data collection.
 
const TMcHitCgemgetMcHitCgem (Int_t i) const
 retrieve a McHitCgem From the collection, using the index into the array
 
const TObjArray * getMcDigiEmcCol () const
 retrieve the whole TObjArray of McHitMdc Data
 
void addMcDigiEmc (TMcDigiEmc *digi)
 Add a McHitMdc into the Mdc Data collection.
 
const TMcDigiEmcgetMcDigiEmc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
 
void setBeamTime (Double_t time)
 
Double_t getBeamTime () const
 
 TMcHitEvent ()
 
virtual ~TMcHitEvent ()
 
void Clear (Option_t *option="")
 
void Print (Option_t *option="") const
 
const TObjArray * getMcHitTofCol () const
 retrieve the whole TObjArray of McHitTof Data
 
void addMcHitTof (TMcHitTof *hit)
 Add a McHitTof into the TOF Data collection.
 
const TMcHitTofgetMcHitTof (Int_t i) const
 retrieve a McHitTof From the collection, using the index into the array
 
const TObjArray * getMcHitMdcCol () const
 retrieve the whole TObjArray of McHitMdc Data
 
void addMcHitMdc (TMcHitMdc *hit)
 Add a McHitMdc into the Mdc Data collection.
 
const TMcHitMdcgetMcHitMdc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
 
const TObjArray * getMcHitCgemCol () const
 retrieve the whole TObjArray of McHitCgem Data
 
void addMcHitCgem (TMcHitCgem *hit)
 Add a McHitCgem into the Cgem Data collection.
 
const TMcHitCgemgetMcHitCgem (Int_t i) const
 retrieve a McHitCgem From the collection, using the index into the array
 
const TObjArray * getMcDigiEmcCol () const
 retrieve the whole TObjArray of McHitMdc Data
 
void addMcDigiEmc (TMcDigiEmc *digi)
 Add a McHitMdc into the Mdc Data collection.
 
const TMcDigiEmcgetMcDigiEmc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
 
void setBeamTime (Double_t time)
 
Double_t getBeamTime () const
 

Detailed Description

Constructor & Destructor Documentation

◆ TMcHitEvent() [1/3]

TMcHitEvent::TMcHitEvent ( )

◆ ~TMcHitEvent() [1/3]

TMcHitEvent::~TMcHitEvent ( )
virtual

Definition at line 18 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

18 {
19 m_tTofMcHitCol->Delete();
20 delete m_tTofMcHitCol;
21 m_tTofMcHitCol = 0;
22
23 m_tMdcMcHitCol->Delete();
24 delete m_tMdcMcHitCol;
25 m_tMdcMcHitCol = 0;
26
27 m_tCgemMcHitCol->Delete();
28 delete m_tCgemMcHitCol;
29 m_tCgemMcHitCol = 0;
30
31 m_tEmcMcDigiCol->Delete();
32 delete m_tEmcMcDigiCol;
33 m_tEmcMcDigiCol = 0;
34}

◆ TMcHitEvent() [2/3]

TMcHitEvent::TMcHitEvent ( )

◆ ~TMcHitEvent() [2/3]

virtual TMcHitEvent::~TMcHitEvent ( )
virtual

◆ TMcHitEvent() [3/3]

TMcHitEvent::TMcHitEvent ( )

◆ ~TMcHitEvent() [3/3]

virtual TMcHitEvent::~TMcHitEvent ( )
virtual

Member Function Documentation

◆ addMcDigiEmc() [1/3]

void TMcHitEvent::addMcDigiEmc ( TMcDigiEmc digi)

Add a McHitMdc into the Mdc Data collection.

Emc.

Definition at line 60 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

60 {
61 m_tEmcMcDigiCol->Add(mcDigi);
62}

Referenced by BesRootIO::SaveEmcDigiRootEvent().

◆ addMcDigiEmc() [2/3]

void TMcHitEvent::addMcDigiEmc ( TMcDigiEmc digi)

Add a McHitMdc into the Mdc Data collection.

◆ addMcDigiEmc() [3/3]

void TMcHitEvent::addMcDigiEmc ( TMcDigiEmc digi)

Add a McHitMdc into the Mdc Data collection.

◆ addMcHitCgem() [1/3]

void TMcHitEvent::addMcHitCgem ( TMcHitCgem hit)

Add a McHitCgem into the Cgem Data collection.

Cgem.

Definition at line 93 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

93 {
94 m_tCgemMcHitCol->Add(mcHit);
95}

Referenced by BesRootIO::SaveCgemHitRoot().

◆ addMcHitCgem() [2/3]

void TMcHitEvent::addMcHitCgem ( TMcHitCgem hit)

Add a McHitCgem into the Cgem Data collection.

◆ addMcHitCgem() [3/3]

void TMcHitEvent::addMcHitCgem ( TMcHitCgem hit)

Add a McHitCgem into the Cgem Data collection.

◆ addMcHitMdc() [1/3]

void TMcHitEvent::addMcHitMdc ( TMcHitMdc hit)

Add a McHitMdc into the Mdc Data collection.

Mdc.

Definition at line 82 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

82 {
83 m_tMdcMcHitCol->Add(mcHit);
84}

Referenced by BesRootIO::SaveMdcHitRoot().

◆ addMcHitMdc() [2/3]

void TMcHitEvent::addMcHitMdc ( TMcHitMdc hit)

Add a McHitMdc into the Mdc Data collection.

◆ addMcHitMdc() [3/3]

void TMcHitEvent::addMcHitMdc ( TMcHitMdc hit)

Add a McHitMdc into the Mdc Data collection.

◆ addMcHitTof() [1/3]

void TMcHitEvent::addMcHitTof ( TMcHitTof hit)

Add a McHitTof into the TOF Data collection.

Tof.

Definition at line 71 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

71 {
72 m_tTofMcHitCol->Add(mcHit);
73}

Referenced by BesRootIO::SaveTofHitRoot().

◆ addMcHitTof() [2/3]

void TMcHitEvent::addMcHitTof ( TMcHitTof hit)

Add a McHitTof into the TOF Data collection.

◆ addMcHitTof() [3/3]

void TMcHitEvent::addMcHitTof ( TMcHitTof hit)

Add a McHitTof into the TOF Data collection.

◆ Clear() [1/3]

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

Definition at line 38 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

38 {
39 int i = 0;
40
41 for(i = 0; i < m_tTofMcHitCol->GetEntries(); i++)delete m_tTofMcHitCol->At(i);
42 m_tTofMcHitCol->Clear();
43
44 for(i = 0; i < m_tMdcMcHitCol->GetEntries(); i++)delete m_tMdcMcHitCol->At(i);
45 m_tMdcMcHitCol->Clear();
46
47 for(i = 0; i < m_tCgemMcHitCol->GetEntries(); i++)delete m_tCgemMcHitCol->At(i);
48 m_tCgemMcHitCol->Clear();
49
50 for(i = 0; i < m_tEmcMcDigiCol->GetEntries(); i++)delete m_tEmcMcDigiCol->At(i);
51 m_tEmcMcDigiCol->Clear();
52}

Referenced by ClassImp(), and BesRootIO::SaveHitRootEvent().

◆ Clear() [2/3]

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

◆ Clear() [3/3]

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

◆ getBeamTime() [1/3]

Double_t TMcHitEvent::getBeamTime ( ) const
inline

Definition at line 60 of file Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TMcHitEvent.h.

60{return m_beamTime;}

Referenced by BesTuningIO::GetTofRootHits().

◆ getBeamTime() [2/3]

Double_t TMcHitEvent::getBeamTime ( ) const
inline

Definition at line 60 of file Event/RootEventData/RootEventData-00-05-13/RootEventData/TMcHitEvent.h.

60{return m_beamTime;}

◆ getBeamTime() [3/3]

Double_t TMcHitEvent::getBeamTime ( ) const
inline

Definition at line 60 of file InstallArea/include/RootEventData/RootEventData/TMcHitEvent.h.

60{return m_beamTime;}

◆ getMcDigiEmc() [1/3]

const TMcDigiEmc * TMcHitEvent::getMcDigiEmc ( Int_t  i) const

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

Definition at line 65 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

65 {
66 if(Int_t(i) >=m_tEmcMcDigiCol->GetEntries()) return 0;
67 else return (TMcDigiEmc*) m_tEmcMcDigiCol->At(i);
68}

Referenced by BesTuningIO::GetEmcRootDigi().

◆ getMcDigiEmc() [2/3]

const TMcDigiEmc * TMcHitEvent::getMcDigiEmc ( Int_t  i) const

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

◆ getMcDigiEmc() [3/3]

const TMcDigiEmc * TMcHitEvent::getMcDigiEmc ( Int_t  i) const

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

◆ getMcDigiEmcCol() [1/3]

const TObjArray * TMcHitEvent::getMcDigiEmcCol ( ) const
inline

retrieve the whole TObjArray of McHitMdc Data

Definition at line 51 of file Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TMcHitEvent.h.

51{ return m_tEmcMcDigiCol; };

Referenced by BesTuningIO::GetEmcRootDigi().

◆ getMcDigiEmcCol() [2/3]

const TObjArray * TMcHitEvent::getMcDigiEmcCol ( ) const
inline

retrieve the whole TObjArray of McHitMdc Data

Definition at line 51 of file Event/RootEventData/RootEventData-00-05-13/RootEventData/TMcHitEvent.h.

51{ return m_tEmcMcDigiCol; };

◆ getMcDigiEmcCol() [3/3]

const TObjArray * TMcHitEvent::getMcDigiEmcCol ( ) const
inline

retrieve the whole TObjArray of McHitMdc Data

Definition at line 51 of file InstallArea/include/RootEventData/RootEventData/TMcHitEvent.h.

51{ return m_tEmcMcDigiCol; };

◆ getMcHitCgem() [1/3]

const TMcHitCgem * TMcHitEvent::getMcHitCgem ( Int_t  i) const

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

Definition at line 98 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

98 {
99 if(Int_t(i) >=m_tCgemMcHitCol->GetEntries()) return 0;
100 else return (TMcHitCgem*) m_tCgemMcHitCol->At(i);
101}

Referenced by BesTuningIO::GetCgemRootHits().

◆ getMcHitCgem() [2/3]

const TMcHitCgem * TMcHitEvent::getMcHitCgem ( Int_t  i) const

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

◆ getMcHitCgem() [3/3]

const TMcHitCgem * TMcHitEvent::getMcHitCgem ( Int_t  i) const

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

◆ getMcHitCgemCol() [1/3]

const TObjArray * TMcHitEvent::getMcHitCgemCol ( ) const
inline

retrieve the whole TObjArray of McHitCgem Data

Definition at line 42 of file Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TMcHitEvent.h.

42{ return m_tCgemMcHitCol; };

Referenced by BesTuningIO::GetCgemRootHits().

◆ getMcHitCgemCol() [2/3]

const TObjArray * TMcHitEvent::getMcHitCgemCol ( ) const
inline

retrieve the whole TObjArray of McHitCgem Data

Definition at line 42 of file Event/RootEventData/RootEventData-00-05-13/RootEventData/TMcHitEvent.h.

42{ return m_tCgemMcHitCol; };

◆ getMcHitCgemCol() [3/3]

const TObjArray * TMcHitEvent::getMcHitCgemCol ( ) const
inline

retrieve the whole TObjArray of McHitCgem Data

Definition at line 42 of file InstallArea/include/RootEventData/RootEventData/TMcHitEvent.h.

42{ return m_tCgemMcHitCol; };

◆ getMcHitMdc() [1/3]

const TMcHitMdc * TMcHitEvent::getMcHitMdc ( Int_t  i) const

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

Definition at line 87 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

87 {
88 if(Int_t(i) >=m_tMdcMcHitCol->GetEntries()) return 0;
89 else return (TMcHitMdc*) m_tMdcMcHitCol->At(i);
90}

Referenced by BesTuningIO::GetMdcRootHits().

◆ getMcHitMdc() [2/3]

const TMcHitMdc * TMcHitEvent::getMcHitMdc ( Int_t  i) const

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

◆ getMcHitMdc() [3/3]

const TMcHitMdc * TMcHitEvent::getMcHitMdc ( Int_t  i) const

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

◆ getMcHitMdcCol() [1/3]

const TObjArray * TMcHitEvent::getMcHitMdcCol ( ) const
inline

retrieve the whole TObjArray of McHitMdc Data

Definition at line 33 of file Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TMcHitEvent.h.

33{ return m_tMdcMcHitCol; };

Referenced by BesTuningIO::GetMdcRootHits().

◆ getMcHitMdcCol() [2/3]

const TObjArray * TMcHitEvent::getMcHitMdcCol ( ) const
inline

retrieve the whole TObjArray of McHitMdc Data

Definition at line 33 of file Event/RootEventData/RootEventData-00-05-13/RootEventData/TMcHitEvent.h.

33{ return m_tMdcMcHitCol; };

◆ getMcHitMdcCol() [3/3]

const TObjArray * TMcHitEvent::getMcHitMdcCol ( ) const
inline

retrieve the whole TObjArray of McHitMdc Data

Definition at line 33 of file InstallArea/include/RootEventData/RootEventData/TMcHitEvent.h.

33{ return m_tMdcMcHitCol; };

◆ getMcHitTof() [1/3]

const TMcHitTof * TMcHitEvent::getMcHitTof ( Int_t  i) const

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

Definition at line 76 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

76 {
77 if(Int_t(i) >=m_tTofMcHitCol->GetEntries()) return 0;
78 else return (TMcHitTof*) m_tTofMcHitCol->At(i);
79}

Referenced by BesTuningIO::GetTofRootHits().

◆ getMcHitTof() [2/3]

const TMcHitTof * TMcHitEvent::getMcHitTof ( Int_t  i) const

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

◆ getMcHitTof() [3/3]

const TMcHitTof * TMcHitEvent::getMcHitTof ( Int_t  i) const

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

◆ getMcHitTofCol() [1/3]

const TObjArray * TMcHitEvent::getMcHitTofCol ( ) const
inline

retrieve the whole TObjArray of McHitTof Data

Definition at line 24 of file Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TMcHitEvent.h.

24{ return m_tTofMcHitCol; };

Referenced by BesTuningIO::GetTofRootHits().

◆ getMcHitTofCol() [2/3]

const TObjArray * TMcHitEvent::getMcHitTofCol ( ) const
inline

retrieve the whole TObjArray of McHitTof Data

Definition at line 24 of file Event/RootEventData/RootEventData-00-05-13/RootEventData/TMcHitEvent.h.

24{ return m_tTofMcHitCol; };

◆ getMcHitTofCol() [3/3]

const TObjArray * TMcHitEvent::getMcHitTofCol ( ) const
inline

retrieve the whole TObjArray of McHitTof Data

Definition at line 24 of file InstallArea/include/RootEventData/RootEventData/TMcHitEvent.h.

24{ return m_tTofMcHitCol; };

◆ Print() [1/3]

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

Definition at line 55 of file bak_RootEventData-00-05-12/src/TMcHitEvent.cxx.

55 {
56 TObject::Print(option);
57}

◆ Print() [2/3]

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

◆ Print() [3/3]

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

◆ setBeamTime() [1/3]

void TMcHitEvent::setBeamTime ( Double_t  time)
inline

Definition at line 59 of file Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TMcHitEvent.h.

59{m_beamTime = time;}
Double_t time

Referenced by BesRootIO::SaveTofHitRoot().

◆ setBeamTime() [2/3]

void TMcHitEvent::setBeamTime ( Double_t  time)
inline

◆ setBeamTime() [3/3]

void TMcHitEvent::setBeamTime ( Double_t  time)
inline

Definition at line 59 of file InstallArea/include/RootEventData/RootEventData/TMcHitEvent.h.

59{m_beamTime = time;}

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