BOSS 8.0.0
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)
 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 ()
static const CLID & classID ()

Protected Attributes

int m_trackId { 0 }
int m_particleId { 0 }
int m_status { 0 }
int m_trunc_alg { 0 }
double m_chi [5] {}
int m_numGoodHits { 0 }
int m_numTotalHits { 0 }
double m_probPH { 0.0 }
double m_normPH { 0.0 }
double m_errorPH { 0.0 }
double m_twentyPH { 0.0 }

Detailed Description

Definition at line 11 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

Constructor & Destructor Documentation

◆ DstMdcDedx() [1/3]

DstMdcDedx::DstMdcDedx ( )
inline

◆ ~DstMdcDedx() [1/3]

virtual DstMdcDedx::~DstMdcDedx ( )
inlinevirtual

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

15{}

◆ DstMdcDedx() [2/3]

DstMdcDedx::DstMdcDedx ( )
inline

◆ ~DstMdcDedx() [2/3]

virtual DstMdcDedx::~DstMdcDedx ( )
inlinevirtual

◆ DstMdcDedx() [3/3]

DstMdcDedx::DstMdcDedx ( )
inline

◆ ~DstMdcDedx() [3/3]

virtual DstMdcDedx::~DstMdcDedx ( )
inlinevirtual

Member Function Documentation

◆ chi() [1/3]

double DstMdcDedx::chi ( int i) const
inline

◆ chi() [2/3]

double DstMdcDedx::chi ( int i) const
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

48{ return m_chi[i]; }

◆ chi() [3/3]

double DstMdcDedx::chi ( int i) const
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

48{ return m_chi[i]; }

◆ chiE() [1/3]

◆ chiE() [2/3]

double DstMdcDedx::chiE ( ) const
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

49{ return m_chi[0]; }

◆ chiE() [3/3]

double DstMdcDedx::chiE ( ) const
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

49{ return m_chi[0]; }

◆ chiK() [1/3]

◆ chiK() [2/3]

double DstMdcDedx::chiK ( ) const
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

52{ return m_chi[3]; }

◆ chiK() [3/3]

double DstMdcDedx::chiK ( ) const
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

52{ return m_chi[3]; }

◆ chiMu() [1/3]

◆ chiMu() [2/3]

double DstMdcDedx::chiMu ( ) const
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

50{ return m_chi[1]; }

◆ chiMu() [3/3]

double DstMdcDedx::chiMu ( ) const
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

50{ return m_chi[1]; }

◆ chiP() [1/3]

◆ chiP() [2/3]

double DstMdcDedx::chiP ( ) const
inline

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

53{ return m_chi[4]; }

◆ chiP() [3/3]

double DstMdcDedx::chiP ( ) const
inline

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

53{ return m_chi[4]; }

◆ chiPi() [1/3]

◆ chiPi() [2/3]

double DstMdcDedx::chiPi ( ) const
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

51{ return m_chi[2]; }

◆ chiPi() [3/3]

double DstMdcDedx::chiPi ( ) const
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

51{ return m_chi[2]; }

◆ classID() [1/3]

const CLID & DstMdcDedx::classID ( )
inlinestatic

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

18{ return CLID_DstMdcDedx; }
const CLID & CLID_DstMdcDedx

Referenced by clID().

◆ classID() [2/3]

const CLID & DstMdcDedx::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & DstMdcDedx::classID ( )
inlinestatic

◆ clID() [1/3]

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

Reimplemented in RecMdcDedx, RecMdcDedx, and RecMdcDedx.

Definition at line 17 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

17{ return DstMdcDedx::classID(); }

◆ clID() [2/3]

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

◆ clID() [3/3]

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

◆ errorPH() [1/3]

double DstMdcDedx::errorPH ( ) const
inline

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

Referenced by setErrorPH().

◆ errorPH() [2/3]

double DstMdcDedx::errorPH ( ) const
inline

◆ errorPH() [3/3]

double DstMdcDedx::errorPH ( ) const
inline

◆ normPH() [1/3]

◆ normPH() [2/3]

double DstMdcDedx::normPH ( ) const
inline

◆ normPH() [3/3]

double DstMdcDedx::normPH ( ) const
inline

◆ numGoodHits() [1/3]

◆ numGoodHits() [2/3]

int DstMdcDedx::numGoodHits ( ) const
inline

◆ numGoodHits() [3/3]

int DstMdcDedx::numGoodHits ( ) const
inline

