#include <TDstEvent.h>
Public Member Functions | |
TDstEvent () | |
virtual | ~TDstEvent () |
void | initialize () |
void | Clear (Option_t *option="") |
void | Print (Option_t *option="") const |
const TObjArray * | getMdcTrackCol () const |
retrieve the whole TObjArray of MdcTrack Data | |
void | addMdcTrack (TMdcTrack *Track) |
Add a TkrTrack into the Mdc data collection. | |
const TMdcTrack * | getMdcTrack (Int_t i) const |
retrieve a MdcTrack from the collection, using the index into the array | |
void | clearMdcTrackCol () |
clear the whole array (necessary because of the consts-s) | |
const TObjArray * | getEmcTrackCol () const |
retrieve the whole TObjArray of EmcTrack Data | |
void | addEmcTrack (TEmcTrack *Track) |
Add a TkrTrack into the Emc data collection. | |
const TEmcTrack * | getEmcTrack (Int_t i) const |
retrieve a EmcTrack from the collection, using the index into the array | |
void | clearEmcTrackCol () |
clear the whole array (necessary because of the consts-s) | |
const TObjArray * | getTofTrackCol () const |
retrieve the whole TObjArray of TofTrack Data | |
void | addTofTrack (TTofTrack *Track) |
Add a TofTrack into the TOF Data collection. | |
const TTofTrack * | getTofTrack (Int_t i) const |
retrieve a TofTrack From the collection, using the index into the array | |
void | clearTofTrackCol () |
clear the whole array | |
const TObjArray * | getMucTrackCol () const |
retrieve the whole TObjArray of MucTrack Data | |
void | addMucTrack (TMucTrack *Track) |
Add a MucTrack into the TOF Data collection. | |
const TMucTrack * | getMucTrack (Int_t i) const |
retrieve a MucTrack From the collection, using the index into the array | |
void | clearMucTrackCol () |
clear the whole array | |
const TObjArray * | getMdcDedxCol () const |
retrieve the whole TObjArray of Dedx Data | |
void | addMdcDedx (TMdcDedx *Track) |
Add a Dedx into the TOF Data collection. | |
const TMdcDedx * | getMdcDedx (Int_t i) const |
retrieve a TofTrack From the collection, using the index into the array | |
void | clearMdcDedxCol () |
clear the whole array | |
const TObjArray * | getExtTrackCol () const |
retrieve the whole TObjArray of Ext Data | |
void | addExtTrack (TExtTrack *Track) |
Add a ExtTrack into the Ext Data collection. | |
const TExtTrack * | getExtTrack (Int_t i) const |
retrieve a MucTrack From the collection, using the index into the array | |
void | clearExtTrackCol () |
clear the whole array | |
const TObjArray * | getMdcKalTrackCol () const |
void | addMdcKalTrack (TMdcKalTrack *Track) |
const TMdcKalTrack * | getMdcKalTrack (Int_t i) const |
void | clearMdcKalTrackCol () |
Private Attributes | |
TObjArray * | m_emcTrackCol |
TObjArray * | m_mdcTrackCol |
TObjArray * | m_tofTrackCol |
TObjArray * | m_mucTrackCol |
TObjArray * | m_mdcDedxCol |
TObjArray * | m_extTrackCol |
TObjArray * | m_mdcKalTrackCol |
Static Private Attributes | |
static TObjArray * | s_staticEmcTrackCol |
data members to store Emc track data | |
static TObjArray * | s_staticMdcTrackCol |
data members to store Mdc data | |
static TObjArray * | s_staticTofTrackCol = 0 |
data members to store Tof data | |
static TObjArray * | s_staticMucTrackCol = 0 |
data members to store Muc data | |
static TObjArray * | s_staticMdcDedxCol = 0 |
data members to store Dedx data | |
static TObjArray * | s_staticExtTrackCol = 0 |
data members to store Ext data | |
static TObjArray * | s_staticMdcKalTrackCol = 0 |
data members to store MdcKal data |
Definition at line 16 of file TDstEvent.h.
TDstEvent::TDstEvent | ( | ) |
Definition at line 17 of file TDstEvent.cxx.
00018 { 00019 //Dst Track 00020 00021 if (!s_staticMdcTrackCol) { 00022 s_staticMdcTrackCol = new TObjArray(); 00023 } 00024 m_mdcTrackCol = s_staticMdcTrackCol; 00025 00026 if (!s_staticEmcTrackCol ){ 00027 s_staticEmcTrackCol = new TObjArray(); 00028 } 00029 m_emcTrackCol = s_staticEmcTrackCol; 00030 00031 if (! s_staticTofTrackCol ){ 00032 s_staticTofTrackCol = new TObjArray(); 00033 } 00034 m_tofTrackCol = s_staticTofTrackCol; 00035 00036 if (! s_staticMucTrackCol ){ 00037 s_staticMucTrackCol = new TObjArray(); 00038 } 00039 m_mucTrackCol = s_staticMucTrackCol; 00040 00041 if (! s_staticMdcDedxCol ){ 00042 s_staticMdcDedxCol = new TObjArray(); 00043 } 00044 m_mdcDedxCol = s_staticMdcDedxCol; 00045 00046 if (! s_staticExtTrackCol ){ 00047 s_staticExtTrackCol = new TObjArray(); 00048 } 00049 m_extTrackCol = s_staticExtTrackCol; 00050 00051 00052 if (! s_staticMdcKalTrackCol ){ 00053 s_staticMdcKalTrackCol = new TObjArray(); 00054 } 00055 m_mdcKalTrackCol = s_staticMdcKalTrackCol; 00056 00057 Clear(); 00058 00059 }
TDstEvent::~TDstEvent | ( | ) | [virtual] |
Definition at line 62 of file TDstEvent.cxx.
References m_emcTrackCol, m_extTrackCol, m_mdcDedxCol, m_mdcKalTrackCol, m_mdcTrackCol, m_mucTrackCol, m_tofTrackCol, s_staticEmcTrackCol, s_staticExtTrackCol, s_staticMdcDedxCol, s_staticMdcKalTrackCol, s_staticMdcTrackCol, s_staticMucTrackCol, and s_staticTofTrackCol.
00062 { 00063 00064 /**************************** Dst Track *************************/ 00065 if(m_mdcTrackCol == s_staticMdcTrackCol) s_staticMdcTrackCol = 0; 00066 m_mdcTrackCol->Delete(); 00067 delete m_mdcTrackCol; 00068 m_mdcTrackCol = 0; 00069 00070 if(m_emcTrackCol == s_staticEmcTrackCol) s_staticEmcTrackCol = 0; 00071 m_emcTrackCol->Delete(); 00072 delete m_emcTrackCol; 00073 m_emcTrackCol = 0; 00074 00075 if(m_tofTrackCol == s_staticTofTrackCol ) s_staticTofTrackCol = 0; 00076 m_tofTrackCol->Delete(); 00077 delete m_tofTrackCol; 00078 m_tofTrackCol = 0; 00079 00080 if(m_mucTrackCol == s_staticMucTrackCol ) s_staticMucTrackCol = 0; 00081 m_mucTrackCol->Delete(); 00082 delete m_mucTrackCol; 00083 m_mucTrackCol = 0; 00084 00085 if(m_mdcDedxCol == s_staticMdcDedxCol ) s_staticMdcDedxCol = 0; 00086 m_mdcDedxCol->Delete(); 00087 delete m_mdcDedxCol; 00088 m_mdcDedxCol = 0; 00089 00090 if(m_extTrackCol == s_staticExtTrackCol ) s_staticExtTrackCol = 0; 00091 m_extTrackCol->Delete(); 00092 delete m_extTrackCol; 00093 m_extTrackCol = 0; 00094 00095 if(m_mdcKalTrackCol == s_staticMdcKalTrackCol ) s_staticMdcKalTrackCol = 0; 00096 m_mdcKalTrackCol->Delete(); 00097 delete m_mdcKalTrackCol; 00098 m_mdcKalTrackCol = 0; 00099 00100 00101 }
void TDstEvent::addEmcTrack | ( | TEmcTrack * | Track | ) |
Add a TkrTrack into the Emc data collection.
Definition at line 130 of file TDstEvent.cxx.
References m_emcTrackCol, and Track.
Referenced by EmcTrackCnv::DataObjectToTObject().
00130 { 00131 m_emcTrackCol->Add(Track); 00132 }
void TDstEvent::addExtTrack | ( | TExtTrack * | Track | ) |
Add a ExtTrack into the Ext Data collection.
Definition at line 175 of file TDstEvent.cxx.
References m_extTrackCol, and Track.
Referenced by ExtTrackCnv::DataObjectToTObject().
00175 { 00176 m_extTrackCol->Add(Track); 00177 }
void TDstEvent::addMdcDedx | ( | TMdcDedx * | Track | ) |
Add a Dedx into the TOF Data collection.
Definition at line 163 of file TDstEvent.cxx.
References m_mdcDedxCol, and Track.
Referenced by MdcDedxCnv::DataObjectToTObject().
00163 { 00164 m_mdcDedxCol->Add(Track); 00165 }
void TDstEvent::addMdcKalTrack | ( | TMdcKalTrack * | Track | ) |
Definition at line 186 of file TDstEvent.cxx.
References m_mdcKalTrackCol, and Track.
Referenced by MdcKalTrackCnv::DataObjectToTObject().
00186 { 00187 m_mdcKalTrackCol->Add(Track); 00188 }
void TDstEvent::addMdcTrack | ( | TMdcTrack * | Track | ) |
Add a TkrTrack into the Mdc data collection.
Definition at line 120 of file TDstEvent.cxx.
References m_mdcTrackCol, and Track.
Referenced by MdcTrackCnv::DataObjectToTObject().
00120 { 00121 m_mdcTrackCol->Add(Track); 00122 }
void TDstEvent::addMucTrack | ( | TMucTrack * | Track | ) |
Add a MucTrack into the TOF Data collection.
Definition at line 152 of file TDstEvent.cxx.
References m_mucTrackCol, and Track.
Referenced by MucTrackCnv::DataObjectToTObject().
00152 { 00153 m_mucTrackCol->Add(Track); 00154 }
void TDstEvent::addTofTrack | ( | TTofTrack * | Track | ) |
Add a TofTrack into the TOF Data collection.
Definition at line 141 of file TDstEvent.cxx.
References m_tofTrackCol, and Track.
Referenced by TofTrackCnv::DataObjectToTObject().
00141 { 00142 m_tofTrackCol->Add(Track); 00143 }
void TDstEvent::Clear | ( | Option_t * | option = "" |
) |
void TDstEvent::clearEmcTrackCol | ( | ) | [inline] |
clear the whole array (necessary because of the consts-s)
Definition at line 57 of file TDstEvent.h.
References m_emcTrackCol.
Referenced by EmcTrackCnv::DataObjectToTObject().
00057 { m_emcTrackCol->Clear(); }
void TDstEvent::clearExtTrackCol | ( | ) | [inline] |
clear the whole array
Definition at line 105 of file TDstEvent.h.
References m_extTrackCol.
Referenced by ExtTrackCnv::DataObjectToTObject().
00105 { m_extTrackCol->Clear();}
void TDstEvent::clearMdcDedxCol | ( | ) | [inline] |
clear the whole array
Definition at line 93 of file TDstEvent.h.
References m_mdcDedxCol.
Referenced by MdcDedxCnv::DataObjectToTObject().
00093 { m_mdcDedxCol->Clear();}
void TDstEvent::clearMdcKalTrackCol | ( | ) | [inline] |
Definition at line 111 of file TDstEvent.h.
References m_mdcKalTrackCol.
Referenced by MdcKalTrackCnv::DataObjectToTObject().
00111 { m_mdcKalTrackCol->Clear();}
void TDstEvent::clearMdcTrackCol | ( | ) | [inline] |
clear the whole array (necessary because of the consts-s)
Definition at line 45 of file TDstEvent.h.
References m_mdcTrackCol.
Referenced by MdcTrackCnv::DataObjectToTObject().
00045 { m_mdcTrackCol->Clear(); }
void TDstEvent::clearMucTrackCol | ( | ) | [inline] |
clear the whole array
Definition at line 81 of file TDstEvent.h.
References m_mucTrackCol.
Referenced by MucTrackCnv::DataObjectToTObject().
00081 { m_mucTrackCol->Clear();}
void TDstEvent::clearTofTrackCol | ( | ) | [inline] |
clear the whole array
Definition at line 69 of file TDstEvent.h.
References m_tofTrackCol.
Referenced by TofTrackCnv::DataObjectToTObject().
00069 { m_tofTrackCol->Clear();}
const TEmcTrack * TDstEvent::getEmcTrack | ( | Int_t | i | ) | const |
retrieve a EmcTrack from the collection, using the index into the array
Definition at line 134 of file TDstEvent.cxx.
References m_emcTrackCol.
00134 { 00135 if(Int_t(i) >= m_emcTrackCol->GetEntries()) 00136 return 0; 00137 return (TEmcTrack*)m_emcTrackCol->At(i); 00138 }
const TObjArray* TDstEvent::getEmcTrackCol | ( | ) | const [inline] |
retrieve the whole TObjArray of EmcTrack Data
Definition at line 48 of file TDstEvent.h.
References m_emcTrackCol.
Referenced by EmcTrackCnv::DataObjectToTObject().
00048 { return m_emcTrackCol; };
const TExtTrack * TDstEvent::getExtTrack | ( | Int_t | i | ) | const |
retrieve a MucTrack From the collection, using the index into the array
Definition at line 179 of file TDstEvent.cxx.
References m_extTrackCol.
00179 { 00180 if(Int_t(i) >=m_extTrackCol->GetEntries()) 00181 return 0; 00182 return (TExtTrack*) m_extTrackCol->At(i); 00183 }
const TObjArray* TDstEvent::getExtTrackCol | ( | ) | const [inline] |
retrieve the whole TObjArray of Ext Data
Definition at line 96 of file TDstEvent.h.
References m_extTrackCol.
Referenced by ExtTrackCnv::DataObjectToTObject().
00096 { return m_extTrackCol; };
const TMdcDedx * TDstEvent::getMdcDedx | ( | Int_t | i | ) | const |
retrieve a TofTrack From the collection, using the index into the array
Definition at line 168 of file TDstEvent.cxx.
References m_mdcDedxCol.
00168 { 00169 if(Int_t(i) >=m_mdcDedxCol->GetEntries()) 00170 return 0; 00171 return (TMdcDedx*) m_mdcDedxCol->At(i); 00172 }
const TObjArray* TDstEvent::getMdcDedxCol | ( | ) | const [inline] |
retrieve the whole TObjArray of Dedx Data
Definition at line 84 of file TDstEvent.h.
References m_mdcDedxCol.
Referenced by MdcDedxCnv::DataObjectToTObject().
00084 { return m_mdcDedxCol; };
const TMdcKalTrack * TDstEvent::getMdcKalTrack | ( | Int_t | i | ) | const |
Definition at line 190 of file TDstEvent.cxx.
References m_mdcKalTrackCol.
00190 { 00191 if(Int_t(i) >=m_mdcKalTrackCol->GetEntries()) 00192 return 0; 00193 return (TMdcKalTrack*) m_mdcKalTrackCol->At(i); 00194 }
const TObjArray* TDstEvent::getMdcKalTrackCol | ( | ) | const [inline] |
Definition at line 108 of file TDstEvent.h.
References m_mdcKalTrackCol.
Referenced by MdcKalTrackCnv::DataObjectToTObject().
00108 { return m_mdcKalTrackCol; };
const TMdcTrack * TDstEvent::getMdcTrack | ( | Int_t | i | ) | const |
retrieve a MdcTrack from the collection, using the index into the array
Definition at line 124 of file TDstEvent.cxx.
References m_mdcTrackCol.
00124 { 00125 if (Int_t(i) >= m_mdcTrackCol->GetEntries()) 00126 return 0; 00127 return (TMdcTrack*)m_mdcTrackCol->At(i); 00128 }
const TObjArray* TDstEvent::getMdcTrackCol | ( | ) | const [inline] |
retrieve the whole TObjArray of MdcTrack Data
Definition at line 36 of file TDstEvent.h.
References m_mdcTrackCol.
Referenced by MdcTrackCnv::DataObjectToTObject().
00036 { return m_mdcTrackCol; };
const TMucTrack * TDstEvent::getMucTrack | ( | Int_t | i | ) | const |
retrieve a MucTrack From the collection, using the index into the array
Definition at line 157 of file TDstEvent.cxx.
References m_mucTrackCol.
00157 { 00158 if(Int_t(i) >=m_mucTrackCol->GetEntries()) 00159 return 0; 00160 return (TMucTrack*) m_mucTrackCol->At(i); 00161 }
const TObjArray* TDstEvent::getMucTrackCol | ( | ) | const [inline] |
retrieve the whole TObjArray of MucTrack Data
Definition at line 72 of file TDstEvent.h.
References m_mucTrackCol.
Referenced by MucTrackCnv::DataObjectToTObject().
00072 { return m_mucTrackCol; };
const TTofTrack * TDstEvent::getTofTrack | ( | Int_t | i | ) | const |
retrieve a TofTrack From the collection, using the index into the array
Definition at line 146 of file TDstEvent.cxx.
References m_tofTrackCol.
00146 { 00147 if(Int_t(i) >=m_tofTrackCol->GetEntries()) 00148 return 0; 00149 return (TTofTrack*) m_tofTrackCol->At(i); 00150 }
const TObjArray* TDstEvent::getTofTrackCol | ( | ) | const [inline] |
retrieve the whole TObjArray of TofTrack Data
Definition at line 60 of file TDstEvent.h.
References m_tofTrackCol.
Referenced by TofTrackCnv::DataObjectToTObject().
00060 { return m_tofTrackCol; };
void TDstEvent::initialize | ( | ) |
void TDstEvent::Print | ( | Option_t * | option = "" |
) | const |
TObjArray* TDstEvent::m_emcTrackCol [private] |
Definition at line 118 of file TDstEvent.h.
Referenced by addEmcTrack(), clearEmcTrackCol(), getEmcTrack(), getEmcTrackCol(), and ~TDstEvent().
TObjArray* TDstEvent::m_extTrackCol [private] |
Definition at line 138 of file TDstEvent.h.
Referenced by addExtTrack(), clearExtTrackCol(), getExtTrack(), getExtTrackCol(), and ~TDstEvent().
TObjArray* TDstEvent::m_mdcDedxCol [private] |
Definition at line 134 of file TDstEvent.h.
Referenced by addMdcDedx(), clearMdcDedxCol(), getMdcDedx(), getMdcDedxCol(), and ~TDstEvent().
TObjArray* TDstEvent::m_mdcKalTrackCol [private] |
Definition at line 142 of file TDstEvent.h.
Referenced by addMdcKalTrack(), clearMdcKalTrackCol(), getMdcKalTrack(), getMdcKalTrackCol(), and ~TDstEvent().
TObjArray* TDstEvent::m_mdcTrackCol [private] |
Definition at line 122 of file TDstEvent.h.
Referenced by addMdcTrack(), clearMdcTrackCol(), getMdcTrack(), getMdcTrackCol(), and ~TDstEvent().
TObjArray* TDstEvent::m_mucTrackCol [private] |
Definition at line 130 of file TDstEvent.h.
Referenced by addMucTrack(), clearMucTrackCol(), getMucTrack(), getMucTrackCol(), and ~TDstEvent().
TObjArray* TDstEvent::m_tofTrackCol [private] |
Definition at line 126 of file TDstEvent.h.
Referenced by addTofTrack(), clearTofTrackCol(), getTofTrack(), getTofTrackCol(), and ~TDstEvent().
TObjArray* TDstEvent::s_staticEmcTrackCol [static, private] |
data members to store Emc track data
Definition at line 117 of file TDstEvent.h.
Referenced by ~TDstEvent().
TObjArray * TDstEvent::s_staticExtTrackCol = 0 [static, private] |
data members to store Ext data
Definition at line 137 of file TDstEvent.h.
Referenced by ~TDstEvent().
TObjArray * TDstEvent::s_staticMdcDedxCol = 0 [static, private] |
data members to store Dedx data
Definition at line 133 of file TDstEvent.h.
Referenced by ~TDstEvent().
TObjArray * TDstEvent::s_staticMdcKalTrackCol = 0 [static, private] |
data members to store MdcKal data
Definition at line 141 of file TDstEvent.h.
Referenced by ~TDstEvent().
TObjArray* TDstEvent::s_staticMdcTrackCol [static, private] |
data members to store Mdc data
Definition at line 121 of file TDstEvent.h.
Referenced by ~TDstEvent().
TObjArray * TDstEvent::s_staticMucTrackCol = 0 [static, private] |
data members to store Muc data
Definition at line 129 of file TDstEvent.h.
Referenced by ~TDstEvent().
TObjArray * TDstEvent::s_staticTofTrackCol = 0 [static, private] |
data members to store Tof data
Definition at line 125 of file TDstEvent.h.
Referenced by ~TDstEvent().