CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMdcDedx Class Reference

#include <RecMdcDedx.h>

+ Inheritance diagram for RecMdcDedx:

Public Member Functions

virtual const CLID & clID () const
 
 RecMdcDedx ()
 
 RecMdcDedx (const RecMdcDedx &dedxtrk)
 
 RecMdcDedx (const DstMdcDedx &dedxtrk)
 
RecMdcDedxoperator= (const RecMdcDedx &)
 
RecMdcDedxoperator= (const DstMdcDedx &)
 
 ~RecMdcDedx ()
 
bool isMdcTrackValid (void)
 
bool isMdcKalTrackValid (void)
 
DedxHitRefVec getVecDedxHits () const
 
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
 
RecMdcTrackgetMdcTrack (void)
 
RecMdcKalTrackgetMdcKalTrack (void)
 
void setVecDedxHits (const DedxHitRefVec &vecdedxhit)
 
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 setMdcTrack (RecMdcTrack *trk)
 
void setMdcKalTrack (RecMdcKalTrack *trk)
 
- Public Member Functions inherited from DstMdcDedx
 DstMdcDedx ()
 
virtual ~DstMdcDedx ()
 
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 Public Member Functions inherited from DstMdcDedx
static const CLID & classID ()
 

Additional Inherited Members

- Protected Attributes inherited from DstMdcDedx
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 29 of file RecMdcDedx.h.

Constructor & Destructor Documentation

◆ RecMdcDedx() [1/3]

RecMdcDedx::RecMdcDedx ( )

Definition at line 13 of file RecMdcDedx.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 m_mdcTrack = 0;
24 m_mdcKalTrack = 0;
25}

◆ RecMdcDedx() [2/3]

RecMdcDedx::RecMdcDedx ( const RecMdcDedx & dedxtrk)

Definition at line 27 of file RecMdcDedx.cxx.

28: DstMdcDedx(recdedx)
29{
30 m_dedx_hit=recdedx.m_dedx_hit;
31 m_dedx_esat =recdedx.m_dedx_esat;
32 m_dedx_norun =recdedx.m_dedx_norun;
33 m_dedx_momentum =recdedx.m_dedx_momentum;
34 for( int i=0; i<5; i++) {
35 m_dedx_exp[i] = recdedx.m_dedx_exp[i];
36 m_sigma_dedx[i] = recdedx.m_sigma_dedx[i];
37 m_pid_prob[i] = recdedx.m_pid_prob[i];
38 }
39 m_mdcTrack = recdedx.m_mdcTrack;
40 m_mdcKalTrack = recdedx.m_mdcKalTrack;
41 m_vecdedxhit = recdedx.m_vecdedxhit;
42}

◆ RecMdcDedx() [3/3]

RecMdcDedx::RecMdcDedx ( const DstMdcDedx & dedxtrk)

Definition at line 44 of file RecMdcDedx.cxx.

45: DstMdcDedx(dstdedx)
46{
47 m_dedx_hit=0;
48 m_dedx_esat =0;
49 m_dedx_norun =0;
50 m_dedx_momentum =0;
51 for( int i=0; i<5; i++) {
52 m_dedx_exp[i] = 0.0;
53 m_sigma_dedx[i] = 0.0;
54 m_pid_prob[i] = 0.0;
55 }
56 m_mdcTrack = 0;
57 m_mdcKalTrack = 0;
58}

◆ ~RecMdcDedx()

RecMdcDedx::~RecMdcDedx ( )

Definition at line 101 of file RecMdcDedx.cxx.

101 {
102}

Member Function Documentation

◆ classID()

static const CLID & RecMdcDedx::classID ( )
inlinestatic

Definition at line 36 of file RecMdcDedx.h.

36 {
37 return CLID_RecMdcDedx;
38 }
const CLID & CLID_RecMdcDedx

Referenced by clID().

◆ clID()

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

Reimplemented from DstMdcDedx.

Definition at line 32 of file RecMdcDedx.h.

32 {
33 return RecMdcDedx::classID();
34 }
static const CLID & classID()
Definition RecMdcDedx.h:36

◆ getDedxEsat()

double RecMdcDedx::getDedxEsat ( void )
inline

Definition at line 64 of file RecMdcDedx.h.

64{return m_dedx_esat; }

◆ getDedxExpect()

double RecMdcDedx::getDedxExpect ( int pid) const
inline

Definition at line 68 of file RecMdcDedx.h.

68{ return m_dedx_exp[pid]; }

◆ getDedxHit()

double RecMdcDedx::getDedxHit ( void )
inline

Definition at line 63 of file RecMdcDedx.h.

63{return m_dedx_hit; }

◆ getDedxMoment()

double RecMdcDedx::getDedxMoment ( void )
inline

Definition at line 66 of file RecMdcDedx.h.

66{return m_dedx_momentum; }

◆ getDedxNoRun()

double RecMdcDedx::getDedxNoRun ( void )
inline

Definition at line 65 of file RecMdcDedx.h.

65{return m_dedx_norun; }

◆ getMdcKalTrack()

RecMdcKalTrack * RecMdcDedx::getMdcKalTrack ( void )
inline

Definition at line 73 of file RecMdcDedx.h.

73{return m_mdcKalTrack; }

◆ getMdcTrack()

RecMdcTrack * RecMdcDedx::getMdcTrack ( void )
inline

Definition at line 72 of file RecMdcDedx.h.