◆ numTotalHits() [1/3]

◆ numTotalHits() [2/3]

int DstMdcDedx::numTotalHits ( ) const
inline

◆ numTotalHits() [3/3]

int DstMdcDedx::numTotalHits ( ) const
inline

◆ particleId() [1/3]

int DstMdcDedx::particleId ( ) const
inline

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

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

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

◆ particleId() [2/3]

int DstMdcDedx::particleId ( ) const
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

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

◆ particleId() [3/3]

int DstMdcDedx::particleId ( ) const
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

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

◆ particleType() [1/3]

pid_dedx DstMdcDedx::particleType ( ) const
inline

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

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

◆ particleType() [2/3]

pid_dedx DstMdcDedx::particleType ( ) const
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

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

◆ particleType() [3/3]

pid_dedx DstMdcDedx::particleType ( ) const
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

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

◆ probPH() [1/3]

◆ probPH() [2/3]

double DstMdcDedx::probPH ( ) const
inline

◆ probPH() [3/3]

double DstMdcDedx::probPH ( ) const
inline

◆ setChi() [1/3]

void DstMdcDedx::setChi ( double * chi)
inline

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

67 {
68 for ( int i = 0; i < 5; i++ ) m_chi[i] = chi[i];
69 }

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

◆ setChi() [2/3]

void DstMdcDedx::setChi ( double * chi)
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

67 {
68 for ( int i = 0; i < 5; i++ ) m_chi[i] = chi[i];
69 }

◆ setChi() [3/3]

void DstMdcDedx::setChi ( double * chi)
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

67 {
68 for ( int i = 0; i < 5; i++ ) m_chi[i] = chi[i];
69 }

◆ setErrorPH() [1/3]

void DstMdcDedx::setErrorPH ( double errorPH)
inline

◆ setErrorPH() [2/3]

void DstMdcDedx::setErrorPH ( double errorPH)
inline

◆ setErrorPH() [3/3]

void DstMdcDedx::setErrorPH ( double errorPH)
inline

◆ setNormPH() [1/3]

void DstMdcDedx::setNormPH ( double normPH)
inline

◆ setNormPH() [2/3]

void DstMdcDedx::setNormPH ( double normPH)
inline

◆ setNormPH() [3/3]

void DstMdcDedx::setNormPH ( double normPH)
inline

◆ setNumGoodHits() [1/3]

void DstMdcDedx::setNumGoodHits ( int numGoodHits)
inline

◆ setNumGoodHits() [2/3]

void DstMdcDedx::setNumGoodHits ( int numGoodHits)
inline

◆ setNumGoodHits() [3/3]

void DstMdcDedx::setNumGoodHits ( int numGoodHits)
inline

◆ setNumTotalHits() [1/3]

void DstMdcDedx::setNumTotalHits ( int numTotalHits)
inline

◆ setNumTotalHits() [2/3]

void DstMdcDedx::setNumTotalHits ( int numTotalHits)
inline

◆ setNumTotalHits() [3/3]

void DstMdcDedx::setNumTotalHits ( int numTotalHits)
inline

◆ setParticleId() [1/3]

void DstMdcDedx::setParticleId ( int particleId)
inline

◆ setParticleId() [2/3]

void DstMdcDedx::setParticleId ( int particleId)
inline

◆ setParticleId() [3/3]

void DstMdcDedx::setParticleId ( int particleId)
inline

◆ setProbPH() [1/3]

void DstMdcDedx::setProbPH ( double probPH)
inline

◆ setProbPH() [2/3]

void DstMdcDedx::setProbPH ( double probPH)
inline

◆ setProbPH() [3/3]

void DstMdcDedx::setProbPH ( double probPH)
inline

◆ setStatus() [1/3]

◆ setStatus() [2/3]

void DstMdcDedx::setStatus ( int status)
inline

◆ setStatus() [3/3]

void DstMdcDedx::setStatus ( int status)
inline

◆ setTrackId() [1/3]

◆ setTrackId() [2/3]

void DstMdcDedx::setTrackId ( int trackId)
inline

◆ setTrackId() [3/3]

void DstMdcDedx::setTrackId ( int trackId)
inline

◆ setTruncAlg() [1/3]

void DstMdcDedx::setTruncAlg ( int trunc_alg)
inline

◆ setTruncAlg() [2/3]

void DstMdcDedx::setTruncAlg ( int trunc_alg)
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-dbg/include/DstEvent/DstMdcDedx.h.

