ParticleIDBase Class Reference

#include <ParticleIDBase.h>

Inheritance diagram for ParticleIDBase:

DedxPID EmcPID MucPID ParticleID Tof1PID Tof2PID TofCorrPID TofCPID TofEPID TofPID TofQPID List of all members.

Public Member Functions

 ParticleIDBase ()
virtual ~ParticleIDBase ()
virtual void init ()=0
virtual void calculate ()=0
virtual bool IsPidInfoValid () const =0
virtual double chi (int n) const =0
virtual double prob (int n) const =0
virtual int ndof () const =0
EvtRecTrackPidTrk () 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)

Protected Member Functions

virtual int particleIDCalculation ()=0
virtual int LikelihoodCalculation ()=0

Static Protected Attributes

static std::string path = ""

Private Attributes

EvtRecTrackm_trk
double m_runno
double m_chimin_cut
double m_chimax_cut
double m_pdfsigmamin_cut

Static Private Attributes

static const int USE_DEDX = 1
static const int USE_TOF1 = 2
static const int USE_TOF2 = 4
static const int USE_TOF = 128
static const int USE_TOFE = 8
static const int USE_TOFQ = 16
static const int USE_TOFC = 256
static const int USE_TOFCorr = 512
static const int USE_EMC = 32
static const int USE_MUC = 64
static const int IDENTIFY_ELECTRON = 1
static const int IDENTIFY_MUON = 2
static const int IDENTIFY_PION = 4
static const int IDENTIFY_KAON = 8
static const int IDENTIFY_PROTON = 16
static const int PROBABILITY_PID = 1
static const int LIKELIHOOD_PID = 2
static const int NEURONNETWORK_PID = 4
static const int DEDX_VALID = 1
static const int TOF_VALID = 128
static const int TOF1_VALID = 2
static const int TOF2_VALID = 4
static const int TOFE_VALID = 8
static const int TOFQ_VALID = 16
static const int TOFC_VALID = 256
static const int TOFCorr_VALID = 512
static const int EMC_VALID = 32
static const int MUC_VALID = 64

Detailed Description

Definition at line 21 of file ParticleIDBase.h.


Constructor & Destructor Documentation

ParticleIDBase::ParticleIDBase (  ) 

Definition at line 43 of file ParticleIDBase.cxx.

References m_chimax_cut, m_chimin_cut, m_pdfsigmamin_cut, m_trk, path, and set_path().

00044 {
00045    m_trk = 0;
00046    m_chimin_cut = 4;
00047    m_chimax_cut = 6;
00048    m_pdfsigmamin_cut=99;
00049 
00050 #ifndef BEAN
00051    if( path.empty() ) set_path(0);
00052 #endif
00053 }

virtual ParticleIDBase::~ParticleIDBase (  )  [inline, virtual]

Definition at line 26 of file ParticleIDBase.h.

00026 {;}


Member Function Documentation

int ParticleIDBase::all (  )  const [inline]

Definition at line 79 of file ParticleIDBase.h.

References IDENTIFY_ELECTRON, IDENTIFY_KAON, IDENTIFY_PION, and IDENTIFY_PROTON.

virtual void ParticleIDBase::calculate (  )  [pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

double ParticleIDBase::charge (  ) 

Definition at line 116 of file ParticleIDBase.cxx.

References DstMdcTrack::charge(), EvtRecTrack::isMdcTrackValid(), m_trk, and EvtRecTrack::mdcTrack().

Referenced by TofCorrPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), and DedxPID::particleIDCalculation().

00116                               {
00117    double val = 999;
00118    if(!m_trk) return val;
00119    if(!m_trk->isMdcTrackValid()) return val;
00120    RecMdcTrack *mdcTrk = m_trk->mdcTrack();
00121    val = mdcTrk->charge() + 0.0;
00122    return val;
00123 }

