CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemDedx Class Reference

#include <RecCgemDedx.h>

+ Inheritance diagram for RecCgemDedx:

Public Member Functions

virtual const CLID & clID () const
 
 RecCgemDedx ()
 
 RecCgemDedx (const RecCgemDedx &dedxtrk)
 
 RecCgemDedx (const DstCgemDedx &dedxtrk)
 
RecCgemDedxoperator= (const RecCgemDedx &)
 
RecCgemDedxoperator= (const DstCgemDedx &)
 
 ~RecCgemDedx ()
 
double getDedxHit (void)
 
double getDedxEsat (void)
 
double getDedxNoRun (void)
 
double getDedxMoment (void)
 
double getDedxExpect (int pid) const
 
double getSigmaDedx (int pid) const
 
double getPidProb (int pid) const
 
SmartRef< RecCgemTrackgetTrack (void)
 
void setDedxHit (double dedx_hit)
 
void setDedxEsat (double dedx_esat)
 
void setDedxNoRun (double dedx_norun)
 
void setDedxMoment (double dedx_momentum)
 
void setDedxExpect (double *dedx_exp)
 
void setSigmaDedx (double *sigma_dedx)
 
void setPidProb (double *pid_prob)
 
void setTrack (SmartRef< RecCgemTrack > trk)
 
virtual const CLID & clID () const
 
 RecCgemDedx ()
 
 RecCgemDedx (const RecCgemDedx &dedxtrk)
 
 RecCgemDedx (const DstCgemDedx &dedxtrk)
 
RecCgemDedxoperator= (const RecCgemDedx &)
 
RecCgemDedxoperator= (const DstCgemDedx &)
 
 ~RecCgemDedx ()
 
double getDedxHit (void)
 
double getDedxEsat (void)
 
double getDedxNoRun (void)
 
double getDedxMoment (void)
 
double getDedxExpect (int pid) const
 
double getSigmaDedx (int pid) const
 
double getPidProb (int pid) const
 
SmartRef< RecCgemTrackgetTrack (void)
 
void setDedxHit (double dedx_hit)
 
void setDedxEsat (double dedx_esat)
 
void setDedxNoRun (double dedx_norun)
 
void setDedxMoment (double dedx_momentum)
 
void setDedxExpect (double *dedx_exp)
 
void setSigmaDedx (double *sigma_dedx)
 
void setPidProb (double *pid_prob)
 
void setTrack (SmartRef< RecCgemTrack > trk)
 
- Public Member Functions inherited from DstCgemDedx
 DstCgemDedx ()
 
virtual ~DstCgemDedx ()
 
virtual const CLID & clID () const
 
int trackId () const
 
int particleId () 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)
 
 DstCgemDedx ()
 
virtual ~DstCgemDedx ()
 
virtual const CLID & clID () const
 
int trackId () const
 
int particleId () 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 Public Member Functions inherited from DstCgemDedx
static const CLID & classID ()
 
static const CLID & classID ()
 

Additional Inherited Members

- Protected Attributes inherited from DstCgemDedx
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

◆ RecCgemDedx() [1/6]

RecCgemDedx::RecCgemDedx ( )

Definition at line 13 of file RecCgemDedx.cxx.

13 {
14 m_dedx_hit=0;
15 m_dedx_esat =0;
16 m_dedx_norun =0;
17 m_dedx_momentum =0;
18 for( int i=0; i<5; i++) {
19 m_dedx_exp[i] = 0.0;
20 m_sigma_dedx[i] = 0.0;
21 m_pid_prob[i] = 0.0;
22 }
23}

◆ RecCgemDedx() [2/6]

RecCgemDedx::RecCgemDedx ( const RecCgemDedx dedxtrk)

Definition at line 25 of file RecCgemDedx.cxx.

26 : DstCgemDedx(recdedx)
27 {
28 m_dedx_hit=recdedx.m_dedx_hit;
29 m_dedx_esat =recdedx.m_dedx_esat;
30 m_dedx_norun =recdedx.m_dedx_norun;
31 m_dedx_momentum =recdedx.m_dedx_momentum;
32 for( int i=0; i<5; i++) {
33 m_dedx_exp[i] = recdedx.m_dedx_exp[i];
34 m_sigma_dedx[i] = recdedx.m_sigma_dedx[i];
35 m_pid_prob[i] = recdedx.m_pid_prob[i];
36 }
37
38 }

◆ RecCgemDedx() [3/6]

RecCgemDedx::RecCgemDedx ( const DstCgemDedx dedxtrk)

Definition at line 40 of file RecCgemDedx.cxx.

41: DstCgemDedx(dstdedx)
42{
43 m_dedx_hit=0;
44 m_dedx_esat =0;
45 m_dedx_norun =0;
46 m_dedx_momentum =0;
47 for( int i=0; i<5; i++) {
48 m_dedx_exp[i] = 0.0;
49 m_sigma_dedx[i] = 0.0;
50 m_pid_prob[i] = 0.0;
51 }
52
53}