65{ m_trunc_alg = trunc_alg; }

◆ setTruncAlg() [3/3]

void DstMdcDedx::setTruncAlg ( int trunc_alg)
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/DstEvent/DstMdcDedx.h.

65{ m_trunc_alg = trunc_alg; }

◆ setTwentyPH() [1/3]

void DstMdcDedx::setTwentyPH ( double twentyPH)
inline

◆ setTwentyPH() [2/3]

void DstMdcDedx::setTwentyPH ( double twentyPH)
inline

◆ setTwentyPH() [3/3]

void DstMdcDedx::setTwentyPH ( double twentyPH)
inline

◆ status() [1/3]

int DstMdcDedx::status ( ) const
inline

Definition at line 46 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

46{ return m_status; }

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

◆ status() [2/3]

int DstMdcDedx::status ( ) const
inline

◆ status() [3/3]

int DstMdcDedx::status ( ) const
inline

◆ trackId() [1/3]

int DstMdcDedx::trackId ( ) const
inline

◆ trackId() [2/3]

int DstMdcDedx::trackId ( ) const
inline

◆ trackId() [3/3]

int DstMdcDedx::trackId ( ) const
inline

◆ truncAlg() [1/3]

int DstMdcDedx::truncAlg ( ) const
inline

Definition at line 47 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

47{ return m_trunc_alg; }

◆ truncAlg() [2/3]

int DstMdcDedx::truncAlg ( ) const
inline

◆ truncAlg() [3/3]

int DstMdcDedx::truncAlg ( ) const
inline

◆ twentyPH() [1/3]

double DstMdcDedx::twentyPH ( ) const
inline

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

59{ return m_twentyPH; }

Referenced by setTwentyPH().

◆ twentyPH() [2/3]

double DstMdcDedx::twentyPH ( ) const
inline

◆ twentyPH() [3/3]

double DstMdcDedx::twentyPH ( ) const
inline

Member Data Documentation

◆ m_chi

double DstMdcDedx::m_chi {}
protected

Definition at line 83 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

83{}; // Number of Chi_dEdx for different particles

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

◆ m_errorPH

double DstMdcDedx::m_errorPH { 0.0 }
protected

Definition at line 89 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

89{ 0.0 }; // resolution of truncated mean

Referenced by errorPH(), and setErrorPH().

◆ m_normPH

double DstMdcDedx::m_normPH { 0.0 }
protected

Definition at line 88 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

88{ 0.0 }; // normalized pulse height

Referenced by normPH(), and setNormPH().

◆ m_numGoodHits

int DstMdcDedx::m_numGoodHits { 0 }
protected

Definition at line 85 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

85{ 0 }; // No. of good de/dx hits(exclude overflow)

Referenced by numGoodHits(), and setNumGoodHits().

◆ m_numTotalHits

int DstMdcDedx::m_numTotalHits { 0 }
protected

Definition at line 86 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

86{ 0 }; // No. of good de/dx hits(include overflow)

Referenced by numTotalHits(), and setNumTotalHits().

◆ m_particleId

int DstMdcDedx::m_particleId { 0 }
protected

Definition at line 80 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

80{ 0 }; // Particle ID from De/Dx

Referenced by particleId(), and setParticleId().

◆ m_probPH

double DstMdcDedx::m_probPH { 0.0 }
protected

Definition at line 87 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

87{ 0.0 }; // Most probable pulse height from truncated mean

Referenced by probPH(), and setProbPH().

◆ m_status

int DstMdcDedx::m_status { 0 }
protected

Definition at line 81 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

81{ 0 }; // Status

Referenced by setStatus(), and status().

◆ m_trackId

int DstMdcDedx::m_trackId { 0 }
protected

Definition at line 79 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

79{ 0 }; // Track ID Add 2005-10-18

Referenced by setTrackId(), and trackId().

◆ m_trunc_alg

int DstMdcDedx::m_trunc_alg { 0 }
protected

Definition at line 82 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

82{ 0 }; // truncate method

Referenced by setTruncAlg(), and truncAlg().

◆ m_twentyPH

double DstMdcDedx::m_twentyPH { 0.0 }
protected

Definition at line 90 of file Event/DstEvent/include/DstEvent/DstMdcDedx.h.

90{ 0.0 }; // de/dx value of bitrunction rate equal to 20%

Referenced by setTwentyPH(), and twentyPH().


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