virtual double ParticleIDBase::chi ( int  n  )  const [pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

Referenced by setChiMaxCut(), and setChiMinCut().

double ParticleIDBase::chiMaxCut (  )  const [inline]

Definition at line 40 of file ParticleIDBase.h.

References m_chimax_cut.

Referenced by TofCorrPID::correlationCheck(), TofCorrPID::particleIDCalculation(), and ParticleID::particleIDCalculation().

00040 {return m_chimax_cut;}

double ParticleIDBase::chiMinCut (  )  const [inline]

Definition at line 38 of file ParticleIDBase.h.

References m_chimin_cut.

Referenced by TofCorrPID::correlationCheck(), TofPID::particleIDCalculation(), TofCPID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), ParticleID::particleIDCalculation(), and DedxPID::particleIDCalculation().

00038 {return m_chimin_cut;}

int ParticleIDBase::dedxValid (  )  const [inline]

Definition at line 91 of file ParticleIDBase.h.

References DEDX_VALID.

00091 {return DEDX_VALID;}

int ParticleIDBase::emcValid (  )  const [inline]

Definition at line 97 of file ParticleIDBase.h.

References EMC_VALID.

00097 {return EMC_VALID;}

double ParticleIDBase::getRunNo (  )  const [inline]

Definition at line 44 of file ParticleIDBase.h.

References m_runno.

Referenced by TofCPID::calculate(), DedxPID::CorrDedx(), TofCorrPID::init(), TofCPID::offsetTofC(), TofCorrPID::sigmaTof(), and TofCPID::sigmaTofC().

00044 {return m_runno;}

