#include <TMdcTrack.h>
Public Member Functions | |
const Int_t | charge () const |
const Int_t | charge () const |
const Double_t | chi2 () const |
const Double_t | chi2 () const |
const Double_t | err (Int_t i) const |
const Double_t | err (Int_t i) const |
const Int_t | firstLayer () const |
const Int_t | firstLayer () const |
const Double_t | helix (Int_t i) const |
const Double_t | helix (Int_t i) const |
const Int_t | lastLayer () const |
const Int_t | lastLayer () const |
const Int_t | ndof () const |
const Int_t | ndof () const |
const Int_t | nster () const |
const Int_t | nster () const |
const Double_t | p () const |
const Double_t | p () const |
const Double_t | phi () const |
const Double_t | phi () const |
const Double_t | px () const |
const Double_t | px () const |
const Double_t | pxy () const |
const Double_t | pxy () const |
const Double_t | py () const |
const Double_t | py () const |
const Double_t | pz () const |
const Double_t | pz () const |
const Double_t | r () const |
const Double_t | r () const |
void | setChi2 (const Double_t chi) |
void | setChi2 (const Double_t chi) |
void | setErr (const Double_t err[15]) |
void | setErr (const Double_t err[15]) |
void | setFirstLayer (const Int_t fL) |
void | setFirstLayer (const Int_t fL) |
void | setHelix (const Double_t helix[5]) |
void | setHelix (const Double_t helix[5]) |
void | setLastLayer (const Int_t lL) |
void | setLastLayer (const Int_t lL) |
void | setNdof (const Int_t ndof) |
void | setNdof (const Int_t ndof) |
void | setNster (const Int_t ns) |
void | setNster (const Int_t ns) |
void | setStat (const Int_t stat) |
void | setStat (const Int_t stat) |
void | setTrackId (const Int_t trackId) |
void | setTrackId (const Int_t trackId) |
const Int_t | stat () const |
const Int_t | stat () const |
const Double_t | theta () const |
const Double_t | theta () const |
TMdcTrack () | |
TMdcTrack () | |
const Int_t | trackId () const |
const Int_t | trackId () const |
const Double_t | x () const |
const Double_t | x () const |
const Double_t | y () const |
const Double_t | y () const |
const Double_t | z () const |
const Double_t | z () const |
~TMdcTrack () | |
~TMdcTrack () | |
Private Attributes | |
Double_t | m_chi2 |
Double_t | m_err [15] |
Int_t | m_firstLayer |
Double_t | m_helix [5] |
Int_t | m_lastLayer |
Int_t | m_ndof |
Int_t | m_nster |
Int_t | m_stat |
Int_t | m_trackId |
|
|
|
00015 { 00016 Clear(); 00017 }
|
|
|
|
|
|
|
|
00018 { 00019 Int_t charge; 00020 Double_t temp = m_helix[2]; 00021 if (temp >0.0000000001) 00022 charge = 1 ; 00023 else if (temp < -0.0000000001) 00024 charge = -1; 00025 else 00026 charge = 0; 00027 return charge; 00028 }
|
|
00016 { return m_chi2; }
|
|
00016 { return m_chi2; }
|
|
00018 { return m_err[i]; }
|
|
00018 { return m_err[i]; }
|
|
00020 { return m_firstLayer;}
|
|
00020 { return m_firstLayer;}
|
|
00014 { return m_helix[i]; }
|
|
00014 { return m_helix[i]; }
|
|
00021 { return m_lastLayer; }
|
|
00021 { return m_lastLayer; }
|
|
00017 { return m_ndof; }
|
|
00017 { return m_ndof; }
|
|
00019 { return m_nster; }
|
|
00019 { return m_nster; }
|
|
|
|
00065 { 00066 // return sqrt(px()*px() + py()*py() + pz()*pz()); 00067 return pxy()*sqrt(1. + m_helix[4]*m_helix[4]); 00068 }
|
|
|
|
|
|
|
|
|
|
|
|
00047 { 00048 if(m_helix[2] != 0) 00049 return 1./fabs(m_helix[2]); 00050 else return 0.; 00051 }
|
|
|
|
|
|
|
|
|
|
|
|
00042 { 00043 // return sqrt(x()*x()+y()*y()); 00044 return fabs(m_helix[0]); 00045 }
|
|
00042 { m_chi2 = chi; }
|
|
00042 { m_chi2 = chi; }
|
|
|
|
00084 { 00085 for (Int_t i=0;i<15;i++) { 00086 m_err[i] = er[i]; 00087 } 00088 }
|
|
00045 { m_firstLayer = fL; }
|
|
00045 { m_firstLayer = fL; }
|
|
|
|
00078 { 00079 for(Int_t i=0; i<5; i++) { 00080 m_helix[i] = helix[i]; 00081 } 00082 }
|
|
00046 { m_lastLayer = lL; }
|
|
00046 { m_lastLayer = lL; }
|
|
00043 { m_ndof = ndof; }
|
|
00043 { m_ndof = ndof; }
|
|
00044 { m_nster = ns; }
|
|
00044 { m_nster = ns; }
|
|
00041 { m_stat = stat ; }
|
|
00041 { m_stat = stat ; }
|
|
00040 { m_trackId = trackId; }
|
|
00040 { m_trackId = trackId; }
|
|
00015 { return m_stat; }
|
|
00015 { return m_stat; }
|
|
|
|
|
|
00013 { return m_trackId; }
|
|
00013 { return m_trackId; }
|
|
|
|
|
|
|
|
|
|
|
|
00038 { 00039 return m_helix[3]; 00040 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|