#include <TDisTrack.h>
Public Member Functions | |
void | addEmcShower (TRecEmcShower *Track) |
Add a TkrTrack into the Emc data collection. | |
void | addEmcShower (TRecEmcShower *Track) |
Add a TkrTrack into the Emc data collection. | |
void | addMucTrack (TRecMucTrack *Track) |
Add a MucTrack into the TOF Data collection. | |
void | addMucTrack (TRecMucTrack *Track) |
Add a MucTrack into the TOF Data collection. | |
void | addRecMdcHit (TRecMdcHit *Hit) |
Add a Rec Mdc Hit into the Mdc data collection. | |
void | addRecMdcHit (TRecMdcHit *Hit) |
Add a Rec Mdc Hit into the Mdc data collection. | |
void | addRecMdcTrack (TRecMdcTrack *Track) |
Add a TkrTrack into the Mdc data collection. | |
void | addRecMdcTrack (TRecMdcTrack *Track) |
Add a TkrTrack into the Mdc data collection. | |
void | addTofTrack (TRecTofTrack *Track) |
void | addTofTrack (TRecTofTrack *Track) |
void | Clear (Option_t *option="") |
void | Clear (Option_t *option="") |
void | clearEmcShowerCol () |
clear the whole array (necessary because of the consts-s) | |
void | clearEmcShowerCol () |
clear the whole array (necessary because of the consts-s) | |
void | clearMucTrackCol () |
clear the whole array | |
void | clearMucTrackCol () |
clear the whole array | |
void | clearRecMdcHitCol () |
clear the whole array (necessary because of the consts-s) | |
void | clearRecMdcHitCol () |
clear the whole array (necessary because of the consts-s) | |
void | clearRecMdcTrackCol () |
clear the whole array (necessary because of the consts-s) | |
void | clearRecMdcTrackCol () |
clear the whole array (necessary because of the consts-s) | |
void | clearTofTrackCol () |
clear the whole array | |
void | clearTofTrackCol () |
clear the whole array | |
const TRecEmcShower * | getEmcShower (Int_t i) const |
retrieve a EmcShower from the collection, using the index into the array | |
const TRecEmcShower * | getEmcShower (Int_t i) const |
retrieve a EmcShower from the collection, using the index into the array | |
const TObjArray * | getEmcShowerCol () const |
retrieve the whole TObjArray of EmcShower Data | |
const TObjArray * | getEmcShowerCol () const |
retrieve the whole TObjArray of EmcShower Data | |
int | getEmcShowerNum () |
int | getEmcShowerNum () |
int | getMdcHitNum () |
int | getMdcHitNum () |
int | getMdcTrackNum () |
int | getMdcTrackNum () |
const TRecMucTrack * | getMucTrack (Int_t i) const |
retrieve a MucTrack From the collection, using the index into the array | |
const TRecMucTrack * | getMucTrack (Int_t i) const |
retrieve a MucTrack From the collection, using the index into the array | |
const TObjArray * | getMucTrackCol () const |
retrieve the whole TObjArray of MucTrack Data | |
const TObjArray * | getMucTrackCol () const |
retrieve the whole TObjArray of MucTrack Data | |
int | getMucTrackNum () |
int | getMucTrackNum () |
const TRecMdcHit * | getRecMdcHit (Int_t i) const |
retrieve a RecMdcHit from the collection, using the index into the array | |
const TRecMdcHit * | getRecMdcHit (Int_t i) const |
retrieve a RecMdcHit from the collection, using the index into the array | |
const TObjArray * | getRecMdcHitCol () const |
retrieve the whole TObjArray of RecMdcHit Data | |
const TObjArray * | getRecMdcHitCol () const |
retrieve the whole TObjArray of RecMdcHit Data | |
const TRecMdcTrack * | getRecMdcTrack (Int_t i) const |
retrieve a MdcTrack from the collection, using the index into the array | |
const TRecMdcTrack * | getRecMdcTrack (Int_t i) const |
retrieve a MdcTrack from the collection, using the index into the array | |
const TObjArray * | getRecMdcTrackCol () const |
retrieve the whole TObjArray of RecMdcTrack Data | |
const TObjArray * | getRecMdcTrackCol () const |
retrieve the whole TObjArray of RecMdcTrack Data | |
const TRecTofTrack * | getTofTrack (Int_t i) const |
retrieve a TofTrack From the collection, using the index into the array | |
const TRecTofTrack * | getTofTrack (Int_t i) const |
retrieve a TofTrack From the collection, using the index into the array | |
const TObjArray * | getTofTrackCol () const |
retrieve the whole TObjArray of TofTrack Data | |
const TObjArray * | getTofTrackCol () const |
retrieve the whole TObjArray of TofTrack Data | |
int | getTofTrackNum () |
int | getTofTrackNum () |
void | initialize () |
void | initialize () |
void | Print (Option_t *option="") const |
void | Print (Option_t *option="") const |
TDisTrack () | |
TDisTrack () | |
virtual | ~TDisTrack () |
virtual | ~TDisTrack () |
Private Attributes | |
TObjArray * | m_recEmcShowerCol |
TObjArray * | m_recEmcShowerCol |
TObjArray * | m_recMdcHitCol |
TObjArray * | m_recMdcHitCol |
TObjArray * | m_recMdcTrackCol |
data members to store Mdc data | |
TObjArray * | m_recMdcTrackCol |
data members to store Mdc data | |
TObjArray * | m_recMucTrackCol |
TObjArray * | m_recMucTrackCol |
TObjArray * | m_recTofTrackCol |
TObjArray * | m_recTofTrackCol |
|
|
|
00030 { 00031 00032 00033 /**************************** Dst Track *************************/ 00034 00035 // delete m_recMdcTrackCol; 00036 if(m_recMdcTrackCol){ //m_recMdcTrackCol->Clear(); 00037 m_recMdcTrackCol->Delete(); 00038 delete m_recMdcTrackCol;} 00039 m_recMdcTrackCol = 0; 00040 00041 if(m_recMdcHitCol){ //m_recMdcHitCol->Clear(); 00042 m_recMdcHitCol->Delete(); 00043 delete m_recMdcHitCol;} 00044 m_recMdcHitCol = 0; 00045 00046 if(m_recTofTrackCol){// m_recTofTrackCol->Clear(); 00047 m_recTofTrackCol->Delete(); 00048 delete m_recTofTrackCol;} 00049 m_recTofTrackCol = 0; 00050 00051 if(m_recMucTrackCol){ //m_recMucTrackCol->Clear(); 00052 m_recMucTrackCol->Delete(); 00053 delete m_recMucTrackCol;} 00054 m_recMucTrackCol = 0; 00055 00056 if(m_recEmcShowerCol){//m_recEmcShowerCol->Clear(); 00057 m_recEmcShowerCol->Delete(); 00058 delete m_recEmcShowerCol;} 00059 m_recEmcShowerCol =0; 00060 00061 }
|
|
|
|
|
|
Add a TkrTrack into the Emc data collection.
|
|
Add a TkrTrack into the Emc data collection.
00152 { 00153 m_recEmcShowerCol->Add(Track); 00154 }
|
|
Add a MucTrack into the TOF Data collection.
|
|
Add a MucTrack into the TOF Data collection.
00141 { 00142 m_recMucTrackCol->Add(Track); 00143 }
|
|
Add a Rec Mdc Hit into the Mdc data collection.
|
|
Add a Rec Mdc Hit into the Mdc data collection.
00120 { 00121 m_recMdcHitCol->Add(Hit); 00122 }
|
|
Add a TkrTrack into the Mdc data collection.
|
|
Add a TkrTrack into the Mdc data collection.
00109 { 00110 m_recMdcTrackCol->Add(Track); 00111 }
|
|
|
|
00131 { 00132 m_recTofTrackCol->Add(Track); 00133 }
|
|
|
|
00068 { 00069 if(m_recMdcTrackCol){// m_recMdcTrackCol->Clear(); 00070 std::cout<<"step1"<<std::endl; 00071 // m_recMdcTrackCol->Delete(); 00072 delete m_recMdcTrackCol;} 00073 m_recMdcTrackCol = 0; 00074 00075 if(m_recMdcHitCol){ //m_recMdcHitCol->Clear(); 00076 std::cout<<"step2"<<std::endl; 00077 // m_recMdcHitCol->Delete(); 00078 delete m_recMdcHitCol;} 00079 m_recMdcHitCol = 0; 00080 00081 if(m_recTofTrackCol){ //m_recTofTrackCol->Clear(); 00082 std::cout<<"step3"<<std::endl; 00083 // m_recTofTrackCol->Delete(); 00084 delete m_recTofTrackCol;} 00085 m_recTofTrackCol = 0; 00086 00087 if(m_recMucTrackCol){ //m_recMucTrackCol->Clear(); 00088 std::cout<<"step4"<<std::endl; 00089 //; m_recMucTrackCol->Delete(); 00090 delete m_recMucTrackCol;} 00091 m_recMucTrackCol = 0; 00092 00093 if(m_recEmcShowerCol){//m_recEmcShowerCol->Clear(); 00094 std::cout<<"step5"<<std::endl; 00095 // m_recEmcShowerCol->Delete(); 00096 delete m_recEmcShowerCol;} 00097 m_recEmcShowerCol =0; 00098 00099 }
|
|
clear the whole array (necessary because of the consts-s)
00126 { m_recEmcShowerCol->Clear(); }
|
|
clear the whole array (necessary because of the consts-s)
00126 { m_recEmcShowerCol->Clear(); }
|
|
clear the whole array
00069 { m_recMucTrackCol->Clear();}
|
|
clear the whole array
00069 { m_recMucTrackCol->Clear();}
|
|
clear the whole array (necessary because of the consts-s)
00049 { m_recMdcHitCol->Clear(); }
|
|
clear the whole array (necessary because of the consts-s)
00049 { m_recMdcHitCol->Clear(); }
|
|
clear the whole array (necessary because of the consts-s)
00040 { m_recMdcTrackCol->Clear(); }
|
|
clear the whole array (necessary because of the consts-s)
00040 { m_recMdcTrackCol->Clear(); }
|
|
clear the whole array
00060 { m_recTofTrackCol->Clear();}
|
|
clear the whole array
00060 { m_recTofTrackCol->Clear();}
|
|
retrieve a EmcShower from the collection, using the index into the array
|
|
retrieve a EmcShower from the collection, using the index into the array
00157 { 00158 if(Int_t(i) >=m_recEmcShowerCol->GetEntries()) 00159 return 0; 00160 return (TRecEmcShower*) m_recEmcShowerCol->At(i); 00161 }
|
|
retrieve the whole TObjArray of EmcShower Data
00117 { return m_recEmcShowerCol; };
|
|
retrieve the whole TObjArray of EmcShower Data
00117 { return m_recEmcShowerCol; };
|
|
|
|
00183 { 00184 std::cout<<"getEmcShowerNum step1"<<std::endl; 00185 if(m_recEmcShowerCol){ 00186 std::cout<<"getEmcShowerNum step2"<<std::endl; 00187 return m_recEmcShowerCol->GetEntries(); 00188 } 00189 std::cout<<"getEmcShowerNum step3"<<std::endl; 00190 return 0; 00191 }
|
|
|
|
00203 { 00204 std::cout<<"getMdcHitkNum step1"<<std::endl; 00205 if(m_recMdcHitCol){ 00206 std::cout<<"getMdcHitkNum step2"<<std::endl; 00207 return m_recMdcHitCol->GetEntries(); 00208 } 00209 std::cout<<"getMdcHitkNum step3"<<std::endl; 00210 return 0; 00211 }
|
|
|
|
00163 { 00164 std::cout<<"getMdcTrackNum step1"<<std::endl; 00165 if(m_recMdcTrackCol){ 00166 std::cout<<"getMdcTrackNum step2"<<std::endl; 00167 return m_recMdcTrackCol->GetEntries(); 00168 } 00169 std::cout<<"getMdcTrackNum step3"<<std::endl; 00170 return 0; 00171 }
|
|
retrieve a MucTrack From the collection, using the index into the array
|
|
retrieve a MucTrack From the collection, using the index into the array
00145 { 00146 if(Int_t(i) >=m_recMucTrackCol->GetEntries()) 00147 return 0; 00148 return (TRecMucTrack*) m_recMucTrackCol->At(i); 00149 }
|
|
retrieve the whole TObjArray of MucTrack Data
00063 { return m_recMucTrackCol; };
|
|
retrieve the whole TObjArray of MucTrack Data
00063 { return m_recMucTrackCol; };
|
|
|
|
00193 { 00194 std::cout<<"getMucTrackNum step1"<<std::endl; 00195 if(m_recMucTrackCol){ 00196 std::cout<<"getMucTrackNum step2"<<std::endl; 00197 return m_recMucTrackCol->GetEntries(); 00198 } 00199 std::cout<<"getMucTrackNum step3"<<std::endl; 00200 return 0; 00201 }
|
|
retrieve a RecMdcHit from the collection, using the index into the array
|
|
retrieve a RecMdcHit from the collection, using the index into the array
00124 { 00125 if (Int_t(i) >= m_recMdcHitCol->GetEntries()) 00126 return 0; 00127 return (TRecMdcHit*)m_recMdcHitCol->At(i); 00128 }
|
|
retrieve the whole TObjArray of RecMdcHit Data
00043 { return m_recMdcHitCol; };
|
|
retrieve the whole TObjArray of RecMdcHit Data
00043 { return m_recMdcHitCol; };
|
|
retrieve a MdcTrack from the collection, using the index into the array
|
|
retrieve a MdcTrack from the collection, using the index into the array
00113 { 00114 if (Int_t(i) >= m_recMdcTrackCol->GetEntries()) 00115 return 0; 00116 return (TRecMdcTrack*)m_recMdcTrackCol->At(i); 00117 }
|
|
retrieve the whole TObjArray of RecMdcTrack Data
00031 { return m_recMdcTrackCol; };
|
|
retrieve the whole TObjArray of RecMdcTrack Data
00031 { return m_recMdcTrackCol; };
|
|
retrieve a TofTrack From the collection, using the index into the array
|
|
retrieve a TofTrack From the collection, using the index into the array
00134 { 00135 if(Int_t(i) >=m_recTofTrackCol->GetEntries()) 00136 return 0; 00137 return (TRecTofTrack*) m_recTofTrackCol->At(i); 00138 }
|
|
retrieve the whole TObjArray of TofTrack Data
00052 { 00053 // std::cout<<" in TObjArray* getTofTrackCol()"<<std::endl; 00054 return m_recTofTrackCol; };
|
|
retrieve the whole TObjArray of TofTrack Data
00052 { 00053 // std::cout<<" in TObjArray* getTofTrackCol()"<<std::endl; 00054 return m_recTofTrackCol; };
|
|
|
|
00173 { 00174 std::cout<<"getTofTrackNum step1"<<std::endl; 00175 if(m_recTofTrackCol){ 00176 std::cout<<"getTofTrackNum step2"<<std::endl; 00177 return m_recTofTrackCol->GetEntries(); 00178 } 00179 std::cout<<"getTofTrackNum step3"<<std::endl; 00180 return 0; 00181 }
|
|
|
|
00064 { 00065 }
|
|
|
|
00102 { 00103 TObject::Print(option); 00104 }
|
|
|
|
|
|
|
|
|
|
data members to store Mdc data
|
|
data members to store Mdc data
|
|
|
|
|
|
|
|
|