virtual void ParticleIDBase::init (  )  [pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

double ParticleIDBase::interpolation ( double *  x,
double *  y,
double  x1 
)

Definition at line 125 of file ParticleIDBase.cxx.

00125                                                                    {
00126    double c1 = (y[0]-y[1])*(x[1]-x[2])-(x[0]-x[1])*(y[1]-y[2]);
00127    double c2 = (x[0]*x[0]-x[1]*x[1])*(x[1]-x[2])-(x[1]*x[1]-x[2]*x[2])*(x[0]-x[1]);
00128    double c = c1/c2;
00129    double b1 = (y[0]-y[1])*(x[1]*x[1]-x[2]*x[2])-(x[0]*x[0]-x[1]*x[1])*(y[1]-y[2]);
00130    double b2 = (x[0]-x[1])*(x[1]*x[1]-x[2]*x[2])-(x[1]-x[2])*(x[0]*x[0]-x[1]*x[1]);
00131    double b = b1/b2;
00132    double a = y[0] - b*x[0]-c*x[0]*x[0];
00133    double y1 = a + b*x1 +c*x1*x1;
00134    return y1;
00135 }

virtual bool ParticleIDBase::IsPidInfoValid (  )  const [pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

virtual int ParticleIDBase::LikelihoodCalculation (  )  [protected, pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

int ParticleIDBase::methodLikelihood (  )  const [inline]

Definition at line 87 of file ParticleIDBase.h.

References LIKELIHOOD_PID.

00087 {return LIKELIHOOD_PID;}

int ParticleIDBase::methodNeuronNetwork (  )  const [inline]

Definition at line 89 of file ParticleIDBase.h.

References NEURONNETWORK_PID.

00089 {return NEURONNETWORK_PID;}

int ParticleIDBase::methodProbability (  )  const [inline]

Definition at line 88 of file ParticleIDBase.h.

References PROBABILITY_PID.

00088 {return PROBABILITY_PID;}

int ParticleIDBase::mucValid (  )  const [inline]

Definition at line 98 of file ParticleIDBase.h.

References MUC_VALID.

00098 {return MUC_VALID;}

virtual int ParticleIDBase::ndof (  )  const [pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

int ParticleIDBase::onlyElectron (  )  const [inline]

Definition at line 80 of file ParticleIDBase.h.

References IDENTIFY_ELECTRON.

Referenced by ParticleID::LikelihoodCalculation(), and ParticleID::particleIDCalculation().

00080 {return IDENTIFY_ELECTRON;}

int ParticleIDBase::onlyKaon (  )  const [inline]

Definition at line 83 of file ParticleIDBase.h.

References IDENTIFY_KAON.

Referenced by ParticleID::LikelihoodCalculation(), and ParticleID::particleIDCalculation().

00083 {return IDENTIFY_KAON;}

int ParticleIDBase::onlyMuon (  )  const [inline]

Definition at line 81 of file ParticleIDBase.h.

References IDENTIFY_MUON.

Referenced by ParticleID::LikelihoodCalculation(), and ParticleID::particleIDCalculation().

00081 {return IDENTIFY_MUON;}

int ParticleIDBase::onlyPion (  )  const [inline]

Definition at line 82 of file ParticleIDBase.h.

References IDENTIFY_PION.

Referenced by ParticleID::LikelihoodCalculation(), and ParticleID::particleIDCalculation().

00082 {return IDENTIFY_PION;}

int ParticleIDBase::onlyPionKaon (  )  const [inline]

Definition at line 76 of file ParticleIDBase.h.

References IDENTIFY_KAON, and IDENTIFY_PION.

00076 {return (IDENTIFY_PION | IDENTIFY_KAON);}

int ParticleIDBase::onlyPionKaonElectron (  )  const [inline]

Definition at line 78 of file ParticleIDBase.h.

References IDENTIFY_ELECTRON, IDENTIFY_KAON, and IDENTIFY_PION.

int ParticleIDBase::onlyPionKaonProton (  )  const [inline]

Definition at line 77 of file ParticleIDBase.h.

References IDENTIFY_KAON, IDENTIFY_PION, and IDENTIFY_PROTON.

int ParticleIDBase::onlyProton (  )  const [inline]

Definition at line 84 of file ParticleIDBase.h.

References IDENTIFY_PROTON.

Referenced by ParticleID::LikelihoodCalculation(), and ParticleID::particleIDCalculation().

00084 {return IDENTIFY_PROTON;}

double ParticleIDBase::p (  ) 

Definition at line 100 of file ParticleIDBase.cxx.

References EvtRecTrack::isMdcTrackValid(), m_trk, EvtRecTrack::mdcTrack(), and DstMdcTrack::p().

Referenced by DedxPID::cal_par(), TofCorrPID::particleIDCalculation(), and probCalculate().

00100                          {
00101    double val = 999;
00102    if(!m_trk) return val;
00103    if(!m_trk->isMdcTrackValid()) return val;
00104    RecMdcTrack *mdcTrk = m_trk->mdcTrack();
00105    val = mdcTrk->p();
00106    return val;
00107 }

virtual int ParticleIDBase::particleIDCalculation (  )  [protected, pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

double ParticleIDBase::pdfCalculate ( double  offset,
double  sigma 
)

Definition at line 91 of file ParticleIDBase.cxx.

References exp(), M_PI, pi, and twoPi.

Referenced by TofCorrPID::correlationCheck(), ParticleID::LikelihoodCalculation(), TofPID::particleIDCalculation(), TofEPID::particleIDCalculation(), TofCPID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), and DedxPID::particleIDCalculation().

00091                                                               {
00092    //  const double pi =  3.141592653589793238;
00093    const double pi =  M_PI;
00094    const double twoPi = 2*pi;
00095    double chi2 = -0.5*offset*offset/(sigma*sigma);
00096    double pdf = exp(chi2)/(sigma*sqrt(twoPi));
00097    return pdf;
00098 }

double ParticleIDBase::pdfMinSigmaCut (  )  const [inline]

Definition at line 42 of file ParticleIDBase.h.

References m_pdfsigmamin_cut.

Referenced by TofCorrPID::correlationCheck(), ParticleID::LikelihoodCalculation(), TofPID::particleIDCalculation(), TofCPID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), and DedxPID::particleIDCalculation().

00042 {return m_pdfsigmamin_cut;}

EvtRecTrack* ParticleIDBase::PidTrk (  )  const [inline]

Definition at line 36 of file ParticleIDBase.h.

References m_trk.

Referenced by TofQPID::particleIDCalculation(), TofPID::particleIDCalculation(), TofEPID::particleIDCalculation(), TofCPID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), MucPID::particleIDCalculation(), EmcPID::particleIDCalculation(), and DedxPID::particleIDCalculation().

00036 {return m_trk;}

double ParticleIDBase::pol2 ( double  x,
double *  par 
)

Definition at line 137 of file ParticleIDBase.cxx.

00137                                                  {
00138    double y=x;
00139    //    return par[0] + (par[1] * y) +(par[2] * y * y);
00140    return par[0] + y*(par[1] + y*(par[2]));
00141 }

double ParticleIDBase::pol3 ( double  x,
double *  par 
)

Definition at line 143 of file ParticleIDBase.cxx.

00143                                                  {
00144    double y=x;
00145    //    return par[0] + (par[1] * y) +(par[2] * y * y)+(par[3] * y * y*y);
00146    return par[0] + y*(par[1] + y*(par[2] + y*(par[3])));
00147 }

double ParticleIDBase::pol4 ( double  x,
double *  par 
)

Definition at line 149 of file ParticleIDBase.cxx.

00149                                                  {
00150    double y=x;
00151    //    return par[0] + (par[1] * y) +(par[2] * y * y)+(par[3] * y * y*y) + (par[4] * y * y*y*y);
00152    return par[0] + y*(par[1] + y*(par[2] + y*(par[3] + y*(par[4]))));
00153 }

virtual double ParticleIDBase::prob ( int  n  )  const [pure virtual]

Implemented in DedxPID, EmcPID, MucPID, ParticleID, Tof1PID, Tof2PID, TofCorrPID, TofCPID, TofEPID, TofPID, and TofQPID.

double ParticleIDBase::probCalculate ( double  chi2,
int  n 
)

Definition at line 83 of file ParticleIDBase.cxx.

References p().

Referenced by TofPID::particleIDCalculation(), TofEPID::particleIDCalculation(), TofCPID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), ParticleID::particleIDCalculation(), and DedxPID::particleIDCalculation().

00083                                                           {
00084    double p = -1.0;
00085    if(chi2 < 0) return p;
00086    p = TMath::Prob(chi2, ndof);
00087    return p;
00088 }

double ParticleIDBase::pt (  ) 

Definition at line 108 of file ParticleIDBase.cxx.

References EvtRecTrack::isMdcTrackValid(), m_trk, EvtRecTrack::mdcTrack(), and DstMdcTrack::pxy().

00108                           {
00109    double val = 999;
00110    if(!m_trk) return val;
00111    if(!m_trk->isMdcTrackValid()) return val;
00112    RecMdcTrack *mdcTrk = m_trk->mdcTrack();
00113    val = mdcTrk->pxy();
00114    return val;
00115 }

void ParticleIDBase::set_path ( std::string  s_path  )  [inline]

Definition at line 105 of file ParticleIDBase.h.

References path.

00105 {path = s_path;}

void ParticleIDBase::set_path ( const char *  s_path = 0  ) 

Definition at line 55 of file ParticleIDBase.cxx.

References path, and deljobs::string.

Referenced by ParticleIDBase().

00056 {
00057    if ( s_path ) {
00058       path = string(s_path);
00059    } else {
00060       char* env_path = getenv("PARTICLEIDROOT");
00061       if ( !env_path ) {
00062          cout << "  ParticleIDBase::set_path ERROR:"
00063               " the environment PARTICLEIDROOT not defined " << endl;
00064          exit(1);
00065       }
00066       path = string(env_path);
00067    }
00068 }

void ParticleIDBase::setChiMaxCut ( const double  chi = 6  )  [inline]

Definition at line 41 of file ParticleIDBase.h.

References chi(), and m_chimax_cut.

Referenced by ParticleID::init().

00041 {m_chimax_cut = chi;}

void ParticleIDBase::setChiMinCut ( const double  chi = 4  )  [inline]

Definition at line 39 of file ParticleIDBase.h.

References chi(), and m_chimin_cut.

Referenced by ParticleID::init(), and TofPID::particleIDCalculation().

00039 {m_chimin_cut = chi;}

void ParticleIDBase::setPdfMinSigmaCut ( const double  pdf = 4  )  [inline]

Definition at line 43 of file ParticleIDBase.h.

References m_pdfsigmamin_cut.

Referenced by TofPID::particleIDCalculation().

00043 {m_pdfsigmamin_cut= pdf;}

void ParticleIDBase::setRecTrack ( EvtRecTrack trk  )  [inline]

Definition at line 37 of file ParticleIDBase.h.

References m_trk.

Referenced by TofPID::particleIDCalculation().

00037 {m_trk = trk;}

void ParticleIDBase::setRunNo ( const double  runh = 8093  )  [inline]

Definition at line 45 of file ParticleIDBase.h.

References m_runno.

00045 {m_runno = runh;}

int ParticleIDBase::tofcorrValid (  )  const [inline]

Definition at line 96 of file ParticleIDBase.h.

References TOFCorr_VALID.

00096 {return TOFCorr_VALID;}

int ParticleIDBase::tofcValid (  )  const [inline]

Definition at line 95 of file ParticleIDBase.h.

References TOFC_VALID.

00095 {return TOFC_VALID;}

int ParticleIDBase::tofeValid (  )  const [inline]

Definition at line 93 of file ParticleIDBase.h.

References TOFE_VALID.

00093 {return TOFE_VALID;}

int ParticleIDBase::tofqValid (  )  const [inline]

Definition at line 94 of file ParticleIDBase.h.

References TOFQ_VALID.

00094 {return TOFQ_VALID;}

int ParticleIDBase::tofValid (  )  const [inline]

Definition at line 92 of file ParticleIDBase.h.

References TOF_VALID.

00092 {return TOF_VALID;}

int ParticleIDBase::useDedx (  )  const [inline]

Definition at line 64 of file ParticleIDBase.h.

References USE_DEDX.

Referenced by ParticleID::IsDedxInfoUsed().

00064 {return USE_DEDX;}

int ParticleIDBase::useEmc (  )  const [inline]

Definition at line 72 of file ParticleIDBase.h.

References USE_EMC.

Referenced by ParticleID::IsEmcInfoUsed().

00072 {return USE_EMC;}

int ParticleIDBase::useMuc (  )  const [inline]

Definition at line 73 of file ParticleIDBase.h.

References USE_MUC.

Referenced by ParticleID::IsMucInfoUsed().

00073 {return USE_MUC;}

int ParticleIDBase::useTof (  )  const [inline]

Definition at line 65 of file ParticleIDBase.h.

References USE_TOF.

Referenced by ParticleID::IsTofInfoUsed().

00065 {return USE_TOF;}

int ParticleIDBase::useTof1 (  )  const [inline]

Definition at line 66 of file ParticleIDBase.h.

References USE_TOF1.

Referenced by ParticleID::IsTof1InfoUsed().

00066 {return USE_TOF1;}

int ParticleIDBase::useTof2 (  )  const [inline]

Definition at line 67 of file ParticleIDBase.h.

References USE_TOF2.

Referenced by ParticleID::IsTof2InfoUsed().

00067 {return USE_TOF2;}

int ParticleIDBase::useTofC (  )  const [inline]

Definition at line 70 of file ParticleIDBase.h.

References USE_TOFC.

Referenced by ParticleID::IsTofCInfoUsed().

00070 {return USE_TOFC;}

int ParticleIDBase::useTofCorr (  )  const [inline]

Definition at line 71 of file ParticleIDBase.h.

References USE_TOFCorr.

Referenced by ParticleID::IsTofCorrInfoUsed().

00071 {return USE_TOFCorr;}

int ParticleIDBase::useTofE (  )  const [inline]

Definition at line 68 of file ParticleIDBase.h.

References USE_TOFE.

Referenced by ParticleID::IsTofEInfoUsed().

00068 {return USE_TOFE;}

int ParticleIDBase::useTofQ (  )  const [inline]

Definition at line 69 of file ParticleIDBase.h.

References USE_TOFQ.

Referenced by ParticleID::IsTofQInfoUsed().

00069 {return USE_TOFQ;}

double ParticleIDBase::velc (  ) 

Definition at line 77 of file ParticleIDBase.cxx.

Referenced by TofEPID::particleIDCalculation(), TofCPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), and Tof1PID::particleIDCalculation().

00077                             {
00078    //  double vel = 29.9792458;  // tof_path unit in cm.
00079    double vel = 299.792458;   // tof path unit in mm
00080    return vel;
00081 }

double ParticleIDBase::xmass ( int  n  ) 

Definition at line 71 of file ParticleIDBase.cxx.

References mass.

Referenced by TofCorrPID::offsetTof(), TofCorrPID::particleIDCalculation(), and TofCorrPID::sigmaTof().

00071                                   {
00072    double mass[5] = {0.000511, 0.105658, 0.139570,0.493677, 0.938272};
00073    if(n < 0 || n >=5) return 0.0;
00074    return mass[n];
00075 }


Member Data Documentation

const int ParticleIDBase::DEDX_VALID = 1 [static, private]

Definition at line 140 of file ParticleIDBase.h.

Referenced by dedxValid().

const int ParticleIDBase::EMC_VALID = 32 [static, private]

Definition at line 148 of file ParticleIDBase.h.

Referenced by emcValid().

const int ParticleIDBase::IDENTIFY_ELECTRON = 1 [static, private]

Definition at line 130 of file ParticleIDBase.h.

Referenced by all(), onlyElectron(), and onlyPionKaonElectron().

const int ParticleIDBase::IDENTIFY_KAON = 8 [static, private]

