DstMdcDedx Class Reference

#include <DstMdcDedx.h>

Inheritance diagram for DstMdcDedx:

ContainedObject RecMdcDedx List of all members.

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

Detailed Description

Definition at line 11 of file DstMdcDedx.h.


Constructor & Destructor Documentation

DstMdcDedx::DstMdcDedx (  )  [inline]

Definition at line 15 of file DstMdcDedx.h.

00015 {}

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

Definition at line 16 of file DstMdcDedx.h.

00016 {}


Member Function Documentation

double DstMdcDedx::chi ( int  i  )  const [inline]

Definition at line 58 of file DstMdcDedx.h.

References m_chi.

Referenced by DedxPID::particleIDCalculation().

00058 { return m_chi[i]; }

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]

Definition at line 68 of file DstMdcDedx.h.

References m_errorPH.

00068 { return m_errorPH; }                   

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().

00077                                {
00078     for(int i =0; i<5 ; i++) m_chi[i]= chi[i];
00079   }

void DstMdcDedx::setErrorPH ( double  errorPH  )  [inline]

Definition at line 85 of file DstMdcDedx.h.

References m_errorPH.

Referenced by RecMdcDedxCnv::TObjectToDataObject(), and MdcDedxCnv::TObjectToDataObject().

00085 { m_errorPH = errorPH; }

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().

00084 { m_normPH = normPH; } 

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().

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().

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().

00083 { m_probPH = probPH; }

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().

00074 { m_status=status; }

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().

00072 {m_trackId = trackId ;} 

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]

Definition at line 56 of file DstMdcDedx.h.

References m_status.

00056 { return m_status; }

int DstMdcDedx::trackId (  )  const [inline]

Definition at line 32 of file DstMdcDedx.h.

References m_trackId.

00032 {return m_trackId ;}

int DstMdcDedx::truncAlg (  )  const [inline]

Definition at line 57 of file DstMdcDedx.h.

References m_trunc_alg.

00057 { return m_trunc_alg;  }  

double DstMdcDedx::twentyPH (  )  const [inline]

Definition at line 69 of file DstMdcDedx.h.

References m_twentyPH.

00069 { return m_twentyPH; }


Member Data Documentation

double DstMdcDedx::m_chi[5] [protected]

Definition at line 92 of file DstMdcDedx.h.

Referenced by chi(), chiE(), chiK(), chiMu(), chiP(), chiPi(), and setChi().

double DstMdcDedx::m_errorPH [protected]

Definition at line 98 of file DstMdcDedx.h.

Referenced by errorPH(), and setErrorPH().

double DstMdcDedx::m_normPH [protected]

Definition at line 97 of file DstMdcDedx.h.

Referenced by normPH(), and setNormPH().

int DstMdcDedx::m_numGoodHits [protected]

Definition at line 94 of file DstMdcDedx.h.

Referenced by numGoodHits(), and setNumGoodHits().

int DstMdcDedx::m_numTotalHits [protected]

Definition at line 95 of file DstMdcDedx.h.

Referenced by numTotalHits(), and setNumTotalHits().

int DstMdcDedx::m_particleId [protected]

Definition at line 89 of file DstMdcDedx.h.

Referenced by particleId(), and setParticleId().

double DstMdcDedx::m_probPH [protected]

Definition at line 96 of file DstMdcDedx.h.

Referenced by probPH(), and setProbPH().

int DstMdcDedx::m_status [protected]

Definition at line 90 of file DstMdcDedx.h.

Referenced by setStatus(), and status().

int DstMdcDedx::m_trackId [protected]

Definition at line 88 of file DstMdcDedx.h.

Referenced by setTrackId(), and trackId().

int DstMdcDedx::m_trunc_alg [protected]

Definition at line 91 of file DstMdcDedx.h.

Referenced by setTruncAlg(), and truncAlg().

double DstMdcDedx::m_twentyPH [protected]

Definition at line 99 of file DstMdcDedx.h.

Referenced by setTwentyPH(), and twentyPH().


Generated on Tue Nov 29 23:18:32 2016 for BOSS_7.0.2 by  doxygen 1.4.7