◆ ~RecCgemDedx() [1/2]

RecCgemDedx::~RecCgemDedx ( )

Definition at line 91 of file RecCgemDedx.cxx.

91 {
92 }

◆ RecCgemDedx() [4/6]

RecCgemDedx::RecCgemDedx ( )

◆ RecCgemDedx() [5/6]

RecCgemDedx::RecCgemDedx ( const RecCgemDedx dedxtrk)

◆ RecCgemDedx() [6/6]

RecCgemDedx::RecCgemDedx ( const DstCgemDedx dedxtrk)

◆ ~RecCgemDedx() [2/2]

RecCgemDedx::~RecCgemDedx ( )

Member Function Documentation

◆ classID() [1/2]

static const CLID & RecCgemDedx::classID ( )
inlinestatic

Definition at line 35 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

35 {
36 return CLID_RecCgemDedx;
37 }
const CLID & CLID_RecCgemDedx
Definition: EventModel.cxx:411

Referenced by clID().

◆ classID() [2/2]

static const CLID & RecCgemDedx::classID ( )
inlinestatic

Definition at line 35 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

35 {
36 return CLID_RecCgemDedx;
37 }

◆ clID() [1/2]

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

◆ clID() [2/2]

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

Reimplemented from DstCgemDedx.

Definition at line 31 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

31 {
32 return RecCgemDedx::classID();
33 }

◆ getDedxEsat() [1/2]

double RecCgemDedx::getDedxEsat ( void  )
inline

Definition at line 58 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

58{return m_dedx_esat; }

◆ getDedxEsat() [2/2]

double RecCgemDedx::getDedxEsat ( void  )
inline

Definition at line 58 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

58{return m_dedx_esat; }

◆ getDedxExpect() [1/2]

double RecCgemDedx::getDedxExpect ( int  pid) const
inline

Definition at line 62 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

62{ return m_dedx_exp[pid-1]; }

◆ getDedxExpect() [2/2]

double RecCgemDedx::getDedxExpect ( int  pid) const
inline

Definition at line 62 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

62{ return m_dedx_exp[pid-1]; }

◆ getDedxHit() [1/2]

double RecCgemDedx::getDedxHit ( void  )
inline

Definition at line 57 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

57{return m_dedx_hit; }

◆ getDedxHit() [2/2]

double RecCgemDedx::getDedxHit ( void  )
inline

Definition at line 57 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

57{return m_dedx_hit; }

◆ getDedxMoment() [1/2]

double RecCgemDedx::getDedxMoment ( void  )
inline

Definition at line 60 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

60{return m_dedx_momentum; }

◆ getDedxMoment() [2/2]

double RecCgemDedx::getDedxMoment ( void  )
inline

Definition at line 60 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

60{return m_dedx_momentum; }

◆ getDedxNoRun() [1/2]

double RecCgemDedx::getDedxNoRun ( void  )
inline

Definition at line 59 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

59{return m_dedx_norun; }

◆ getDedxNoRun() [2/2]

double RecCgemDedx::getDedxNoRun ( void  )
inline

Definition at line 59 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

59{return m_dedx_norun; }

◆ getPidProb() [1/2]

double RecCgemDedx::getPidProb ( int  pid) const
inline

Definition at line 64 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

64{ return m_pid_prob[pid-1]; }

◆ getPidProb() [2/2]

double RecCgemDedx::getPidProb ( int  pid) const
inline

Definition at line 64 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

64{ return m_pid_prob[pid-1]; }

◆ getSigmaDedx() [1/2]

double RecCgemDedx::getSigmaDedx ( int  pid) const
inline

Definition at line 63 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

63{ return m_sigma_dedx[pid-1]; }

◆ getSigmaDedx() [2/2]

double RecCgemDedx::getSigmaDedx ( int  pid) const
inline

Definition at line 63 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

63{ return m_sigma_dedx[pid-1]; }

◆ getTrack() [1/2]

SmartRef< RecCgemTrack > RecCgemDedx::getTrack ( void  )
inline

Definition at line 66 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

66{ return m_trk; }

◆ getTrack() [2/2]

SmartRef< RecCgemTrack > RecCgemDedx::getTrack ( void  )
inline

Definition at line 66 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

66{ return m_trk; }

◆ operator=() [1/4]

RecCgemDedx & RecCgemDedx::operator= ( const DstCgemDedx dstdedx)

Definition at line 72 of file RecCgemDedx.cxx.

73 {
74 if( &dstdedx != this ){
75 DstCgemDedx::operator=(dstdedx);
76 m_dedx_hit=0;
77 m_dedx_esat =0;
78 m_dedx_norun =0;
79 m_dedx_momentum =0;
80 for( int i=0; i<5; i++) {
81 m_dedx_exp[i] = 0;
82 m_sigma_dedx[i] = 0;
83 m_pid_prob[i] = 0;
84 }
85 }
86 return *this;
87 }