Definition at line 133 of file ParticleIDBase.h.

Referenced by all(), onlyKaon(), onlyPionKaon(), onlyPionKaonElectron(), and onlyPionKaonProton().

const int ParticleIDBase::IDENTIFY_MUON = 2 [static, private]

Definition at line 131 of file ParticleIDBase.h.

Referenced by onlyMuon().

const int ParticleIDBase::IDENTIFY_PION = 4 [static, private]

Definition at line 132 of file ParticleIDBase.h.

Referenced by all(), onlyPion(), onlyPionKaon(), onlyPionKaonElectron(), and onlyPionKaonProton().

const int ParticleIDBase::IDENTIFY_PROTON = 16 [static, private]

Definition at line 134 of file ParticleIDBase.h.

Referenced by all(), onlyPionKaonProton(), and onlyProton().

const int ParticleIDBase::LIKELIHOOD_PID = 2 [static, private]

Definition at line 137 of file ParticleIDBase.h.

Referenced by methodLikelihood().

double ParticleIDBase::m_chimax_cut [private]

Definition at line 117 of file ParticleIDBase.h.

Referenced by chiMaxCut(), ParticleIDBase(), and setChiMaxCut().

double ParticleIDBase::m_chimin_cut [private]

Definition at line 117 of file ParticleIDBase.h.

