BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
DstMdcDedx Class Reference

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

Constructor & Destructor Documentation

◆ DstMdcDedx() [1/2]

DstMdcDedx::DstMdcDedx ( )
inline

◆ ~DstMdcDedx() [1/2]

virtual DstMdcDedx::~DstMdcDedx ( )
inlinevirtual

◆ DstMdcDedx() [2/2]

DstMdcDedx::DstMdcDedx ( )
inline

Definition at line 15 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

15{}

◆ ~DstMdcDedx() [2/2]

virtual DstMdcDedx::~DstMdcDedx ( )
inlinevirtual

Definition at line 16 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

16{}

Member Function Documentation

◆ chi() [1/2]

double DstMdcDedx::chi ( int  i) const
inline

◆ chi() [2/2]

double DstMdcDedx::chi ( int  i) const
inline

Definition at line 58 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

58{ return m_chi[i]; }

◆ chiE() [1/2]

◆ chiE() [2/2]

double DstMdcDedx::chiE ( ) const
inline

Definition at line 59 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

59{ return m_chi[0]; }

◆ chiK() [1/2]

◆ chiK() [2/2]

double DstMdcDedx::chiK ( ) const
inline

Definition at line 62 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

62{ return m_chi[3]; }

◆ chiMu() [1/2]

◆ chiMu() [2/2]

double DstMdcDedx::chiMu ( ) const
inline

Definition at line 60 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

60{ return m_chi[1]; }

◆ chiP() [1/2]

◆ chiP() [2/2]

double DstMdcDedx::chiP ( ) const
inline

Definition at line 63 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

63{ return m_chi[4]; }

◆ chiPi() [1/2]

◆ chiPi() [2/2]

double DstMdcDedx::chiPi ( ) const
inline

Definition at line 61 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

61{ return m_chi[2]; }

◆ classID() [1/2]

static const CLID & DstMdcDedx::classID ( )
inlinestatic

Definition at line 19 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

19{ return CLID_DstMdcDedx; }
const CLID & CLID_DstMdcDedx
Definition: EventModel.cxx:258

Referenced by clID().

◆ classID() [2/2]

static const CLID & DstMdcDedx::classID ( )
inlinestatic

Definition at line 19 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

19{ return CLID_DstMdcDedx; }

◆ clID() [1/2]

virtual const CLID & DstMdcDedx::clID ( ) const
inlinevirtual

Reimplemented in RecMdcDedx, and RecMdcDedx.

Definition at line 18 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

◆ clID() [2/2]

virtual const CLID & DstMdcDedx::clID ( ) const
inlinevirtual

Reimplemented in RecMdcDedx, and RecMdcDedx.

Definition at line 18 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

18{ return DstMdcDedx::classID(); }

◆ errorPH() [1/2]

double DstMdcDedx::errorPH ( ) const
inline

◆ errorPH() [2/2]

double DstMdcDedx::errorPH ( ) const
inline

Definition at line 68 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

68{ return m_errorPH; }

◆ normPH() [1/2]

◆ normPH() [2/2]

double DstMdcDedx::normPH ( ) const
inline

Definition at line 67 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

67{ return m_normPH; }

◆ numGoodHits() [1/2]

◆ numGoodHits() [2/2]

int DstMdcDedx::numGoodHits ( ) const
inline

Definition at line 64 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

64{ return m_numGoodHits; }

◆ numTotalHits() [1/2]

◆ numTotalHits() [2/2]

int DstMdcDedx::numTotalHits ( ) const
inline

Definition at line 65 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

65{ return m_numTotalHits; }

◆ particleId() [1/2]

int DstMdcDedx::particleId ( ) const
inline

Definition at line 33 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

33{ return m_particleId; } // will converge to particleType() later

Referenced by DedxCalibEvent::genNtuple(), particleType(), and setParticleId().

◆ particleId() [2/2]

int DstMdcDedx::particleId ( ) const
inline

Definition at line 33 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

33{ return m_particleId; } // will converge to particleType() later

◆ particleType() [1/2]

pid_dedx DstMdcDedx::particleType ( ) const
inline

Definition at line 34 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

34 {
35 switch(particleId()){
36 case 0:
37 return electron;
38 break;
39 case 1:
40 return muon;
41 break;
42 case 2:
43 return kaon;
44 break;
45 case 3:
46 return pion;
47 break;
48 case 4:
49 return proton;
50 break;
51 default:
52 std::cerr << "the particleType receive an incorrect input!" << std::endl;
53 exit(1);
54 }
55 }

◆ particleType() [2/2]

pid_dedx DstMdcDedx::particleType ( ) const
inline

Definition at line 34 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

34 {
35 switch(particleId()){
36 case 0:
37 return electron;
38 break;
39 case 1:
40 return muon;
41 break;
42 case 2:
43 return kaon;
44 break;
45 case 3:
46 return pion;
47 break;
48 case 4:
49 return proton;
50 break;
51 default:
52 std::cerr << "the particleType receive an incorrect input!" << std::endl;
53 exit(1);
54 }
55 }