72{ return m_mdcTrack; }

◆ getPidProb()

double RecMdcDedx::getPidProb ( int pid) const
inline

Definition at line 70 of file RecMdcDedx.h.

70{ return m_pid_prob[pid]; }

◆ getSigmaDedx()

double RecMdcDedx::getSigmaDedx ( int pid) const
inline

Definition at line 69 of file RecMdcDedx.h.

69{ return m_sigma_dedx[pid]; }

◆ getVecDedxHits()

DedxHitRefVec RecMdcDedx::getVecDedxHits ( ) const
inline

Definition at line 61 of file RecMdcDedx.h.

61{return m_vecdedxhit;}

Referenced by RecMdcDedxCnv::TObjectToDataObject().

◆ isMdcKalTrackValid()

bool RecMdcDedx::isMdcKalTrackValid ( void )
inline

Definition at line 59 of file RecMdcDedx.h.

59{return (m_mdcKalTrack!=0);}

◆ isMdcTrackValid()

bool RecMdcDedx::isMdcTrackValid ( void )
inline

Definition at line 58 of file RecMdcDedx.h.

58{return (m_mdcTrack!=0);}

◆ operator=() [1/2]

RecMdcDedx & RecMdcDedx::operator= ( const DstMdcDedx & dstdedx)

Definition at line 80 of file RecMdcDedx.cxx.

81{
82 if( &dstdedx != this ){
83 DstMdcDedx::operator=(dstdedx);
84 m_dedx_hit=0;
85 m_dedx_esat =0;
86 m_dedx_norun =0;
87 m_dedx_momentum =0;
88 for( int i=0; i<5; i++) {
89 m_dedx_exp[i] = 0;
90 m_sigma_dedx[i] = 0;
91 m_pid_prob[i] = 0;
92 }
93 m_mdcTrack = 0;
94 m_mdcKalTrack = 0;
95 }
96 return *this;
97}

◆ operator=() [2/2]

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

Definition at line 60 of file RecMdcDedx.cxx.

61{
62 if( &recdedx != this ){
63 DstMdcDedx::operator=(recdedx);
64 m_dedx_hit=recdedx.m_dedx_hit;
65 m_dedx_esat =recdedx.m_dedx_esat;
66 m_dedx_norun =recdedx.m_dedx_norun;
67 m_dedx_momentum =recdedx.m_dedx_momentum;
68 for( int i=0; i<5; i++) {
69 m_dedx_exp[i] = recdedx.m_dedx_exp[i];
70 m_sigma_dedx[i] = recdedx.m_sigma_dedx[i];
71 m_pid_prob[i] = recdedx.m_pid_prob[i];
72 }
73 m_mdcTrack = recdedx.m_mdcTrack;
74 m_mdcKalTrack = recdedx.m_mdcKalTrack;
75 m_vecdedxhit = recdedx.m_vecdedxhit;
76 }
77 return *this;
78}

◆ setDedxEsat()

void RecMdcDedx::setDedxEsat ( double dedx_esat)
inline

Definition at line 79 of file RecMdcDedx.h.

79{ m_dedx_esat = dedx_esat; }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setDedxExpect()

void RecMdcDedx::setDedxExpect ( double * dedx_exp)
inline

Definition at line 90 of file RecMdcDedx.h.

90 {
91 for(int i = 0; i < 5; i++)
92 m_dedx_exp[i] = dedx_exp[i] ;
93 }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setDedxHit()

void RecMdcDedx::setDedxHit ( double dedx_hit)
inline

Definition at line 78 of file RecMdcDedx.h.

78{ m_dedx_hit = dedx_hit; }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setDedxMoment()

void RecMdcDedx::setDedxMoment ( double dedx_momentum)
inline

Definition at line 81 of file RecMdcDedx.h.

81{ m_dedx_momentum = dedx_momentum; }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setDedxNoRun()

void RecMdcDedx::setDedxNoRun ( double dedx_norun)
inline

Definition at line 80 of file RecMdcDedx.h.

80{ m_dedx_norun = dedx_norun; }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setMdcKalTrack()

void RecMdcDedx::setMdcKalTrack ( RecMdcKalTrack * trk)
inline

Definition at line 108 of file RecMdcDedx.h.

108{m_mdcKalTrack = trk;}

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setMdcTrack()

void RecMdcDedx::setMdcTrack ( RecMdcTrack * trk)
inline

Definition at line 107 of file RecMdcDedx.h.

107{m_mdcTrack = trk; }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setPidProb()

void RecMdcDedx::setPidProb ( double * pid_prob)
inline

Definition at line 98 of file RecMdcDedx.h.

98 {
99 for(int i = 0; i < 5; i++)
100 m_pid_prob[i] = pid_prob[i] ;
101 }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setSigmaDedx()

void RecMdcDedx::setSigmaDedx ( double * sigma_dedx)
inline

Definition at line 94 of file RecMdcDedx.h.

94 {
95 for(int i = 0; i < 5; i++)
96 m_sigma_dedx[i] = sigma_dedx[i] ;
97 }

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().

◆ setVecDedxHits()

void RecMdcDedx::setVecDedxHits ( const DedxHitRefVec & vecdedxhit)
inline

Definition at line 76 of file RecMdcDedx.h.

76{m_vecdedxhit = vecdedxhit;}

Referenced by MdcDedxRecon::execute(), and RecMdcDedxCnv::TObjectToDataObject().


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