Referenced by chiMinCut(), ParticleIDBase(), and setChiMinCut().

double ParticleIDBase::m_pdfsigmamin_cut [private]

Definition at line 118 of file ParticleIDBase.h.

Referenced by ParticleIDBase(), pdfMinSigmaCut(), and setPdfMinSigmaCut().

double ParticleIDBase::m_runno [private]

Definition at line 116 of file ParticleIDBase.h.

Referenced by getRunNo(), and setRunNo().

EvtRecTrack* ParticleIDBase::m_trk [private]

Definition at line 115 of file ParticleIDBase.h.

Referenced by charge(), p(), ParticleIDBase(), PidTrk(), pt(), and setRecTrack().

const int ParticleIDBase::MUC_VALID = 64 [static, private]

Definition at line 149 of file ParticleIDBase.h.

Referenced by mucValid().

const int ParticleIDBase::NEURONNETWORK_PID = 4 [static, private]

Definition at line 138 of file ParticleIDBase.h.

Referenced by methodNeuronNetwork().

std::string ParticleIDBase::path = "" [static, protected]

Definition at line 102 of file ParticleIDBase.h.

Referenced by TofCPID::calculate(), EmcPID::EmcPID(), MucPID::init(), DedxPID::inputpar(), TofCorrPID::inputParameter(), MucPID::MucPID(), ParticleIDBase(), TofEPID::particleIDCalculation(), TofCPID::particleIDCalculation(), Tof2PID::particleIDCalculation(), Tof1PID::particleIDCalculation(), and set_path().

