#include <TMdcDedx.h>
Public Member Functions | |
TMdcDedx () | |
~TMdcDedx () | |
Int_t | trackId () const |
Int_t | particleId () const |
Int_t | status () const |
Int_t | truncAlg () const |
Double_t | chi (int i) const |
Double_t | chiE () const |
Double_t | chiMu () const |
Double_t | chiPi () const |
Double_t | chiK () const |
Double_t | chiP () const |
Int_t | numGoodHits () const |
Int_t | numTotalHits () const |
Double_t | probPH () const |
Double_t | normPH () const |
Double_t | errorPH () const |
Double_t | twentyPH () const |
void | setTrackId (const Int_t trackId) |
void | setParticleId (const Int_t particleId) |
void | setStatus (const Int_t status) |
void | setTruncAlg (const Int_t trunc_alg) |
void | setChiE (const Double_t chiE) |
void | setChiMu (const Double_t chiMu) |
void | setChiPi (const Double_t chiPi) |
void | setChiK (const Double_t chiK) |
void | setChiP (const Double_t chiP) |
void | setNumGoodHits (const Int_t numGoodHits) |
void | setNumTotalHits (const Int_t numTotalHits) |
void | setProbPH (const Double_t probPH) |
void | setNormPH (const Double_t normPH) |
void | setErrorPH (const Double_t errorPH) |
void | setTwentyPH (const Double_t twentyPH) |
Private Attributes | |
Int_t | m_trackId |
Int_t | m_particleId |
Int_t | m_status |
Int_t | m_trunc_alg |
Double_t | m_chiE |
Double_t | m_chiMu |
Double_t | m_chiPi |
Double_t | m_chiK |
Double_t | m_chiP |
Int_t | m_numGoodHits |
Int_t | m_numTotalHits |
Double_t | m_probPH |
Double_t | m_normPH |
Double_t | m_errorPH |
Double_t | m_twentyPH |
Definition at line 6 of file TMdcDedx.h.
TMdcDedx::TMdcDedx | ( | ) |
TMdcDedx::~TMdcDedx | ( | ) |
Double_t TMdcDedx::chi | ( | int | i | ) | const |
Definition at line 19 of file TMdcDedx.cxx.
References m_chiE, m_chiK, m_chiMu, m_chiP, and m_chiPi.
00019 { 00020 double chi_ret = 0; 00021 switch (i) { 00022 case 0: chi_ret = m_chiE; 00023 break; 00024 case 1: chi_ret = m_chiMu; 00025 break; 00026 case 2: chi_ret = m_chiPi; 00027 break; 00028 case 3: chi_ret = m_chiK; 00029 break; 00030 case 4: chi_ret = m_chiP; 00031 break; 00032 default: std::cerr << " TMdcDedx::chi: i= " << i << " - out of range" 00033 << std::endl; 00034 exit(1); 00035 } 00036 00037 return chi_ret; 00038 }
Double_t TMdcDedx::chiE | ( | ) | const [inline] |
Definition at line 26 of file TMdcDedx.h.
References m_chiE.
Referenced by MdcDedxCnv::TObjectToDataObject().
00026 { return m_chiE; }
Double_t TMdcDedx::chiK | ( | ) | const [inline] |
Definition at line 29 of file TMdcDedx.h.
References m_chiK.
Referenced by MdcDedxCnv::TObjectToDataObject().
00029 { return m_chiK; }
Double_t TMdcDedx::chiMu | ( | ) | const [inline] |
Definition at line 27 of file TMdcDedx.h.
References m_chiMu.
Referenced by MdcDedxCnv::TObjectToDataObject().
00027 { return m_chiMu; }
Double_t TMdcDedx::chiP | ( | ) | const [inline] |
Definition at line 30 of file TMdcDedx.h.
References m_chiP.
Referenced by MdcDedxCnv::TObjectToDataObject().
00030 { return m_chiP; }
Double_t TMdcDedx::chiPi | ( | ) | const [inline] |
Definition at line 28 of file TMdcDedx.h.
References m_chiPi.
Referenced by MdcDedxCnv::TObjectToDataObject().
00028 { return m_chiPi; }
Double_t TMdcDedx::errorPH | ( | ) | const [inline] |
Definition at line 37 of file TMdcDedx.h.
References m_errorPH.
Referenced by MdcDedxCnv::TObjectToDataObject().
00037 { return m_errorPH; }
Double_t TMdcDedx::normPH | ( | ) | const [inline] |
Definition at line 36 of file TMdcDedx.h.
References m_normPH.
Referenced by MdcDedxCnv::TObjectToDataObject().
00036 { return m_normPH; }
Int_t TMdcDedx::numGoodHits | ( | ) | const [inline] |
Definition at line 32 of file TMdcDedx.h.
References m_numGoodHits.
Referenced by MdcDedxCnv::TObjectToDataObject().
00032 { return m_numGoodHits; }
Int_t TMdcDedx::numTotalHits | ( | ) | const [inline] |
Definition at line 33 of file TMdcDedx.h.
References m_numTotalHits.
Referenced by MdcDedxCnv::TObjectToDataObject().
00033 { return m_numTotalHits; }
Int_t TMdcDedx::particleId | ( | ) | const [inline] |
Definition at line 20 of file TMdcDedx.h.
References m_particleId.
Referenced by MdcDedxCnv::TObjectToDataObject().
00020 { return m_particleId; }
Double_t TMdcDedx::probPH | ( | ) | const [inline] |
Definition at line 35 of file TMdcDedx.h.
References m_probPH.
Referenced by MdcDedxCnv::TObjectToDataObject().
00035 { return m_probPH; }
void TMdcDedx::setChiE | ( | const Double_t | chiE | ) | [inline] |
Definition at line 55 of file TMdcDedx.h.
References m_chiE.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setChiK | ( | const Double_t | chiK | ) | [inline] |
Definition at line 58 of file TMdcDedx.h.
References m_chiK.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setChiMu | ( | const Double_t | chiMu | ) | [inline] |
Definition at line 56 of file TMdcDedx.h.
References m_chiMu.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setChiP | ( | const Double_t | chiP | ) | [inline] |
Definition at line 59 of file TMdcDedx.h.
References m_chiP.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setChiPi | ( | const Double_t | chiPi | ) | [inline] |
Definition at line 57 of file TMdcDedx.h.
References m_chiPi.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setErrorPH | ( | const Double_t | errorPH | ) | [inline] |
Definition at line 66 of file TMdcDedx.h.
References m_errorPH.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setNormPH | ( | const Double_t | normPH | ) | [inline] |
Definition at line 65 of file TMdcDedx.h.
References m_normPH.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setNumGoodHits | ( | const Int_t | numGoodHits | ) | [inline] |
Definition at line 61 of file TMdcDedx.h.
References m_numGoodHits.
Referenced by MdcDedxCnv::DataObjectToTObject().
00061 { m_numGoodHits = numGoodHits; }
void TMdcDedx::setNumTotalHits | ( | const Int_t | numTotalHits | ) | [inline] |
Definition at line 62 of file TMdcDedx.h.
References m_numTotalHits.
Referenced by MdcDedxCnv::DataObjectToTObject().
00062 { m_numTotalHits = numTotalHits; }
void TMdcDedx::setParticleId | ( | const Int_t | particleId | ) | [inline] |
Definition at line 48 of file TMdcDedx.h.
References m_particleId.
Referenced by MdcDedxCnv::DataObjectToTObject().
00048 { m_particleId = particleId; }
void TMdcDedx::setProbPH | ( | const Double_t | probPH | ) | [inline] |
Definition at line 64 of file TMdcDedx.h.
References m_probPH.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setStatus | ( | const Int_t | status | ) | [inline] |
Definition at line 49 of file TMdcDedx.h.
References m_status.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setTrackId | ( | const Int_t | trackId | ) | [inline] |
Definition at line 47 of file TMdcDedx.h.
References m_trackId.
Referenced by MdcDedxCnv::DataObjectToTObject().
void TMdcDedx::setTruncAlg | ( | const Int_t | trunc_alg | ) | [inline] |
Definition at line 50 of file TMdcDedx.h.
References m_trunc_alg.
Referenced by MdcDedxCnv::DataObjectToTObject().
00050 { m_trunc_alg = trunc_alg; }
void TMdcDedx::setTwentyPH | ( | const Double_t | twentyPH | ) | [inline] |
Definition at line 67 of file TMdcDedx.h.
References m_twentyPH.
Referenced by MdcDedxCnv::DataObjectToTObject().
00067 { m_twentyPH = twentyPH; }
Int_t TMdcDedx::status | ( | void | ) | const [inline] |
Definition at line 21 of file TMdcDedx.h.
References m_status.
Referenced by MdcDedxCnv::TObjectToDataObject().
00021 { return m_status; }
Int_t TMdcDedx::trackId | ( | ) | const [inline] |
Definition at line 19 of file TMdcDedx.h.
References m_trackId.
Referenced by MdcDedxCnv::TObjectToDataObject().
00019 { return m_trackId; }
Int_t TMdcDedx::truncAlg | ( | ) | const [inline] |
Definition at line 22 of file TMdcDedx.h.
References m_trunc_alg.
Referenced by MdcDedxCnv::TObjectToDataObject().
00022 { return m_trunc_alg; }
Double_t TMdcDedx::twentyPH | ( | ) | const [inline] |
Definition at line 38 of file TMdcDedx.h.
References m_twentyPH.
Referenced by MdcDedxCnv::TObjectToDataObject().
00038 { return m_twentyPH; }
Double_t TMdcDedx::m_chiE [private] |
Double_t TMdcDedx::m_chiK [private] |
Double_t TMdcDedx::m_chiMu [private] |
Double_t TMdcDedx::m_chiP [private] |
Double_t TMdcDedx::m_chiPi [private] |
Double_t TMdcDedx::m_errorPH [private] |
Double_t TMdcDedx::m_normPH [private] |
Int_t TMdcDedx::m_numGoodHits [private] |
Int_t TMdcDedx::m_numTotalHits [private] |
Int_t TMdcDedx::m_particleId [private] |
Double_t TMdcDedx::m_probPH [private] |
Int_t TMdcDedx::m_status [private] |
Int_t TMdcDedx::m_trackId [private] |
Int_t TMdcDedx::m_trunc_alg [private] |
Double_t TMdcDedx::m_twentyPH [private] |