CGEM BOSS 6.6.5.i
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)
 
- Public Member Functions inherited from DstCgemDedx
 DstCgemDedx ()
 
virtual ~DstCgemDedx ()
 
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 Public Member Functions inherited from DstCgemDedx
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

Definition at line 28 of file RecCgemDedx.h.

Constructor & Destructor Documentation

◆ RecCgemDedx() [1/3]

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/3]

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/3]

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

RecCgemDedx::~RecCgemDedx ( )

Definition at line 91 of file RecCgemDedx.cxx.

91 {
92 }

Member Function Documentation

◆ classID()

static const CLID & RecCgemDedx::classID ( )
inlinestatic

Definition at line 35 of file RecCgemDedx.h.

35 {
36 return CLID_RecCgemDedx;
37 }
const CLID & CLID_RecCgemDedx

Referenced by clID().

◆ clID()

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

Reimplemented from DstCgemDedx.

Definition at line 31 of file RecCgemDedx.h.

31 {
32 return RecCgemDedx::classID();
33 }
static const CLID & classID()
Definition RecCgemDedx.h:35

◆ getDedxEsat()

double RecCgemDedx::getDedxEsat ( void )
inline

Definition at line 58 of file RecCgemDedx.h.

58{return m_dedx_esat; }

◆ getDedxExpect()

double RecCgemDedx::getDedxExpect ( int pid) const
inline

Definition at line 62 of file RecCgemDedx.h.

62{ return m_dedx_exp[pid-1]; }

◆ getDedxHit()

double RecCgemDedx::getDedxHit ( void )
inline

Definition at line 57 of file RecCgemDedx.h.

57{return m_dedx_hit; }

◆ getDedxMoment()

double RecCgemDedx::getDedxMoment ( void )
inline

Definition at line 60 of file RecCgemDedx.h.

60{return m_dedx_momentum; }

◆ getDedxNoRun()

double RecCgemDedx::getDedxNoRun ( void )
inline

Definition at line 59 of file RecCgemDedx.h.

59{return m_dedx_norun; }

◆ getPidProb()

double RecCgemDedx::getPidProb ( int pid) const
inline

Definition at line 64 of file RecCgemDedx.h.

64{ return m_pid_prob[pid-1]; }

◆ getSigmaDedx()

double RecCgemDedx::getSigmaDedx ( int pid) const
inline

Definition at line 63 of file RecCgemDedx.h.

63{ return m_sigma_dedx[pid-1]; }

◆ getTrack()

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

Definition at line 66 of file RecCgemDedx.h.

66{ return m_trk; }

◆ operator=() [1/2]

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/2]

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}

◆ setDedxEsat()

void RecCgemDedx::setDedxEsat ( double dedx_esat)
inline

Definition at line 70 of file RecCgemDedx.h.

70{ m_dedx_esat = dedx_esat; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxExpect()

void RecCgemDedx::setDedxExpect ( double * dedx_exp)
inline

Definition at line 81 of file RecCgemDedx.h.

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

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxHit()

void RecCgemDedx::setDedxHit ( double dedx_hit)
inline

Definition at line 69 of file RecCgemDedx.h.

69{ m_dedx_hit = dedx_hit; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxMoment()

void RecCgemDedx::setDedxMoment ( double dedx_momentum)
inline

Definition at line 72 of file RecCgemDedx.h.

72{ m_dedx_momentum = dedx_momentum; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setDedxNoRun()

void RecCgemDedx::setDedxNoRun ( double dedx_norun)
inline

Definition at line 71 of file RecCgemDedx.h.

71{ m_dedx_norun = dedx_norun; }

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setPidProb()

void RecCgemDedx::setPidProb ( double * pid_prob)
inline

Definition at line 89 of file RecCgemDedx.h.

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

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setSigmaDedx()

void RecCgemDedx::setSigmaDedx ( double * sigma_dedx)
inline

Definition at line 85 of file RecCgemDedx.h.

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

Referenced by RecCgemDedxCnv::TObjectToDataObject().

◆ setTrack()

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

Definition at line 98 of file RecCgemDedx.h.

98{ m_trk = trk; }

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