const int ParticleIDBase::PROBABILITY_PID = 1 [static, private]

Definition at line 136 of file ParticleIDBase.h.

Referenced by methodProbability().

const int ParticleIDBase::TOF1_VALID = 2 [static, private]

Definition at line 142 of file ParticleIDBase.h.

const int ParticleIDBase::TOF2_VALID = 4 [static, private]

Definition at line 143 of file ParticleIDBase.h.

const int ParticleIDBase::TOF_VALID = 128 [static, private]

Definition at line 141 of file ParticleIDBase.h.

Referenced by tofValid().

const int ParticleIDBase::TOFC_VALID = 256 [static, private]

Definition at line 146 of file ParticleIDBase.h.

Referenced by tofcValid().

const int ParticleIDBase::TOFCorr_VALID = 512 [static, private]

Definition at line 147 of file ParticleIDBase.h.

Referenced by tofcorrValid().

const int ParticleIDBase::TOFE_VALID = 8 [static, private]

Definition at line 144 of file ParticleIDBase.h.

Referenced by tofeValid().

const int ParticleIDBase::TOFQ_VALID = 16 [static, private]

Definition at line 145 of file ParticleIDBase.h.

Referenced by tofqValid().

const int ParticleIDBase::USE_DEDX = 1 [static, private]

Definition at line 119 of file ParticleIDBase.h.

Referenced by useDedx().

const int ParticleIDBase::USE_EMC = 32 [static, private]

Definition at line 127 of file ParticleIDBase.h.

Referenced by useEmc().

const int ParticleIDBase::USE_MUC = 64 [static, private]

Definition at line 128 of file ParticleIDBase.h.

Referenced by useMuc().

const int ParticleIDBase::USE_TOF = 128 [static, private]

Definition at line 122 of file ParticleIDBase.h.

Referenced by useTof().

const int ParticleIDBase::USE_TOF1 = 2 [static, private]

Definition at line 120 of file ParticleIDBase.h.

Referenced by useTof1().

const int ParticleIDBase::USE_TOF2 = 4 [static, private]

Definition at line 121 of file ParticleIDBase.h.

Referenced by useTof2().

const int ParticleIDBase::USE_TOFC = 256 [static, private]

Definition at line 125 of file ParticleIDBase.h.

Referenced by useTofC().

const int ParticleIDBase::USE_TOFCorr = 512 [static, private]

Definition at line 126 of file ParticleIDBase.h.

Referenced by useTofCorr().

const int ParticleIDBase::USE_TOFE = 8 [static, private]

Definition at line 123 of file ParticleIDBase.h.

Referenced by useTofE().

const int ParticleIDBase::USE_TOFQ = 16 [static, private]

Definition at line 124 of file ParticleIDBase.h.

Referenced by useTofQ().


Generated on Tue Nov 29 23:20:39 2016 for BOSS_7.0.2 by  doxygen 1.4.7