#include <DstMdcDedx.h>
Inheritance diagram for DstMdcDedx:
Public Member Functions | |
DstMdcDedx () | |
virtual | ~DstMdcDedx () |
virtual const CLID & | clID () const |
int | trackId () const |
int | particleId () const |
pid_dedx | particleType () const |
int | status () const |
int | truncAlg () const |
double | chi (int i) const |
double | chiE () const |
double | chiMu () const |
double | chiPi () const |
double | chiK () const |
double | chiP () const |
int | numGoodHits () const |
int | numTotalHits () const |
double | probPH () const |
double | normPH () const |
double | errorPH () const |
double | twentyPH () const |
void | setTrackId (int trackId) |
void | setParticleId (int particleId) |
void | setStatus (int status) |
void | setTruncAlg (int trunc_alg) |
void | setChi (double *chi) |
void | setNumGoodHits (int numGoodHits) |
void | setNumTotalHits (int numTotalHits) |
void | setProbPH (double probPH) |
void | setNormPH (double normPH) |
void | setErrorPH (double errorPH) |
void | setTwentyPH (double twentyPH) |
Static Public Member Functions | |
static const CLID & | classID () |
Protected Attributes | |
int | m_trackId |
int | m_particleId |
int | m_status |
int | m_trunc_alg |
double | m_chi [5] |
int | m_numGoodHits |
int | m_numTotalHits |
double | m_probPH |
double | m_normPH |
double | m_errorPH |
double | m_twentyPH |
Definition at line 11 of file DstMdcDedx.h.
DstMdcDedx::DstMdcDedx | ( | ) | [inline] |
virtual DstMdcDedx::~DstMdcDedx | ( | ) | [inline, virtual] |
double DstMdcDedx::chi | ( | int | i | ) | const [inline] |
Definition at line 58 of file DstMdcDedx.h.
References m_chi.
Referenced by DedxPID::particleIDCalculation().
double DstMdcDedx::chiE | ( | ) | const [inline] |
Definition at line 59 of file DstMdcDedx.h.
References m_chi.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), and BestDTagSvc::isElectron().
00059 { return m_chi[0]; }
double DstMdcDedx::chiK | ( | ) | const [inline] |
Definition at line 62 of file DstMdcDedx.h.
References m_chi.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), and DQADtag::fillTrackDedxItem().
00062 { return m_chi[3]; }
double DstMdcDedx::chiMu | ( | ) | const [inline] |
Definition at line 60 of file DstMdcDedx.h.
References m_chi.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), and DTagTool::isMuon().
00060 { return m_chi[1]; }
double DstMdcDedx::chiP | ( | ) | const [inline] |
Definition at line 63 of file DstMdcDedx.h.
References m_chi.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), and PipiJpsi::execute().
00063 { return m_chi[4]; }
double DstMdcDedx::chiPi | ( | ) | const [inline] |
Definition at line 61 of file DstMdcDedx.h.
References m_chi.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), and DQADtag::fillTrackDedxItem().
00061 { return m_chi[2]; }
static const CLID& DstMdcDedx::classID | ( | ) | [inline, static] |
Reimplemented in RecMdcDedx.
Definition at line 19 of file DstMdcDedx.h.
References CLID_DstMdcDedx.
Referenced by clID().
00019 { return CLID_DstMdcDedx; }
virtual const CLID& DstMdcDedx::clID | ( | ) | const [inline, virtual] |
Reimplemented in RecMdcDedx.
Definition at line 18 of file DstMdcDedx.h.
References classID().
00018 { return DstMdcDedx::classID(); }
double DstMdcDedx::errorPH | ( | ) | const [inline] |
double DstMdcDedx::normPH | ( | ) | const [inline] |
Definition at line 67 of file DstMdcDedx.h.
References m_normPH.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), DQADtag::fillTrackDedxItem(), and DedxPID::particleIDCalculation().
00067 { return m_normPH; }
int DstMdcDedx::numGoodHits | ( | ) | const [inline] |
Definition at line 64 of file DstMdcDedx.h.
References m_numGoodHits.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), DQADtag::fillTrackDedxItem(), and DedxPID::particleIDCalculation().
00064 { return m_numGoodHits; }
int DstMdcDedx::numTotalHits | ( | ) | const [inline] |
Definition at line 65 of file DstMdcDedx.h.
References m_numTotalHits.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), and DQADtag::fillTrackDedxItem().
00065 { return m_numTotalHits; }
int DstMdcDedx::particleId | ( | ) | const [inline] |
Definition at line 33 of file DstMdcDedx.h.
References m_particleId.
Referenced by particleType().
00033 { return m_particleId; } // will converge to particleType() later
pid_dedx DstMdcDedx::particleType | ( | ) | const [inline] |
Definition at line 34 of file DstMdcDedx.h.
References electron, kaon, muon, particleId(), pion, and proton.
00034 { 00035 switch(particleId()){ 00036 case 0: 00037 return electron; 00038 break; 00039 case 1: 00040 return muon; 00041 break; 00042 case 2: 00043 return kaon; 00044 break; 00045 case 3: 00046 return pion; 00047 break; 00048 case 4: 00049 return proton; 00050 break; 00051 default: 00052 std::cerr << "the particleType receive an incorrect input!" << std::endl; 00053 exit(1); 00054 } 00055 }
double DstMdcDedx::probPH | ( | ) | const [inline] |
Definition at line 66 of file DstMdcDedx.h.
References m_probPH.
Referenced by DQARhopi::execute(), DQADtag::execute(), Rhopi::execute(), PipiJpsi::execute(), DQADtag::fillTrackDedxItem(), and DedxPID::particleIDCalculation().
00066 { return m_probPH; }
void DstMdcDedx::setChi | ( | double * | chi | ) | [inline] |
Definition at line 77 of file DstMdcDedx.h.
References genRecEmupikp::i, and m_chi.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
void DstMdcDedx::setErrorPH | ( | double | errorPH | ) | [inline] |
Definition at line 85 of file DstMdcDedx.h.
References m_errorPH.
Referenced by RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
void DstMdcDedx::setNormPH | ( | double | normPH | ) | [inline] |
Definition at line 84 of file DstMdcDedx.h.
References m_normPH.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
void DstMdcDedx::setNumGoodHits | ( | int | numGoodHits | ) | [inline] |
Definition at line 81 of file DstMdcDedx.h.
References m_numGoodHits.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
00081 { m_numGoodHits = numGoodHits; }
void DstMdcDedx::setNumTotalHits | ( | int | numTotalHits | ) | [inline] |
Definition at line 82 of file DstMdcDedx.h.
References m_numTotalHits.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
00082 { m_numTotalHits = numTotalHits; }
void DstMdcDedx::setParticleId | ( | int | particleId | ) | [inline] |
Definition at line 73 of file DstMdcDedx.h.
References m_particleId.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
00073 { m_particleId = particleId; }
void DstMdcDedx::setProbPH | ( | double | probPH | ) | [inline] |
Definition at line 83 of file DstMdcDedx.h.
References m_probPH.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
void DstMdcDedx::setStatus | ( | int | status | ) | [inline] |
Definition at line 74 of file DstMdcDedx.h.
References m_status.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
void DstMdcDedx::setTrackId | ( | int | trackId | ) | [inline] |
Definition at line 72 of file DstMdcDedx.h.
References m_trackId.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
void DstMdcDedx::setTruncAlg | ( | int | trunc_alg | ) | [inline] |
Definition at line 75 of file DstMdcDedx.h.
References m_trunc_alg.
Referenced by MdcDedxRecon::execute(), RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
00075 { m_trunc_alg = trunc_alg; }
void DstMdcDedx::setTwentyPH | ( | double | twentyPH | ) | [inline] |
Definition at line 86 of file DstMdcDedx.h.
References m_twentyPH.
Referenced by RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().
00086 { m_twentyPH = twentyPH; }
int DstMdcDedx::status | ( | ) | const [inline] |
int DstMdcDedx::trackId | ( | ) | const [inline] |
int DstMdcDedx::truncAlg | ( | ) | const [inline] |
double DstMdcDedx::twentyPH | ( | ) | const [inline] |
double DstMdcDedx::m_chi[5] [protected] |
double DstMdcDedx::m_errorPH [protected] |
double DstMdcDedx::m_normPH [protected] |
int DstMdcDedx::m_numGoodHits [protected] |
int DstMdcDedx::m_numTotalHits [protected] |
int DstMdcDedx::m_particleId [protected] |
double DstMdcDedx::m_probPH [protected] |
int DstMdcDedx::m_status [protected] |
int DstMdcDedx::m_trackId [protected] |
int DstMdcDedx::m_trunc_alg [protected] |
double DstMdcDedx::m_twentyPH [protected] |