#include <TMcHitEvent.h>
Public Member Functions | |
void | addMcDigiEmc (TMcDigiEmc *digi) |
Add a McHitMdc into the Mdc Data collection. | |
void | addMcDigiEmc (TMcDigiEmc *digi) |
Add a McHitMdc into the Mdc Data collection. | |
void | addMcHitMdc (TMcHitMdc *hit) |
Add a McHitMdc into the Mdc Data collection. | |
void | addMcHitMdc (TMcHitMdc *hit) |
Add a McHitMdc into the Mdc Data collection. | |
void | addMcHitTof (TMcHitTof *hit) |
Add a McHitTof into the TOF Data collection. | |
void | addMcHitTof (TMcHitTof *hit) |
Add a McHitTof into the TOF Data collection. | |
void | Clear (Option_t *option="") |
void | Clear (Option_t *option="") |
Double_t | getBeamTime () const |
Double_t | getBeamTime () const |
const TMcDigiEmc * | getMcDigiEmc (Int_t i) const |
retrieve a McHitMdc From the collection, using the index into the array | |
const TMcDigiEmc * | getMcDigiEmc (Int_t i) const |
retrieve a McHitMdc From the collection, using the index into the array | |
const TObjArray * | getMcDigiEmcCol () const |
retrieve the whole TObjArray of McHitMdc Data | |
const TObjArray * | getMcDigiEmcCol () const |
retrieve the whole TObjArray of McHitMdc Data | |
const TMcHitMdc * | getMcHitMdc (Int_t i) const |
retrieve a McHitMdc From the collection, using the index into the array | |
const TMcHitMdc * | getMcHitMdc (Int_t i) const |
retrieve a McHitMdc From the collection, using the index into the array | |
const TObjArray * | getMcHitMdcCol () const |
retrieve the whole TObjArray of McHitMdc Data | |
const TObjArray * | getMcHitMdcCol () const |
retrieve the whole TObjArray of McHitMdc Data | |
const TMcHitTof * | getMcHitTof (Int_t i) const |
retrieve a McHitTof From the collection, using the index into the array | |
const TMcHitTof * | getMcHitTof (Int_t i) const |
retrieve a McHitTof From the collection, using the index into the array | |
const TObjArray * | getMcHitTofCol () const |
retrieve the whole TObjArray of McHitTof Data | |
const TObjArray * | getMcHitTofCol () const |
retrieve the whole TObjArray of McHitTof Data | |
void | Print (Option_t *option="") const |
void | Print (Option_t *option="") const |
void | setBeamTime (Double_t time) |
void | setBeamTime (Double_t time) |
TMcHitEvent () | |
TMcHitEvent () | |
virtual | ~TMcHitEvent () |
virtual | ~TMcHitEvent () |
Private Attributes | |
Double_t | m_beamTime |
TObjArray * | m_tEmcMcDigiCol |
data members to store Mdc data | |
TObjArray * | m_tEmcMcDigiCol |
data members to store Mdc data | |
TObjArray * | m_tMdcMcHitCol |
data members to store Mdc data | |
TObjArray * | m_tMdcMcHitCol |
data members to store Mdc data | |
TObjArray * | m_tTofMcHitCol |
data members to store Tof data | |
TObjArray * | m_tTofMcHitCol |
data members to store Tof data |
|
|
|
00017 { 00018 m_tTofMcHitCol->Delete(); 00019 delete m_tTofMcHitCol; 00020 m_tTofMcHitCol = 0; 00021 00022 m_tMdcMcHitCol->Delete(); 00023 delete m_tMdcMcHitCol; 00024 m_tMdcMcHitCol = 0; 00025 00026 m_tEmcMcDigiCol->Delete(); 00027 delete m_tEmcMcDigiCol; 00028 m_tEmcMcDigiCol = 0; 00029 }
|
|
|
|
|
|
Add a McHitMdc into the Mdc Data collection.
|
|
Add a McHitMdc into the Mdc Data collection.
00052 { 00053 m_tEmcMcDigiCol->Add(mcDigi); 00054 }
|
|
Add a McHitMdc into the Mdc Data collection.
|
|
Add a McHitMdc into the Mdc Data collection.
00074 { 00075 m_tMdcMcHitCol->Add(mcHit); 00076 }
|
|
Add a McHitTof into the TOF Data collection.
|
|
Add a McHitTof into the TOF Data collection.
00063 { 00064 m_tTofMcHitCol->Add(mcHit); 00065 }
|
|
|
|
00033 { 00034 int i = 0; 00035 00036 for(i = 0; i < m_tTofMcHitCol->GetEntries(); i++)delete m_tTofMcHitCol->At(i); 00037 m_tTofMcHitCol->Clear(); 00038 00039 for(i = 0; i < m_tMdcMcHitCol->GetEntries(); i++)delete m_tMdcMcHitCol->At(i); 00040 m_tMdcMcHitCol->Clear(); 00041 00042 for(i = 0; i < m_tEmcMcDigiCol->GetEntries(); i++)delete m_tEmcMcDigiCol->At(i); 00043 m_tEmcMcDigiCol->Clear(); 00044 }
|
|
00050 {return m_beamTime;}
|
|
00050 {return m_beamTime;}
|
|
retrieve a McHitMdc From the collection, using the index into the array
|
|
retrieve a McHitMdc From the collection, using the index into the array
00057 { 00058 if(Int_t(i) >=m_tEmcMcDigiCol->GetEntries()) return 0; 00059 else return (TMcDigiEmc*) m_tEmcMcDigiCol->At(i); 00060 }
|
|
retrieve the whole TObjArray of McHitMdc Data
00041 { return m_tEmcMcDigiCol; };
|
|
retrieve the whole TObjArray of McHitMdc Data
00041 { return m_tEmcMcDigiCol; };
|
|
retrieve a McHitMdc From the collection, using the index into the array
|
|
retrieve a McHitMdc From the collection, using the index into the array
00079 { 00080 if(Int_t(i) >=m_tMdcMcHitCol->GetEntries()) return 0; 00081 else return (TMcHitMdc*) m_tMdcMcHitCol->At(i); 00082 }
|
|
retrieve the whole TObjArray of McHitMdc Data
00032 { return m_tMdcMcHitCol; };
|
|
retrieve the whole TObjArray of McHitMdc Data
00032 { return m_tMdcMcHitCol; };
|
|
retrieve a McHitTof From the collection, using the index into the array
|
|
retrieve a McHitTof From the collection, using the index into the array
00068 { 00069 if(Int_t(i) >=m_tTofMcHitCol->GetEntries()) return 0; 00070 else return (TMcHitTof*) m_tTofMcHitCol->At(i); 00071 }
|
|
retrieve the whole TObjArray of McHitTof Data
00023 { return m_tTofMcHitCol; };
|
|
retrieve the whole TObjArray of McHitTof Data
00023 { return m_tTofMcHitCol; };
|
|
|
|
00047 { 00048 TObject::Print(option); 00049 }
|
|
00049 {m_beamTime = time;}
|
|
00049 {m_beamTime = time;}
|
|
|
|
data members to store Mdc data
|
|
data members to store Mdc data
|
|
data members to store Mdc data
|
|
data members to store Mdc data
|
|
data members to store Tof data
|
|
data members to store Tof data
|