◆ probPH() [1/2]

◆ probPH() [2/2]

double DstMdcDedx::probPH ( ) const
inline

Definition at line 66 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

66{ return m_probPH; }

◆ setChi() [1/2]

void DstMdcDedx::setChi ( double *  chi)
inline

◆ setChi() [2/2]

void DstMdcDedx::setChi ( double *  chi)
inline

Definition at line 77 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

77 {
78 for(int i =0; i<5 ; i++) m_chi[i]= chi[i];
79 }

◆ setErrorPH() [1/2]

void DstMdcDedx::setErrorPH ( double  errorPH)
inline

◆ setErrorPH() [2/2]

void DstMdcDedx::setErrorPH ( double  errorPH)
inline

◆ setNormPH() [1/2]

◆ setNormPH() [2/2]

void DstMdcDedx::setNormPH ( double  normPH)
inline

◆ setNumGoodHits() [1/2]

◆ setNumGoodHits() [2/2]

void DstMdcDedx::setNumGoodHits ( int  numGoodHits)
inline

◆ setNumTotalHits() [1/2]

◆ setNumTotalHits() [2/2]

void DstMdcDedx::setNumTotalHits ( int  numTotalHits)
inline

◆ setParticleId() [1/2]

void DstMdcDedx::setParticleId ( int  particleId)
inline

◆ setParticleId() [2/2]

void DstMdcDedx::setParticleId ( int  particleId)
inline

◆ setProbPH() [1/2]

◆ setProbPH() [2/2]

void DstMdcDedx::setProbPH ( double  probPH)
inline

◆ setStatus() [1/2]

◆ setStatus() [2/2]

void DstMdcDedx::setStatus ( int  status)
inline

◆ setTrackId() [1/2]

◆ setTrackId() [2/2]

void DstMdcDedx::setTrackId ( int  trackId)
inline

◆ setTruncAlg() [1/2]

◆ setTruncAlg() [2/2]

void DstMdcDedx::setTruncAlg ( int  trunc_alg)
inline

Definition at line 75 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

75{ m_trunc_alg = trunc_alg; }

◆ setTwentyPH() [1/2]

◆ setTwentyPH() [2/2]

void DstMdcDedx::setTwentyPH ( double  twentyPH)
inline

◆ status() [1/2]

int DstMdcDedx::status ( ) const
inline

Definition at line 56 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

56{ return m_status; }

Referenced by DedxCalibEvent::genNtuple(), and setStatus().

◆ status() [2/2]

int DstMdcDedx::status ( ) const
inline

Definition at line 56 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

56{ return m_status; }

◆ trackId() [1/2]

int DstMdcDedx::trackId ( ) const
inline

◆ trackId() [2/2]

int DstMdcDedx::trackId ( ) const
inline

Definition at line 32 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

32{return m_trackId ;}

◆ truncAlg() [1/2]

int DstMdcDedx::truncAlg ( ) const
inline

Definition at line 57 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

57{ return m_trunc_alg; }

◆ truncAlg() [2/2]

int DstMdcDedx::truncAlg ( ) const
inline

Definition at line 57 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

57{ return m_trunc_alg; }

◆ twentyPH() [1/2]

double DstMdcDedx::twentyPH ( ) const
inline

Definition at line 69 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

69{ return m_twentyPH; }

Referenced by setTwentyPH().

◆ twentyPH() [2/2]

double DstMdcDedx::twentyPH ( ) const
inline

Definition at line 69 of file InstallArea/include/DstEvent/DstEvent/DstMdcDedx.h.

69{ return m_twentyPH; }

Member Data Documentation

◆ m_chi

double DstMdcDedx::m_chi
protected

◆ m_errorPH

double DstMdcDedx::m_errorPH
protected

Definition at line 98 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by errorPH(), and setErrorPH().

◆ m_normPH

double DstMdcDedx::m_normPH
protected

Definition at line 97 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by normPH(), and setNormPH().

◆ m_numGoodHits

int DstMdcDedx::m_numGoodHits
protected

◆ m_numTotalHits

int DstMdcDedx::m_numTotalHits
protected

◆ m_particleId

int DstMdcDedx::m_particleId
protected

◆ m_probPH

double DstMdcDedx::m_probPH
protected

Definition at line 96 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by probPH(), and setProbPH().

◆ m_status

int DstMdcDedx::m_status
protected

Definition at line 90 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by setStatus(), and status().

◆ m_trackId

int DstMdcDedx::m_trackId
protected

Definition at line 88 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by setTrackId(), and trackId().

◆ m_trunc_alg

int DstMdcDedx::m_trunc_alg
protected

Definition at line 91 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by setTruncAlg(), and truncAlg().

◆ m_twentyPH

double DstMdcDedx::m_twentyPH
protected

Definition at line 99 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcDedx.h.

Referenced by setTwentyPH(), and twentyPH().


The documentation for this class was generated from the following files: