#include <DstMdcTrack.h>
Inheritance diagram for DstMdcTrack:
Public Member Functions | |
const int | charge () const |
const int | charge () const |
const double | chi2 () const |
const double | chi2 () const |
virtual const CLID & | clID () const |
virtual const CLID & | clID () const |
DstMdcTrack (const DstMdcTrack &) | |
DstMdcTrack () | |
DstMdcTrack (const DstMdcTrack &) | |
DstMdcTrack () | |
const double | err (const int i) const |
const HepSymMatrix | err () const |
const double | err (const int i) const |
const HepSymMatrix | err () const |
const int | firstLayer () const |
const int | firstLayer () const |
const double | helix (const int i) const |
const HepVector | helix () const |
...... | |
const double | helix (const int i) const |
const HepVector | helix () const |
...... | |
const int | lastLayer () const |
const int | lastLayer () const |
const int | ndof () const |
const int | ndof () const |
const int | nster () const |
const int | nster () const |
DstMdcTrack & | operator= (const DstMdcTrack &) |
DstMdcTrack & | operator= (const DstMdcTrack &) |
const double | p () const |
const double | p () const |
const Hep3Vector | p3 () const |
const Hep3Vector | p3 () const |
const HepLorentzVector | p4 (const double mass) const |
const HepLorentzVector | p4 (const double mass) const |
const double | phi () const |
const double | phi () const |
const HepPoint3D | poca () const |
const HepPoint3D | poca () const |
const double | px () const |
const double | px () const |
const double | pxy () const |
const double | pxy () const |
const double | py () const |
const double | py () const |
const double | pz () const |
const double | pz () const |
const double | r () const |
const double | r () const |
void | setCharge (const int charge) |
void | setCharge (const int charge) |
void | setChi2 (const double chi) |
void | setChi2 (const double chi) |
void | setError (const HepSymMatrix &Ea) |
void | setError (double err[15]) |
void | setError (const HepSymMatrix &Ea) |
void | setError (double err[15]) |
void | setFirstLayer (const int id) |
void | setFirstLayer (const int id) |
void | setHelix (const HepVector &a) |
void | setHelix (double helix[5]) |
void | setHelix (const HepVector &a) |
void | setHelix (double helix[5]) |
void | setLastLayer (const int id) |
void | setLastLayer (const int id) |
void | setNdof (const int ndof) |
void | setNdof (const int ndof) |
void | setNster (const int ns) |
void | setNster (const int ns) |
void | setP (const double p) |
void | setP (const double p) |
void | setPhi (const double phi) |
void | setPhi (const double phi) |
void | setPoca (const HepPoint3D &poca) |
void | setPoca (double poca[3]) |
void | setPoca (const HepPoint3D &poca) |
void | setPoca (double poca[3]) |
void | setPx (const double px) |
void | setPx (const double px) |
void | setPxy (const double pxy) |
void | setPxy (const double pxy) |
void | setPy (const double py) |
void | setPy (const double py) |
void | setPz (const double pz) |
void | setPz (const double pz) |
void | setR (const double r) |
void | setR (const double r) |
void | setStat (const int stat) |
void | setStat (const int stat) |
void | setTheta (const double theta) |
void | setTheta (const double theta) |
void | setTrackId (const int trackId) |
void | setTrackId (const int trackId) |
void | setX (const double x) |
void | setX (const double x) |
void | setY (const double y) |
void | setY (const double y) |
void | setZ (const double z) |
void | setZ (const double z) |
const int | stat () const |
const int | stat () const |
const double | theta () const |
const double | theta () const |
const int | trackId () const |
const int | trackId () const |
const double | x () const |
const double | x () const |
const HepPoint3D | x3 () const |
const HepPoint3D | x3 () const |
const double | y () const |
const double | y () const |
const double | z () const |
const double | z () const |
virtual | ~DstMdcTrack () |
virtual | ~DstMdcTrack () |
Static Public Member Functions | |
const CLID & | classID () |
const CLID & | classID () |
Protected Attributes | |
HepVector | m_a |
int | m_charge |
double | m_chi2 |
HepSymMatrix | m_Ea |
double | m_err [15] |
int | m_firstLayer |
double | m_helix [5] |
int | m_lastLayer |
int | m_ndof |
int | m_nster |
double | m_p |
double | m_phi |
double | m_poca [3] |
HepPoint3D | m_poca3D |
double | m_px |
double | m_pxy |
double | m_py |
double | m_pz |
double | m_r |
int | m_stat |
double | m_theta |
int | m_trackId |
double | m_x |
double | m_y |
double | m_z |
|
00005 : m_trackId(0), 00006 m_charge(0), 00007 m_poca3D(0,0,0), 00008 m_a(5,0), 00009 m_Ea(5,0), 00010 m_stat(0), 00011 m_chi2(0), 00012 m_ndof(0), 00013 m_nster(0), 00014 m_firstLayer(0), 00015 m_lastLayer(42), 00016 m_pxy(0), 00017 m_px(0), 00018 m_py(0), 00019 m_pz(0), 00020 m_p(0), 00021 m_theta(0), 00022 m_phi(0), 00023 m_x(0), 00024 m_y(0), 00025 m_z(0), 00026 m_r(0) 00027 { 00028 for(int i=0;i<5;i++) m_helix[i] = 0; 00029 for(int j=0;j<15;j++) m_err[j] = 999; 00030 for(int k=0;k<3;k++) m_poca[k] = 0; 00031 }
|
|
00034 : m_trackId(other.m_trackId), 00035 m_charge(other.m_charge), 00036 m_poca3D(other.m_poca3D), 00037 m_a(other.m_a), 00038 m_Ea(other.m_Ea), 00039 m_stat(other.m_stat), 00040 m_chi2(other.m_chi2), 00041 m_ndof(other.m_ndof), 00042 m_nster(other.m_nster), 00043 m_firstLayer(other.m_firstLayer), 00044 m_lastLayer(other.m_lastLayer), 00045 m_pxy(other.m_pxy), 00046 m_px(other.m_px), 00047 m_py(other.m_py), 00048 m_pz(other.m_pz), 00049 m_p(other.m_p), 00050 m_theta(other.m_theta), 00051 m_phi(other.m_phi), 00052 m_x(other.m_x), 00053 m_y(other.m_y), 00054 m_z(other.m_z), 00055 m_r(other.m_r) 00056 { 00057 for(int i=0;i<5;i++) m_helix[i] = (other.m_helix)[i]; 00058 for(int j=0;j<15;j++) m_err[j] = (other.m_err)[j]; 00059 for(int k=0;k<3;k++) m_poca[k] = (other.m_poca)[k]; 00060 }
|
|
00030 {}
|
|
|
|
|
|
00030 {}
|
|
00053 { return m_charge; }
|
|
00053 { return m_charge; }
|
|
00066 { return m_chi2; }
|
|
00066 { return m_chi2; }
|
|
Reimplemented in RecMdcTrack, and RecMdcTrack. 00032 { return CLID_DstMdcTrack; }
|
|
Reimplemented in RecMdcTrack, and RecMdcTrack. 00032 { return CLID_DstMdcTrack; }
|
|
Reimplemented in RecMdcTrack, and RecMdcTrack. 00031 { return DstMdcTrack::classID();}
|
|
Reimplemented in RecMdcTrack, and RecMdcTrack. 00031 { return DstMdcTrack::classID();}
|
|
00051 { return m_err[i]; }
|
|
|
|
00051 { return m_err[i]; }
|
|
00152 { 00153 /* 00154 HepSymMatrix ea(5); 00155 for(int i = 0, k = 0; i < 5; i++) { 00156 for(int j = 0; j <= i; j++) { 00157 ea[i][j] = m_err[k++]; 00158 ea[j][i] = ea[i][j]; 00159 } 00160 } 00161 return ea; 00162 */ 00163 return m_Ea; 00164 }
|
|
00069 { return m_firstLayer;}
|
|
00069 { return m_firstLayer;}
|
|
00050 { return m_helix[i]; }
|
|
......
|
|
00050 { return m_helix[i]; }
|
|
......
00148 {
00149 return m_a;
00150 }
|
|
00070 { return m_lastLayer; }
|
|
00070 { return m_lastLayer; }
|
|
00067 { return m_ndof; }
|
|
00067 { return m_ndof; }
|
|
00068 { return m_nster;}
|
|
00068 { return m_nster;}
|
|
Reimplemented in RecMdcTrack, and RecMdcTrack. |
|
Reimplemented in RecMdcTrack, and RecMdcTrack. 00063 { 00064 if( &h != this ){ 00065 m_trackId = h.m_trackId; 00066 m_charge = h.m_charge; 00067 m_poca3D = h.m_poca3D; 00068 m_a = h.m_a; 00069 m_Ea = h.m_Ea; 00070 m_stat = h.m_stat; 00071 m_chi2 = h.m_chi2; 00072 m_ndof = h.m_ndof; 00073 m_nster = h.m_nster; 00074 m_firstLayer = h.m_firstLayer; 00075 m_lastLayer = h.m_lastLayer; 00076 m_pxy = h.m_pxy; 00077 m_px = h.m_px; 00078 m_py = h.m_py; 00079 m_pz = h.m_pz; 00080 m_p = h.m_p; 00081 m_theta = h.m_theta; 00082 m_phi = h.m_phi; 00083 m_x = h.m_x; 00084 m_y = h.m_y; 00085 m_z = h.m_z; 00086 m_r = h.m_r; 00087 00088 for(int i=0;i<5;i++) m_helix[i] = (h.m_helix)[i]; 00089 for(int j=0;j<15;j++) m_err[j] = (h.m_err)[j]; 00090 for(int k=0;k<3;k++) m_poca[k] = (h.m_poca)[k]; 00091 } 00092 return *this; 00093 }
|
|
00058 { return m_p; }
|
|
00058 { return m_p; }
|
|
00043 {
00044 return Hep3Vector(m_px,m_py,m_pz);
00045 }
|
|
00043 {
00044 return Hep3Vector(m_px,m_py,m_pz);
00045 }
|
|
|
|
|
|
00060 { return m_phi; }
|
|
00060 { return m_phi; }
|
|
00040 {
00041 return m_poca3D;
00042 }
|
|
00040 {
00041 return m_poca3D;
00042 }
|
|
00055 { return m_px; }
|
|
00055 { return m_px; }
|
|
00054 { return m_pxy; }
|
|
00054 { return m_pxy; }
|
|
00056 { return m_py; }
|
|
00056 { return m_py; }
|
|
00057 { return m_pz; }
|
|
00057 { return m_pz; }
|
|
00064 { return m_r; }
|
|
00064 { return m_r; }
|
|
00082 { m_charge = charge;}
|
|
00082 { m_charge = charge;}
|
|
00095 { m_chi2 = chi;}
|
|
00095 { m_chi2 = chi;}
|
|
|
|
|
|
00136 { 00137 int k = 0; 00138 for (int i=0; i<5; i++){ 00139 for (int j=i; j<5; j++) 00140 { 00141 m_err[k] = err[i][j]; 00142 k++; 00143 } 00144 } 00145 m_Ea = err; 00146 }
|
|
00109 { 00110 for (int i1=0; i1<15; i1++) { 00111 m_err[i1] = err[i1]; 00112 } 00113 for(int i=0, k=0; i<5; i++) { 00114 for(int j=i; j<5; j++) { 00115 m_Ea[i][j] = m_err[k++]; 00116 m_Ea[j][i] = m_Ea[i][j]; 00117 } 00118 } 00119 }
|
|
00098 { m_firstLayer = id;}
|
|
00098 { m_firstLayer = id;}
|
|
|
|
|
|
00122 { 00123 for(int i=0; i<5; i++){ 00124 m_helix[i] = helix[i]; 00125 } 00126 m_a = helix; 00127 }
|
|
00095 { 00096 for(int i=0; i<5; i++){ 00097 m_helix[i] = helix[i]; 00098 m_a[i] = helix[i]; 00099 } 00100 }
|
|
00099 { m_lastLayer = id;}
|
|
00099 { m_lastLayer = id;}
|
|
00096 { m_ndof = ndof;}
|
|
00096 { m_ndof = ndof;}
|
|
00097 { m_nster = ns;}
|
|
00097 { m_nster = ns;}
|
|
00087 { m_p = p; }
|
|
00087 { m_p = p; }
|
|
00089 { m_phi = phi; }
|
|
00089 { m_phi = phi; }
|
|
|
|
|
|
00129 { 00130 for(int i=0; i<3; i++){ 00131 m_poca[i] = poca[i]; 00132 } 00133 m_poca3D = poca; 00134 }
|
|
00102 { 00103 for(int i=0; i<3; i++){ 00104 m_poca[i] = poca[i]; 00105 m_poca3D[i] = poca[i]; 00106 } 00107 }
|
|
00084 { m_px = px; }
|
|
00084 { m_px = px; }
|
|
00083 { m_pxy = pxy; }
|
|
00083 { m_pxy = pxy; }
|
|
00085 { m_py = py; }
|
|
00085 { m_py = py; }
|
|
00086 { m_pz = pz; }
|
|
00086 { m_pz = pz; }
|
|
00093 { m_r = r; }
|
|
00093 { m_r = r; }
|
|
00094 { m_stat = stat;}
|
|
00094 { m_stat = stat;}
|
|
00088 { m_theta = theta; }
|
|
00088 { m_theta = theta; }
|
|
00081 { m_trackId = trackId; }
|
|
00081 { m_trackId = trackId; }
|
|
00090 { m_x = x; }
|
|
00090 { m_x = x; }
|
|
00091 { m_y = y; }
|
|
00091 { m_y = y; }
|
|
00092 { m_z = z; }
|
|
00092 { m_z = z; }
|
|
00065 { return m_stat; }
|
|
00065 { return m_stat; }
|
|
00059 { return m_theta;}
|
|
00059 { return m_theta;}
|
|
00052 { return m_trackId; }
|
|
00052 { return m_trackId; }
|
|
00061 { return m_x; }
|
|
00061 { return m_x; }
|
|
00046 { 00047 return HepPoint3D(m_x,m_y,m_z); 00048 }
|
|
00046 { 00047 return HepPoint3D(m_x,m_y,m_z); 00048 }
|
|
00062 { return m_y; }
|
|
00062 { return m_y; }
|
|
00063 { return m_z; }
|
|
00063 { return m_z; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|