#include <DstMdcKalTrack.h>
Inheritance diagram for DstMdcKalTrack:
Public Types | |
null = -1 | |
electron = 0 | |
muon = 1 | |
pion = 2 | |
kaon = 3 | |
proton = 4 | |
enum | PidType { null = -1, electron = 0, muon = 1, pion = 2, kaon = 3, proton = 4 } |
Public Member Functions | |
virtual const CLID & | clID () const |
DstMdcKalTrack () | |
DstMdcKalTrack (const DstMdcKalTrack &track) | |
DstMdcKalTrack & | operator= (const DstMdcKalTrack &) |
~DstMdcKalTrack () | |
const int | trackId () const |
const double | mass () const |
const int | charge () const |
const double | pxy () const |
const double | px () const |
const double | py () const |
const double | pz () const |
const double | theta () const |
const double | phi () const |
const double | x () const |
const double | y () const |
const double | z () const |
const double | x (const int i) const |
const double | y (const int i) const |
const double | z (const int i) const |
const double | r () const |
const double | p () const |
const int | stat () const |
const double | chi2 () const |
const int | ndof () const |
const int | nster () const |
const int | firstLayer () const |
const int | lastLayer () const |
const int | nlayer () const |
const double | dr (void) const |
const double | fi0 (void) const |
const double | kappa (void) const |
const double | dz (void) const |
const double | tanl (void) const |
const HepVector & | helix () const |
const HepSymMatrix & | err () const |
const HepVector & | fhelix () const |
const HepSymMatrix & | ferr () const |
const HepPoint3D | poca () const |
const Hep3Vector | p3 () const |
const HepPoint3D | x3 () const |
const HepLorentzVector | p4 () const |
const HepLorentzVector | p4 (double mass) const |
void | setTrackId (int trackId) |
void | setMass (double mass, int pid) |
void | setCharge (const int charge, const int pid) |
void | setPxy (const double pxy, const int pid) |
void | setPx (const double px, const int pid) |
void | setPy (const double py, const int pid) |
void | setPz (const double pz, const int pid) |
void | setP (const double p, const int pid) |
void | setTheta (const double theta, const int pid) |
void | setPhi (const double phi, const int pid) |
void | setX (const double x, const int pid) |
void | setY (const double y, const int pid) |
void | setZ (const double z, const int pid) |
void | setR (const double r, const int pid) |
void | setNlayer (int nlayer, int pid) |
void | setNster (int ns, int i, int pid) |
void | setStat (int stat, int i, int pid) |
void | setChisq (double chisq, int i, int pid) |
void | setFirstLayer (int fL, int i, int pid) |
void | setLastLayer (int lL, int i, int pid) |
void | setNhits (int nhits, int pid) |
void | setNdf (int ndf, int i, int pid) |
void | setPoca (const HepPoint3D &poca, const int pid) |
void | setPoca (double *poca, const int pid) |
void | setZHelix (const HepVector &helix, const int pid) |
void | setZError (const HepSymMatrix &error, const int pid) |
void | setZHelix (double *helix, const int pid) |
void | setZError (double *error, const int pid) |
void | setFHelix (const HepVector &fhelix, const int pid) |
void | setFError (const HepSymMatrix &ferror, const int pid) |
void | setFHelix (double *fhelix, const int pid) |
void | setFError (double *ferror, const int pid) |
const int | getTrackId () const |
const int | getCharge (const int pid) const |
const int | getStat (const int pid) const |
const int | getNster (const int pid) const |
const double | getChisq (const int pid) const |
const int | getNdf (const int pid) const |
const int | getFirstLayer (const int pid) const |
const int | getLastLayer (const int pid) const |
const int | getNlayer (const int pid) const |
const HepPoint3D & | getPoca (const int pid) const |
const HepVector & | getZHelix (const int pid) const |
const HepSymMatrix & | getZError (const int pid) const |
const HepVector & | getFHelix (const int pid) const |
const HepSymMatrix & | getFError (const int pid) const |
Static Public Member Functions | |
static const CLID & | classID () |
static void | setPidType (PidType pidType) |
static PidType | getPidType () |
Protected Attributes | |
int | m_trackId |
int | m_charge [5] |
int | m_stat [2][5] |
int | m_nster [2][5] |
int | m_firstLayer [2][5] |
int | m_lastLayer [2][5] |
double | m_mass [5] |
double | m_chisq [2][5] |
double | m_pxy [5] |
double | m_px [5] |
double | m_py [5] |
double | m_pz [5] |
double | m_p [5] |
double | m_theta [5] |
double | m_phi [5] |
double | m_x [5] |
double | m_y [5] |
double | m_z [5] |
double | m_r [5] |
int | m_ndf [2][5] |
int | m_nhits [5] |
int | m_nlayer [5] |
std::vector< HepPoint3D > | m_pocas |
std::vector< HepVector > | m_zhelixs |
std::vector< HepSymMatrix > | m_zerrors |
std::vector< HepVector > | m_fhelixs |
std::vector< HepSymMatrix > | m_ferrors |
Static Protected Attributes | |
static PidType | m_pidType |
Definition at line 33 of file DstMdcKalTrack.h.
DstMdcKalTrack::DstMdcKalTrack | ( | ) |
Definition at line 12 of file DstMdcKalTrack.cxx.
References m_charge, m_chisq, m_ferrors, m_fhelixs, m_firstLayer, m_lastLayer, m_mass, m_ndf, m_nlayer, m_nster, m_p, m_phi, m_pocas, m_px, m_pxy, m_py, m_pz, m_r, m_stat, m_theta, m_trackId, m_x, m_y, m_z, m_zerrors, m_zhelixs, pid, and poca().
00013 { 00014 HepVector za(5,0); 00015 HepSymMatrix zea(5,0); 00016 HepPoint3D poca(0,0,0); 00017 m_trackId = -1; 00018 for(int pid=0; pid<5; pid++) { 00019 m_zhelixs.push_back(za); 00020 m_zerrors.push_back(zea); 00021 m_fhelixs.push_back(za); 00022 m_ferrors.push_back(zea); 00023 m_pocas.push_back(poca); 00024 m_mass[pid] = 1; 00025 m_charge[pid] = 1; 00026 m_stat[0][pid] = 0; 00027 m_stat[1][pid] = 0; 00028 00029 m_ndf[0][pid] = 0; 00030 m_ndf[1][pid] = 0; 00031 m_nster[0][pid] = 0; 00032 m_nster[1][pid] = 0; 00033 m_nlayer[pid] = 0; 00034 m_firstLayer[0][pid] = 0; 00035 m_firstLayer[1][pid] = 0; 00036 m_lastLayer[0][pid] = 0; 00037 m_lastLayer[1][pid] = 0; 00038 m_pxy[pid] = 0; 00039 m_px[pid] = 0; 00040 m_py[pid] = 0; 00041 m_pz[pid] = 0; 00042 m_p[pid] = 0; 00043 m_theta[pid] = 0; 00044 m_phi[pid] = 0; 00045 m_x[pid] = 0; 00046 m_y[pid] = 0; 00047 m_z[pid] = 0; 00048 m_r[pid] = 0; 00049 m_stat[0][pid] = 0; 00050 m_stat[1][pid] = 0; 00051 m_chisq[0][pid] = 0; 00052 m_chisq[1][pid] = 0; 00053 m_ndf[0][pid] = 0; 00054 m_ndf[1][pid] = 0; 00055 00056 } 00057 }
DstMdcKalTrack::DstMdcKalTrack | ( | const DstMdcKalTrack & | track | ) |
Definition at line 60 of file DstMdcKalTrack.cxx.
References genRecEmupikp::i, m_charge, m_chisq, m_firstLayer, m_lastLayer, m_mass, m_ndf, m_nhits, m_nlayer, m_nster, m_p, m_phi, m_px, m_pxy, m_py, m_pz, m_r, m_stat, m_theta, m_x, m_y, m_z, and EvtCyclic3::other().
00061 :m_trackId(other.m_trackId), 00062 m_pocas(other.m_pocas), 00063 m_zhelixs(other.m_zhelixs), 00064 m_zerrors(other.m_zerrors), 00065 m_fhelixs(other.m_fhelixs), 00066 m_ferrors(other.m_ferrors) 00067 { 00068 for(int i=0;i<5;i++){ 00069 m_charge[i] = other.m_charge[i]; 00070 m_stat[0][i] = other.m_stat[0][i]; 00071 m_stat[1][i] = other.m_stat[1][i]; 00072 m_nster[0][i] = other.m_nster[0][i]; 00073 m_nster[1][i] = other.m_nster[1][i]; 00074 m_nlayer[i] = other.m_nlayer[i]; 00075 m_firstLayer[0][i] = other.m_firstLayer[0][i]; 00076 m_firstLayer[1][i] = other.m_firstLayer[1][i]; 00077 m_lastLayer[0][i] = other.m_lastLayer[0][i]; 00078 m_lastLayer[1][i] = other.m_lastLayer[1][i]; 00079 m_mass[i] = other.m_mass[i]; 00080 00081 m_pxy[i] = other.m_pxy[i]; 00082 m_px[i] = other.m_px[i]; 00083 m_py[i] = other.m_py[i]; 00084 m_pz[i] = other.m_pz[i]; 00085 m_p[i] = other.m_p[i]; 00086 m_theta[i] = other.m_theta[i]; 00087 m_phi[i] = other.m_phi[i]; 00088 m_x[i] = other.m_x[i]; 00089 m_y[i] = other.m_y[i]; 00090 m_z[i] = other.m_z[i]; 00091 m_r[i] = other.m_r[i]; 00092 m_chisq[0][i] = other.m_chisq[0][i]; 00093 m_chisq[1][i] = other.m_chisq[1][i]; 00094 m_ndf[0][i] = other.m_ndf[0][i]; 00095 m_ndf[1][i] = other.m_ndf[1][i]; 00096 m_nhits[i] = other.m_nhits[i]; 00097 } 00098 }
DstMdcKalTrack::~DstMdcKalTrack | ( | ) |
const int DstMdcKalTrack::charge | ( | ) | const [inline] |
Definition at line 65 of file DstMdcKalTrack.h.
References m_charge, and m_pidType.
Referenced by CalibEventSelect::execute(), inclphi::execute(), incllambda::execute(), inclkstar::execute(), inclks::execute(), DSemilepAlg::execute(), DDecay::execute(), Rhopi::execute(), PipiJpsi::execute(), Ppjrhopi::execute(), Gam4pikp::execute(), Pipipi0::MTotal(), Pipi::MTotal(), Kpipi0pi0::MTotal(), Kpipi0::MTotal(), Kpi::MTotal(), Kkpipi::MTotal(), Kkpi0::MTotal(), Kk::MTotal(), K3pipi0::MTotal(), K3pi::MTotal(), K0pipipi0::MTotal(), K0pipi::MTotal(), K0pi0::MTotal(), K0kpi::MTotal(), K0kk::MTotal(), LocalPionSelector::operator()(), and LocalKaonSelector::operator()().
const double DstMdcKalTrack::chi2 | ( | ) | const [inline] |
static const CLID& DstMdcKalTrack::classID | ( | ) | [inline, static] |
Reimplemented in RecMdcKalTrack.
Definition at line 40 of file DstMdcKalTrack.h.
References CLID_DstMdcKalTrack.
Referenced by clID().
00040 { 00041 return CLID_DstMdcKalTrack; 00042 }
virtual const CLID& DstMdcKalTrack::clID | ( | ) | const [inline, virtual] |
Reimplemented in RecMdcKalTrack.
Definition at line 36 of file DstMdcKalTrack.h.
References classID().
00036 { 00037 return DstMdcKalTrack::classID(); 00038 }
const double DstMdcKalTrack::dr | ( | void | ) | const [inline] |
Definition at line 91 of file DstMdcKalTrack.h.
References m_pidType, and m_zhelixs.
Referenced by DQADtag::fillTrackItem().
const double DstMdcKalTrack::dz | ( | void | ) | const [inline] |
Definition at line 94 of file DstMdcKalTrack.h.
References m_pidType, and m_zhelixs.
Referenced by DQADtag::fillTrackItem().
const HepSymMatrix& DstMdcKalTrack::err | ( | ) | const [inline] |
Definition at line 98 of file DstMdcKalTrack.h.
References m_pidType, and m_zerrors.
Referenced by BFieldCorr::execute(), LambdaReconstruction::execute(), KShortReconstruction::execute(), PrimaryVertex::execute(), BeamParams::execute(), DQASelHadron::execute(), incllambda::execute(), inclks::execute(), and DQADtag::fillTrackItem().
const HepSymMatrix& DstMdcKalTrack::ferr | ( | ) | const [inline] |
const HepVector& DstMdcKalTrack::fhelix | ( | ) | const [inline] |
const double DstMdcKalTrack::fi0 | ( | void | ) | const [inline] |
const int DstMdcKalTrack::firstLayer | ( | ) | const [inline] |
Definition at line 87 of file DstMdcKalTrack.h.
References m_firstLayer, and m_pidType.
00087 {return m_firstLayer[0][m_pidType];}
const int DstMdcKalTrack::getCharge | ( | const int | pid | ) | const [inline] |
const double DstMdcKalTrack::getChisq | ( | const int | pid | ) | const [inline] |
const HepSymMatrix& DstMdcKalTrack::getFError | ( | const int | pid | ) | const [inline] |
Definition at line 213 of file DstMdcKalTrack.h.
References m_ferrors.
Referenced by MdcDedxRecon::execute(), DedxCalibEvent::genNtuple(), and MdcDedxRecon::kaltrackrec().
const HepVector& DstMdcKalTrack::getFHelix | ( | const int | pid | ) | const [inline] |
Definition at line 210 of file DstMdcKalTrack.h.
References m_fhelixs.
Referenced by MdcDedxRecon::execute(), DedxCalibEvent::genNtuple(), MdcDedxRecon::kaltrackrec(), and MdcDedxTrk::set_ExTrk_Kal().
const int DstMdcKalTrack::getFirstLayer | ( | const int | pid | ) | const [inline] |
Definition at line 196 of file DstMdcKalTrack.h.
References m_firstLayer.
00196 { return m_firstLayer[0][pid];}
const int DstMdcKalTrack::getLastLayer | ( | const int | pid | ) | const [inline] |
Definition at line 197 of file DstMdcKalTrack.h.
References m_lastLayer.
00197 { return m_lastLayer[0][pid]; }
const int DstMdcKalTrack::getNdf | ( | const int | pid | ) | const [inline] |
const int DstMdcKalTrack::getNlayer | ( | const int | pid | ) | const [inline] |
const int DstMdcKalTrack::getNster | ( | const int | pid | ) | const [inline] |
static PidType DstMdcKalTrack::getPidType | ( | ) | [inline, static] |
const HepPoint3D& DstMdcKalTrack::getPoca | ( | const int | pid | ) | const [inline] |
Reimplemented in RecMdcKalTrack.
Definition at line 201 of file DstMdcKalTrack.h.
References m_pocas.
const int DstMdcKalTrack::getStat | ( | const int | pid | ) | const [inline] |
Definition at line 192 of file DstMdcKalTrack.h.
References m_stat.
Referenced by MdcDedxTrk::set_ExTrk_Kal().
const int DstMdcKalTrack::getTrackId | ( | void | ) | const [inline] |
Reimplemented in RecMdcKalTrack.
Definition at line 190 of file DstMdcKalTrack.h.
References m_trackId.
00190 { return m_trackId; }
const HepSymMatrix& DstMdcKalTrack::getZError | ( | const int | pid | ) | const [inline] |
const HepVector& DstMdcKalTrack::getZHelix | ( | const int | pid | ) | const [inline] |
Definition at line 204 of file DstMdcKalTrack.h.
References m_zhelixs.
Referenced by DedxCalibEvent::genNtuple().
const HepVector& DstMdcKalTrack::helix | ( | ) | const [inline] |
Definition at line 97 of file DstMdcKalTrack.h.
References m_pidType, and m_zhelixs.
Referenced by BFieldCorr::execute(), LambdaReconstruction::execute(), KShortReconstruction::execute(), PrimaryVertex::execute(), BeamParams::execute(), DQASelHadron::execute(), incllambda::execute(), inclks::execute(), and DQADtag::fillTrackItem().
const double DstMdcKalTrack::kappa | ( | void | ) | const [inline] |
const int DstMdcKalTrack::lastLayer | ( | ) | const [inline] |
Definition at line 88 of file DstMdcKalTrack.h.
References m_lastLayer, and m_pidType.
00088 {return m_lastLayer[0][m_pidType];}
const double DstMdcKalTrack::mass | ( | ) | const [inline] |
Definition at line 64 of file DstMdcKalTrack.h.
References m_mass, and m_pidType.
Referenced by DQASelDimu::execute(), DQASelBhabha::execute(), and p4().
const int DstMdcKalTrack::ndof | ( | ) | const [inline] |
const int DstMdcKalTrack::nlayer | ( | ) | const [inline] |
const int DstMdcKalTrack::nster | ( | ) | const [inline] |
DstMdcKalTrack & DstMdcKalTrack::operator= | ( | const DstMdcKalTrack & | ) |
Reimplemented in RecMdcKalTrack.
Definition at line 100 of file DstMdcKalTrack.cxx.
References genRecEmupikp::i, m_charge, m_chisq, m_ferrors, m_fhelixs, m_firstLayer, m_lastLayer, m_mass, m_ndf, m_nhits, m_nlayer, m_nster, m_p, m_phi, m_pocas, m_px, m_pxy, m_py, m_pz, m_r, m_stat, m_theta, m_trackId, m_x, m_y, m_z, m_zerrors, m_zhelixs, and EvtCyclic3::other().
Referenced by RecMdcKalTrack::operator=().
00100 { 00101 if(&other != this){ 00102 m_trackId = other.m_trackId; 00103 m_pocas = other.m_pocas; 00104 m_zhelixs = other.m_zhelixs; 00105 m_zerrors = other.m_zerrors; 00106 m_fhelixs = other.m_fhelixs; 00107 m_ferrors = other.m_ferrors; 00108 for(int i=0;i<5;i++){ 00109 m_charge[i] = other.m_charge[i]; 00110 m_stat[0][i] = other.m_stat[0][i]; 00111 m_stat[1][i] = other.m_stat[1][i]; 00112 m_nster[0][i] = other.m_nster[0][i]; 00113 m_nster[1][i] = other.m_nster[1][i]; 00114 m_nlayer[i] = other.m_nlayer[i]; 00115 m_firstLayer[0][i] = other.m_firstLayer[0][i]; 00116 m_firstLayer[1][i] = other.m_firstLayer[1][i]; 00117 m_lastLayer[0][i] = other.m_lastLayer[0][i]; 00118 m_lastLayer[1][i] = other.m_lastLayer[1][i]; 00119 m_mass[i] = other.m_mass[i]; 00120 m_chisq[0][i] = other.m_chisq[0][i]; 00121 m_chisq[1][i] = other.m_chisq[1][i]; 00122 m_pxy[i] = other.m_pxy[i]; 00123 m_px[i] = other.m_px[i]; 00124 m_py[i] = other.m_py[i]; 00125 m_pz[i] = other.m_pz[i]; 00126 m_p[i] = other.m_p[i]; 00127 m_theta[i] = other.m_theta[i]; 00128 m_phi[i] = other.m_phi[i]; 00129 m_x[i] = other.m_x[i]; 00130 m_y[i] = other.m_y[i]; 00131 m_z[i] = other.m_z[i]; 00132 m_r[i] = other.m_r[i]; 00133 //m_chi2[i] = other.m_chi2[i]; 00134 m_ndf[0][i] = other.m_ndf[0][i]; 00135 m_ndf[1][i] = other.m_ndf[1][i]; 00136 m_nhits[i] = other.m_nhits[i]; 00137 } 00138 } 00139 return *this; 00140 }
const double DstMdcKalTrack::p | ( | ) | const [inline] |
Definition at line 82 of file DstMdcKalTrack.h.
References m_p, and m_pidType.
Referenced by BFieldCorr::execute(), JsiLL::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), PipiJpsi::execute(), Ppjrhopi::execute(), Gam4pikp::execute(), m_trkInfo::getTrk(), BestDTagSvc::isElectron(), DTagTool::isMuon(), p4(), and EmcPID::particleIDCalculation().
const Hep3Vector DstMdcKalTrack::p3 | ( | ) | const |
const HepLorentzVector DstMdcKalTrack::p4 | ( | double | mass | ) | const |
const HepLorentzVector DstMdcKalTrack::p4 | ( | ) | const |
Definition at line 148 of file DstMdcKalTrack.cxx.
References mass(), p(), px(), py(), and pz().
Referenced by DQAKsInfo::calculate(), DQADtag::execute(), PipiJpsi::execute(), DQADtag::fillTrackItem(), and TofCorrPID::particleIDCalculation().
00148 { 00149 const HepLorentzVector p_LV( px(), py(), pz(), sqrt(pow(mass(),2)+pow(p(),2)) ); 00150 return p_LV; 00151 }
const double DstMdcKalTrack::phi | ( | ) | const [inline] |
const HepPoint3D DstMdcKalTrack::poca | ( | ) | const [inline] |
Definition at line 101 of file DstMdcKalTrack.h.
References m_pidType, and m_pocas.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::operator=(), and RecMdcKalTrack::RecMdcKalTrack().
const double DstMdcKalTrack::px | ( | ) | const [inline] |
Definition at line 67 of file DstMdcKalTrack.h.
References m_pidType, and m_px.
Referenced by DSemilepAlg::calU(), BFieldCorr::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), inclphi::execute(), incllambda::execute(), inclkstar::execute(), inclks::execute(), Rhopi::execute(), Ppjrhopi::execute(), Gam4pikp::execute(), KalFitAlg::fillTds_ip(), m_trkInfo::getTrk(), p3(), and p4().
const double DstMdcKalTrack::pxy | ( | ) | const [inline] |
Definition at line 66 of file DstMdcKalTrack.h.
References m_pidType, and m_pxy.
Referenced by BFieldCorr::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), Gam4pikp::execute(), and EmcPID::particleIDCalculation().
const double DstMdcKalTrack::py | ( | ) | const [inline] |
Definition at line 68 of file DstMdcKalTrack.h.
References m_pidType, and m_py.
Referenced by DSemilepAlg::calU(), BFieldCorr::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), inclphi::execute(), incllambda::execute(), inclkstar::execute(), inclks::execute(), Rhopi::execute(), Ppjrhopi::execute(), Gam4pikp::execute(), KalFitAlg::fillTds_ip(), m_trkInfo::getTrk(), p3(), and p4().
const double DstMdcKalTrack::pz | ( | ) | const [inline] |
Definition at line 69 of file DstMdcKalTrack.h.
References m_pidType, and m_pz.
Referenced by DSemilepAlg::calU(), BFieldCorr::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), inclphi::execute(), incllambda::execute(), inclkstar::execute(), inclks::execute(), Rhopi::execute(), Ppjrhopi::execute(), Gam4pikp::execute(), KalFitAlg::fillTds_ip(), m_trkInfo::getTrk(), p3(), and p4().
const double DstMdcKalTrack::r | ( | ) | const [inline] |
Definition at line 81 of file DstMdcKalTrack.h.
References m_pidType, and m_r.
Referenced by CalibEventSelect::execute(), PipiJpsi::execute(), and BbEmc::execute().
void DstMdcKalTrack::setCharge | ( | const int | charge, | |
const int | pid | |||
) | [inline] |
Definition at line 110 of file DstMdcKalTrack.h.
References m_charge.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setChisq | ( | double | chisq, | |
int | i, | |||
int | pid | |||
) | [inline] |
Definition at line 125 of file DstMdcKalTrack.h.
References m_chisq.
Referenced by KalFitAlg::fillTds(), KalFitAlg::fillTds_back(), KalFitAlg::fillTds_lead(), KalFitAlg::sameas(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setFError | ( | double * | ferror, | |
const int | pid | |||
) | [inline] |
Definition at line 179 of file DstMdcKalTrack.h.
References genRecEmupikp::i, ganga-rec::j, and m_ferrors.
00179 { 00180 int k=0; 00181 HepSymMatrix mat(5); 00182 for(int i=0; i<5 ; i++) { 00183 for(int j=0; j<=i; j++,k++) { 00184 mat[i][j] = ferror[k]; 00185 mat[j][i] = ferror[k]; 00186 } 00187 } 00188 m_ferrors[pid] = mat; 00189 }
void DstMdcKalTrack::setFError | ( | const HepSymMatrix & | ferror, | |
const int | pid | |||
) | [inline] |
Definition at line 170 of file DstMdcKalTrack.h.
References m_ferrors.
Referenced by KalFitAlg::fillTds(), KalFitAlg::fillTds_lead(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setFHelix | ( | double * | fhelix, | |
const int | pid | |||
) | [inline] |
void DstMdcKalTrack::setFHelix | ( | const HepVector & | fhelix, | |
const int | pid | |||
) | [inline] |
Definition at line 166 of file DstMdcKalTrack.h.
References m_fhelixs.
Referenced by KalFitAlg::fillTds(), KalFitAlg::fillTds_lead(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setFirstLayer | ( | int | fL, | |
int | i, | |||
int | pid | |||
) | [inline] |
Definition at line 126 of file DstMdcKalTrack.h.
References m_firstLayer.
00126 { m_firstLayer[i][pid] = fL; }
void DstMdcKalTrack::setLastLayer | ( | int | lL, | |
int | i, | |||
int | pid | |||
) | [inline] |
Definition at line 127 of file DstMdcKalTrack.h.
References m_lastLayer.
00127 { m_lastLayer[i][pid] = lL; }
void DstMdcKalTrack::setMass | ( | double | mass, | |
int | pid | |||
) | [inline] |
Reimplemented in RecMdcKalTrack.
Definition at line 109 of file DstMdcKalTrack.h.
References m_mass.
void DstMdcKalTrack::setNdf | ( | int | ndf, | |
int | i, | |||
int | pid | |||
) | [inline] |
Definition at line 129 of file DstMdcKalTrack.h.
References m_ndf.
Referenced by KalFitAlg::fillTds(), KalFitAlg::fillTds_back(), KalFitAlg::fillTds_lead(), KalFitAlg::sameas(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setNhits | ( | int | nhits, | |
int | pid | |||
) | [inline] |
Reimplemented in RecMdcKalTrack.
Definition at line 128 of file DstMdcKalTrack.h.
References m_nhits.
void DstMdcKalTrack::setNlayer | ( | int | nlayer, | |
int | pid | |||
) | [inline] |
Definition at line 122 of file DstMdcKalTrack.h.
References m_nlayer.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setNster | ( | int | ns, | |
int | i, | |||
int | pid | |||
) | [inline] |
void DstMdcKalTrack::setP | ( | const double | p, | |
const int | pid | |||
) | [inline] |
Definition at line 115 of file DstMdcKalTrack.h.
References m_p.
Referenced by BFieldCorr::execute(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setPhi | ( | const double | phi, | |
const int | pid | |||
) | [inline] |
Definition at line 117 of file DstMdcKalTrack.h.
References m_phi.
Referenced by RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
static void DstMdcKalTrack::setPidType | ( | PidType | pidType | ) | [inline, static] |
Definition at line 59 of file DstMdcKalTrack.h.
References m_pidType.
Referenced by DSemilepAlg::calU(), CDChargedVisible< H >::defaultKinematicData(), BFieldCorr::execute(), LambdaReconstruction::execute(), KShortReconstruction::execute(), PrimaryVertex::execute(), KalFitAlg::execute(), BeamParams::execute(), CalibEventSelect::execute(), JsiLL::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), inclphi::execute(), incllambda::execute(), inclkstar::execute(), inclks::execute(), DQADtag::execute(), DQA_MDC::execute(), Rhopi::execute(), PipiJpsi::execute(), Ppjrhopi::execute(), Gam4pikp::execute(), TofCheckData::Fill(), KalFitAlg::fillTds_ip(), DQADtag::fillTrackItem(), m_trkInfo::getTrk(), BestDTagSvc::isGoodTrack(), DSemilepAlg::isGoodTrack(), DTagTool::isGoodTrack(), Pipipi0::MTotal(), Pipi::MTotal(), Kpipi0pi0::MTotal(), Kpipi0::MTotal(), Kpi::MTotal(), Kkpipi::MTotal(), Kkpi0::MTotal(), Kk::MTotal(), K3pipi0::MTotal(), K3pi::MTotal(), K0pipipi0::MTotal(), K0pipi::MTotal(), K0pi0::MTotal(), K0kpi::MTotal(), K0kk::MTotal(), LocalPionSelector::operator()(), LocalKaonSelector::operator()(), TofCorrPID::particleIDCalculation(), EmcPID::particleIDCalculation(), MdcCalRecTrk::setKalTrk(), and MdcAliRecTrk::setKalTrk().
00059 {m_pidType = pidType; }
void DstMdcKalTrack::setPoca | ( | double * | poca, | |
const int | pid | |||
) | [inline] |
void DstMdcKalTrack::setPoca | ( | const HepPoint3D & | poca, | |
const int | pid | |||
) | [inline] |
Definition at line 131 of file DstMdcKalTrack.h.
References m_pocas.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setPx | ( | const double | px, | |
const int | pid | |||
) | [inline] |
Definition at line 112 of file DstMdcKalTrack.h.
References m_px.
Referenced by BFieldCorr::execute(), KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setPxy | ( | const double | pxy, | |
const int | pid | |||
) | [inline] |
Definition at line 111 of file DstMdcKalTrack.h.
References m_pxy.
Referenced by BFieldCorr::execute(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setPy | ( | const double | py, | |
const int | pid | |||
) | [inline] |
Definition at line 113 of file DstMdcKalTrack.h.
References m_py.
Referenced by BFieldCorr::execute(), KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setPz | ( | const double | pz, | |
const int | pid | |||
) | [inline] |
Definition at line 114 of file DstMdcKalTrack.h.
References m_pz.
Referenced by BFieldCorr::execute(), KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setR | ( | const double | r, | |
const int | pid | |||
) | [inline] |
Definition at line 121 of file DstMdcKalTrack.h.
References m_r.
Referenced by RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setStat | ( | int | stat, | |
int | i, | |||
int | pid | |||
) | [inline] |
Definition at line 124 of file DstMdcKalTrack.h.
References m_stat.
Referenced by KalFitAlg::fillTds(), KalFitAlg::fillTds_back(), KalFitAlg::fillTds_lead(), KalFitAlg::sameas(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setTheta | ( | const double | theta, | |
const int | pid | |||
) | [inline] |
Definition at line 116 of file DstMdcKalTrack.h.
References m_theta.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setTrackId | ( | int | trackId | ) | [inline] |
Definition at line 108 of file DstMdcKalTrack.h.
References m_trackId.
Referenced by KalFitAlg::fillTds_lead(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setX | ( | const double | x, | |
const int | pid | |||
) | [inline] |
Definition at line 118 of file DstMdcKalTrack.h.
References m_x.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setY | ( | const double | y, | |
const int | pid | |||
) | [inline] |
Definition at line 119 of file DstMdcKalTrack.h.
References m_y.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setZ | ( | const double | z, | |
const int | pid | |||
) | [inline] |
Definition at line 120 of file DstMdcKalTrack.h.
References m_z.
Referenced by KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setZError | ( | double * | error, | |
const int | pid | |||
) | [inline] |
Definition at line 154 of file DstMdcKalTrack.h.
References genRecEmupikp::i, ganga-rec::j, and m_zerrors.
00154 { 00155 int k=0; 00156 HepSymMatrix mat(5); 00157 for(int i=0; i<5 ; i++) { 00158 for(int j=0; j<=i; j++,k++) { 00159 mat[i][j] = error[k]; 00160 mat[j][i] = error[k]; 00161 } 00162 } 00163 m_zerrors[pid] = mat; 00164 }
void DstMdcKalTrack::setZError | ( | const HepSymMatrix & | error, | |
const int | pid | |||
) | [inline] |
Definition at line 145 of file DstMdcKalTrack.h.
References m_zerrors.
Referenced by BFieldCorr::execute(), KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
void DstMdcKalTrack::setZHelix | ( | double * | helix, | |
const int | pid | |||
) | [inline] |
void DstMdcKalTrack::setZHelix | ( | const HepVector & | helix, | |
const int | pid | |||
) | [inline] |
Definition at line 141 of file DstMdcKalTrack.h.
References m_zhelixs.
Referenced by BFieldCorr::execute(), KalFitAlg::fillTds_ip(), RecMdcKalTrackCnv::TObjectToDataObject(), and MdcKalTrackCnv::TObjectToDataObject().
const int DstMdcKalTrack::stat | ( | ) | const [inline] |
const double DstMdcKalTrack::tanl | ( | void | ) | const [inline] |
const double DstMdcKalTrack::theta | ( | ) | const [inline] |
Definition at line 70 of file DstMdcKalTrack.h.
References m_pidType, and m_theta.
Referenced by CalibEventSelect::execute(), DQARhopi::execute(), DSemilepAlg::isGoodTrack(), DTagTool::isGoodTrack(), Pipipi0::MTotal(), Pipi::MTotal(), Kpipi0pi0::MTotal(), Kpipi0::MTotal(), Kpi::MTotal(), Kkpipi::MTotal(), Kkpi0::MTotal(), Kk::MTotal(), K3pipi0::MTotal(), K3pi::MTotal(), K0pipipi0::MTotal(), K0pipi::MTotal(), K0pi0::MTotal(), K0kpi::MTotal(), K0kk::MTotal(), LocalPionSelector::operator()(), and LocalKaonSelector::operator()().
const int DstMdcKalTrack::trackId | ( | ) | const [inline] |
Definition at line 63 of file DstMdcKalTrack.h.
References m_trackId.
Referenced by MdcDedxTrk::set_ExTrk_Kal().
00063 { return m_trackId; }
const double DstMdcKalTrack::x | ( | const int | i | ) | const [inline] |
const double DstMdcKalTrack::x | ( | ) | const [inline] |
Definition at line 73 of file DstMdcKalTrack.h.
References m_pidType, and m_x.
Referenced by CalibEventSelect::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), PipiJpsi::execute(), and KalFitAlg::fillTds_ip().
const HepPoint3D DstMdcKalTrack::x3 | ( | ) | const |
const double DstMdcKalTrack::y | ( | const int | i | ) | const [inline] |
const double DstMdcKalTrack::y | ( | ) | const [inline] |
Definition at line 74 of file DstMdcKalTrack.h.
References m_pidType, and m_y.
Referenced by CalibEventSelect::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), PipiJpsi::execute(), and KalFitAlg::fillTds_ip().
const double DstMdcKalTrack::z | ( | const int | i | ) | const [inline] |
const double DstMdcKalTrack::z | ( | ) | const [inline] |
Definition at line 75 of file DstMdcKalTrack.h.
References m_pidType, and m_z.
Referenced by CalibEventSelect::execute(), DQASelHadron::execute(), DQASelDimu::execute(), DQASelBhabha::execute(), DQARhopi::execute(), DQAKsKpi::execute(), DQAJpsi2PPbarAlg::execute(), PipiJpsi::execute(), BbEmc::execute(), and KalFitAlg::fillTds_ip().
int DstMdcKalTrack::m_charge[5] [protected] |
Definition at line 221 of file DstMdcKalTrack.h.
Referenced by charge(), DstMdcKalTrack(), getCharge(), operator=(), and setCharge().
double DstMdcKalTrack::m_chisq[2][5] [protected] |
Definition at line 227 of file DstMdcKalTrack.h.
Referenced by chi2(), DstMdcKalTrack(), RecMdcKalTrack::getChisq(), getChisq(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), and setChisq().
std::vector<HepSymMatrix> DstMdcKalTrack::m_ferrors [protected] |
Definition at line 248 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), ferr(), RecMdcKalTrack::getFError(), getFError(), RecMdcKalTrack::getFErrorE(), RecMdcKalTrack::getFErrorK(), RecMdcKalTrack::getFErrorMu(), RecMdcKalTrack::getFErrorP(), operator=(), and setFError().
std::vector<HepVector> DstMdcKalTrack::m_fhelixs [protected] |
Definition at line 247 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), fhelix(), RecMdcKalTrack::getFCpa(), RecMdcKalTrack::getFDr(), RecMdcKalTrack::getFDz(), RecMdcKalTrack::getFFi0(), RecMdcKalTrack::getFHelix(), getFHelix(), RecMdcKalTrack::getFHelixE(), RecMdcKalTrack::getFHelixK(), RecMdcKalTrack::getFHelixMu(), RecMdcKalTrack::getFHelixP(), RecMdcKalTrack::getFTanl(), operator=(), and setFHelix().
int DstMdcKalTrack::m_firstLayer[2][5] [protected] |
Definition at line 224 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), firstLayer(), RecMdcKalTrack::getFirstLayer(), getFirstLayer(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), and setFirstLayer().
int DstMdcKalTrack::m_lastLayer[2][5] [protected] |
Definition at line 225 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::getLastLayer(), getLastLayer(), lastLayer(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), and setLastLayer().
double DstMdcKalTrack::m_mass[5] [protected] |
Reimplemented in RecMdcKalTrack.
Definition at line 226 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), mass(), operator=(), and setMass().
int DstMdcKalTrack::m_ndf[2][5] [protected] |
Definition at line 240 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::getNdf(), getNdf(), ndof(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), and setNdf().
int DstMdcKalTrack::m_nhits[5] [protected] |
Reimplemented in RecMdcKalTrack.
Definition at line 241 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), and setNhits().
int DstMdcKalTrack::m_nlayer[5] [protected] |
Definition at line 242 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), getNlayer(), nlayer(), operator=(), and setNlayer().
int DstMdcKalTrack::m_nster[2][5] [protected] |
Definition at line 223 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::getNster(), getNster(), nster(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), and setNster().
double DstMdcKalTrack::m_p[5] [protected] |
Definition at line 232 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), p(), and setP().
double DstMdcKalTrack::m_phi[5] [protected] |
Definition at line 234 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), phi(), and setPhi().
PidType DstMdcKalTrack::m_pidType [static, protected] |
Definition at line 219 of file DstMdcKalTrack.h.
Referenced by charge(), chi2(), dr(), dz(), err(), ferr(), fhelix(), fi0(), firstLayer(), getPidType(), helix(), kappa(), lastLayer(), mass(), ndof(), nlayer(), nster(), p(), phi(), poca(), px(), pxy(), py(), pz(), r(), setPidType(), stat(), tanl(), theta(), x(), x3(), y(), and z().
std::vector<HepPoint3D> DstMdcKalTrack::m_pocas [protected] |
Definition at line 244 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::getPoca(), getPoca(), RecMdcKalTrack::getPocaE(), RecMdcKalTrack::getPocaK(), RecMdcKalTrack::getPocaMu(), RecMdcKalTrack::getPocaP(), operator=(), poca(), and setPoca().
double DstMdcKalTrack::m_px[5] [protected] |
Definition at line 229 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), px(), and setPx().
double DstMdcKalTrack::m_pxy[5] [protected] |
Definition at line 228 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), pxy(), and setPxy().
double DstMdcKalTrack::m_py[5] [protected] |
Definition at line 230 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), py(), and setPy().
double DstMdcKalTrack::m_pz[5] [protected] |
Definition at line 231 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), pz(), and setPz().
double DstMdcKalTrack::m_r[5] [protected] |
Definition at line 238 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), r(), and setR().
int DstMdcKalTrack::m_stat[2][5] [protected] |
Definition at line 222 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::getStat(), getStat(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), setStat(), and stat().
double DstMdcKalTrack::m_theta[5] [protected] |
Definition at line 233 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), setTheta(), and theta().
int DstMdcKalTrack::m_trackId [protected] |
Definition at line 220 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), RecMdcKalTrack::getTrackId(), getTrackId(), operator=(), RecMdcKalTrack::RecMdcKalTrack(), setTrackId(), and trackId().
double DstMdcKalTrack::m_x[5] [protected] |
Definition at line 235 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), setX(), x(), and x3().
double DstMdcKalTrack::m_y[5] [protected] |
Definition at line 236 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), setY(), x3(), and y().
double DstMdcKalTrack::m_z[5] [protected] |
Definition at line 237 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), operator=(), setZ(), x3(), and z().
std::vector<HepSymMatrix> DstMdcKalTrack::m_zerrors [protected] |
Definition at line 246 of file DstMdcKalTrack.h.
Referenced by DstMdcKalTrack(), err(), RecMdcKalTrack::getZError(), getZError(), RecMdcKalTrack::getZErrorE(), RecMdcKalTrack::getZErrorK(), RecMdcKalTrack::getZErrorMu(), RecMdcKalTrack::getZErrorP(), operator=(), and setZError().
std::vector<HepVector> DstMdcKalTrack::m_zhelixs [protected] |
Definition at line 245 of file DstMdcKalTrack.h.
Referenced by dr(), DstMdcKalTrack(), dz(), fi0(), RecMdcKalTrack::getZCpa(), RecMdcKalTrack::getZDr(), RecMdcKalTrack::getZDz(), RecMdcKalTrack::getZFi0(), RecMdcKalTrack::getZHelix(), getZHelix(), RecMdcKalTrack::getZHelixE(), RecMdcKalTrack::getZHelixK(), RecMdcKalTrack::getZHelixMu(), RecMdcKalTrack::getZHelixP(), RecMdcKalTrack::getZTanl(), helix(), kappa(), operator=(), setZHelix(), and tanl().