BOSS 7.1.2
BESIII Offline Software System
|
#include <ParticleID.h>
Public Member Functions | |
~ParticleID () | |
void | init () |
bool | IsDedxInfoValid () const |
bool | IsTofInfoValid () const |
bool | IsTofEInfoValid () const |
bool | IsTofQInfoValid () const |
bool | IsTofCInfoValid () const |
bool | IsTofCorrInfoValid () const |
bool | IsEmcInfoValid () const |
bool | IsMucInfoValid () const |
double | chiDedx (int n) const |
double | chiTof (int n) const |
double | chiTof1 (int n) const |
double | chiTof2 (int n) const |
double | chiTofE (int n) const |
double | chiTofQ (int n) const |
double | chiTofC (int n) const |
double | chiTofCorr (int n) const |
double | chiEmc (int n) const |
double | chiMuc (int n) const |
double | probDedx (int n) const |
double | probTof (int n) const |
double | probTofE (int n) const |
double | probTofQ (int n) const |
double | probTofC (int n) const |
double | probTofCorr (int n) const |
double | probEmc (int n) const |
double | probMuc (int n) const |
double | pdfDedx (int n) |
double | pdfTof (int n) |
double | pdfTofE (int n) |
double | pdfTofQ (int n) |
double | pdfTofC (int n) |
double | pdfTofCorr (int n) |
double | pdfEmc (int n) |
double | pdfMuc (int n) |
int | getNhitCut () const |
void | setNhitCut (const int nhitcuth=5) |
void | setMethod (const int method) |
void | usePidSys (const int pidsys) |
void | identify (const int pidcase) |
void | calculate () |
bool | IsPidInfoValid () const |
double | chi (int n) const |
double | prob (int n) const |
int | ndof () const |
double | pdf (int n) const |
double | lhf (int n) const |
double | probElectron () const |
double | probMuon () const |
double | probPion () const |
double | probKaon () const |
double | probProton () const |
int | discard () const |
double | pdfElectron () const |
double | pdfMuon () const |
double | pdfPion () const |
double | pdfKaon () const |
double | pdfProton () const |
int | neuronStat () const |
double | neuronVal () const |
int | ipmt () |
double | dt (int ipar, int ipmt) |
double | dtCorr (int ipar, int ipmt) |
double | sigCorr (int ipar, int ipmt) |
double | chiCorr (int ipar, int ipmt) |
double | offset (int ipar) |
double | sigma (int ipar) |
Public Member Functions inherited from ParticleIDBase | |
ParticleIDBase () | |
virtual | ~ParticleIDBase () |
EvtRecTrack * | PidTrk () const |
void | setRecTrack (EvtRecTrack *trk) |
double | chiMinCut () const |
void | setChiMinCut (const double chi=4) |
double | chiMaxCut () const |
void | setChiMaxCut (const double chi=6) |
double | pdfMinSigmaCut () const |
void | setPdfMinSigmaCut (const double pdf=4) |
double | getRunNo () const |
void | setRunNo (const double runh=8093) |
double | p () |
double | pt () |
double | charge () |
double | xmass (int n) |
double | velc () |
double | probCalculate (double chi2, int n) |
double | pdfCalculate (double offset, double sigma) |
double | interpolation (double *x, double *y, double x1) |
double | pol2 (double x, double *par) |
double | pol3 (double x, double *par) |
double | pol4 (double x, double *par) |
int | useDedx () const |
int | useTof () const |
int | useTof1 () const |
int | useTof2 () const |
int | useTofE () const |
int | useTofQ () const |
int | useTofC () const |
int | useTofCorr () const |
int | useEmc () const |
int | useMuc () const |
int | onlyPionKaon () const |
int | onlyPionKaonProton () const |
int | onlyPionKaonElectron () const |
int | all () const |
int | onlyElectron () const |
int | onlyMuon () const |
int | onlyPion () const |
int | onlyKaon () const |
int | onlyProton () const |
int | methodLikelihood () const |
int | methodProbability () const |
int | methodNeuronNetwork () const |
int | dedxValid () const |
int | tofValid () const |
int | tofeValid () const |
int | tofqValid () const |
int | tofcValid () const |
int | tofcorrValid () const |
int | emcValid () const |
int | mucValid () const |
void | set_path (const char *s_path=0) |
void | set_path (std::string s_path) |
Static Public Member Functions | |
static ParticleID * | instance () |
Protected Member Functions | |
int | particleIDCalculation () |
int | LikelihoodCalculation () |
int | neuronPIDCalculation () |
Protected Member Functions inherited from ParticleIDBase |
Additional Inherited Members | |
Static Protected Attributes inherited from ParticleIDBase | |
static std::string | path = "" |
Definition at line 36 of file ParticleID.h.
ParticleID::~ParticleID | ( | ) |
Definition at line 88 of file ParticleID.cxx.
|
virtual |
Implements ParticleIDBase.
Definition at line 97 of file ParticleID.cxx.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
inlinevirtual |
|
inline |
Definition at line 165 of file ParticleID.h.
|
inline |
Referenced by DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), Gam4pikp::execute(), Rhopi::execute(), Signal::execute(), Single::execute(), TestV::execute(), and LikelihoodCalculation().
|
inline |
|
inline |
|
inline |
Referenced by Gam4pikp::execute(), and LikelihoodCalculation().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by Gam4pikp::execute(), and LikelihoodCalculation().
|
inline |
Referenced by Gam4pikp::execute().
|
inline |
Definition at line 126 of file ParticleID.h.
|
inline |
Definition at line 156 of file ParticleID.h.
|
inline |
Definition at line 159 of file ParticleID.h.
|
inline |
Definition at line 88 of file ParticleID.h.
|
inline |
Definition at line 103 of file ParticleID.h.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
virtual |
Implements ParticleIDBase.
Definition at line 27 of file ParticleID.cxx.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
static |
Definition at line 22 of file ParticleID.cxx.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
inline |
Definition at line 153 of file ParticleID.h.
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inlinevirtual |
Implements ParticleIDBase.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), and neuronStat().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
|
protectedvirtual |
Implements ParticleIDBase.
Definition at line 432 of file ParticleID.cxx.
|
inlinevirtual |
|
protected |
|
inline |
Definition at line 144 of file ParticleID.h.
|
inline |
Definition at line 145 of file ParticleID.h.
|
inline |
Definition at line 168 of file ParticleID.h.
|
protectedvirtual |
Implements ParticleIDBase.
Definition at line 256 of file ParticleID.cxx.
|
inline |
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Definition at line 129 of file ParticleID.h.
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Definition at line 132 of file ParticleID.h.
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Definition at line 130 of file ParticleID.h.
|
inline |
Definition at line 131 of file ParticleID.h.
|
inline |
Definition at line 133 of file ParticleID.h.
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
Referenced by LikelihoodCalculation().
|
inline |
|
inline |
Referenced by LikelihoodCalculation().
|
inlinevirtual |
Implements ParticleIDBase.
Definition at line 114 of file ParticleID.h.
Referenced by DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), and Signal::execute().
|
inline |
Referenced by Gam4pikp::execute().
|
inline |
Definition at line 121 of file ParticleID.h.
Referenced by BeamParams::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), LTagSetAlg::execute(), TagSetAlg::execute(), and XYZTagSetAlg::execute().
|
inline |
|
inline |
Definition at line 124 of file ParticleID.h.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
inline |
|
inline |
Definition at line 122 of file ParticleID.h.
Referenced by BeamParams::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), LTagSetAlg::execute(), TagSetAlg::execute(), and XYZTagSetAlg::execute().
|
inline |
Definition at line 123 of file ParticleID.h.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
inline |
Definition at line 125 of file ParticleID.h.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), incllambda::execute(), LTagSetAlg::execute(), Rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalLambdaSelector::operator()(), and LocalProtonSelector::operator()().
|
inline |
Referenced by Gam4pikp::execute().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 94 of file ParticleID.h.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().
|
inline |
Definition at line 89 of file ParticleID.h.
|
inline |
Definition at line 162 of file ParticleID.h.
|
inline |
Definition at line 171 of file ParticleID.h.
|
inline |
Definition at line 97 of file ParticleID.h.
Referenced by BeamParams::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), DTagSetAlg::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), LTagSetAlg::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), Single::execute(), TagSetAlg::execute(), TestV::execute(), XYZTagSetAlg::execute(), LocalKaonSelector::operator()(), LocalLambdaSelector::operator()(), LocalPionSelector::operator()(), and LocalProtonSelector::operator()().