◆ operator=() [2/4]

RecCgemDedx & RecCgemDedx::operator= ( const DstCgemDedx )

◆ operator=() [3/4]

RecCgemDedx & RecCgemDedx::operator= ( const RecCgemDedx recdedx)

Definition at line 55 of file RecCgemDedx.cxx.

56{
57 if( &recdedx != this ){
58 DstCgemDedx::operator=(recdedx);
59 m_dedx_hit=recdedx.m_dedx_hit;
60 m_dedx_esat =recdedx.m_dedx_esat;
61 m_dedx_norun =recdedx.m_dedx_norun;
62 m_dedx_momentum =recdedx.m_dedx_momentum;
63 for( int i=0; i<5; i++) {
64 m_dedx_exp[i] = recdedx.m_dedx_exp[i];
65 m_sigma_dedx[i] = recdedx.m_sigma_dedx[i];
66 m_pid_prob[i] = recdedx.m_pid_prob[i];
67 }
68 }
69 return *this;
70}

◆ operator=() [4/4]

RecCgemDedx & RecCgemDedx::operator= ( const RecCgemDedx )

◆ setDedxEsat() [1/2]

void RecCgemDedx::setDedxEsat ( double  dedx_esat)
inline

Definition at line 70 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

70{ m_dedx_esat = dedx_esat; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxEsat() [2/2]

void RecCgemDedx::setDedxEsat ( double  dedx_esat)
inline

Definition at line 70 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

70{ m_dedx_esat = dedx_esat; }

◆ setDedxExpect() [1/2]

void RecCgemDedx::setDedxExpect ( double *  dedx_exp)
inline

Definition at line 81 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

81 {
82 for(int i = 0; i < 5; i++)
83 m_dedx_exp[i] = dedx_exp[i] ;
84 }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxExpect() [2/2]

void RecCgemDedx::setDedxExpect ( double *  dedx_exp)
inline

Definition at line 81 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

81 {
82 for(int i = 0; i < 5; i++)
83 m_dedx_exp[i] = dedx_exp[i] ;
84 }

◆ setDedxHit() [1/2]

void RecCgemDedx::setDedxHit ( double  dedx_hit)
inline

Definition at line 69 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

69{ m_dedx_hit = dedx_hit; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxHit() [2/2]

void RecCgemDedx::setDedxHit ( double  dedx_hit)
inline

Definition at line 69 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

69{ m_dedx_hit = dedx_hit; }

◆ setDedxMoment() [1/2]

void RecCgemDedx::setDedxMoment ( double  dedx_momentum)
inline

Definition at line 72 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

72{ m_dedx_momentum = dedx_momentum; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxMoment() [2/2]

void RecCgemDedx::setDedxMoment ( double  dedx_momentum)
inline

Definition at line 72 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

72{ m_dedx_momentum = dedx_momentum; }

◆ setDedxNoRun() [1/2]

void RecCgemDedx::setDedxNoRun ( double  dedx_norun)
inline

Definition at line 71 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

71{ m_dedx_norun = dedx_norun; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxNoRun() [2/2]

void RecCgemDedx::setDedxNoRun ( double  dedx_norun)
inline

Definition at line 71 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

71{ m_dedx_norun = dedx_norun; }

◆ setPidProb() [1/2]

void RecCgemDedx::setPidProb ( double *  pid_prob)
inline

Definition at line 89 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

89 {
90 for(int i = 0; i < 5; i++)
91 m_pid_prob[i] = pid_prob[i] ;
92 }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setPidProb() [2/2]

void RecCgemDedx::setPidProb ( double *  pid_prob)
inline

Definition at line 89 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

89 {
90 for(int i = 0; i < 5; i++)
91 m_pid_prob[i] = pid_prob[i] ;
92 }

◆ setSigmaDedx() [1/2]

void RecCgemDedx::setSigmaDedx ( double *  sigma_dedx)
inline

Definition at line 85 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

85 {
86 for(int i = 0; i < 5; i++)
87 m_sigma_dedx[i] = sigma_dedx[i] ;
88 }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setSigmaDedx() [2/2]

void RecCgemDedx::setSigmaDedx ( double *  sigma_dedx)
inline

Definition at line 85 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

85 {
86 for(int i = 0; i < 5; i++)
87 m_sigma_dedx[i] = sigma_dedx[i] ;
88 }

◆ setTrack() [1/2]

void RecCgemDedx::setTrack ( SmartRef< RecCgemTrack trk)
inline

Definition at line 98 of file Cgem/CgemRecEvent/CgemRecEvent-00-00-16/CgemRecEvent/RecCgemDedx.h.

98{ m_trk = trk; }

◆ setTrack() [2/2]

void RecCgemDedx::setTrack ( SmartRef< RecCgemTrack trk)
inline

Definition at line 98 of file InstallArea/include/CgemRecEvent/CgemRecEvent/RecCgemDedx.h.

98{ m_trk = trk; }

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