CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TMdcDedx Class Reference

#include <TMdcDedx.h>

+ Inheritance diagram for TMdcDedx:

Public Member Functions

 TMdcDedx ()
 
 ~TMdcDedx ()
 
Int_t trackId () const
 
Int_t particleId () const
 
Int_t status () const
 
Int_t truncAlg () const
 
Double_t chi (int i) const
 
Double_t chiE () const
 
Double_t chiMu () const
 
Double_t chiPi () const
 
Double_t chiK () const
 
Double_t chiP () const
 
Int_t numGoodHits () const
 
Int_t numTotalHits () const
 
Double_t probPH () const
 
Double_t normPH () const
 
Double_t errorPH () const
 
Double_t twentyPH () const
 
void setTrackId (const Int_t trackId)
 
void setParticleId (const Int_t particleId)
 
void setStatus (const Int_t status)
 
void setTruncAlg (const Int_t trunc_alg)
 
void setChiE (const Double_t chiE)
 
void setChiMu (const Double_t chiMu)
 
void setChiPi (const Double_t chiPi)
 
void setChiK (const Double_t chiK)
 
void setChiP (const Double_t chiP)
 
void setNumGoodHits (const Int_t numGoodHits)
 
void setNumTotalHits (const Int_t numTotalHits)
 
void setProbPH (const Double_t probPH)
 
void setNormPH (const Double_t normPH)
 
void setErrorPH (const Double_t errorPH)
 
void setTwentyPH (const Double_t twentyPH)
 

Detailed Description

Definition at line 6 of file TMdcDedx.h.

Constructor & Destructor Documentation

◆ TMdcDedx()

TMdcDedx::TMdcDedx ( )

◆ ~TMdcDedx()

TMdcDedx::~TMdcDedx ( )

Definition at line 14 of file TMdcDedx.cxx.

14 {
15 Clear();
16 }

Member Function Documentation

◆ chi()

Double_t TMdcDedx::chi ( int  i) const

Definition at line 19 of file TMdcDedx.cxx.

19 {
20 double chi_ret = 0;
21 switch (i) {
22 case 0: chi_ret = m_chiE;
23 break;
24 case 1: chi_ret = m_chiMu;
25 break;
26 case 2: chi_ret = m_chiPi;
27 break;
28 case 3: chi_ret = m_chiK;
29 break;
30 case 4: chi_ret = m_chiP;
31 break;
32 default: std::cerr << " TMdcDedx::chi: i= " << i << " - out of range"
33 << std::endl;
34 exit(1);
35 }
36
37 return chi_ret;
38}

◆ chiE()

Double_t TMdcDedx::chiE ( ) const
inline

Definition at line 26 of file TMdcDedx.h.

26{ return m_chiE; }

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

◆ chiK()

Double_t TMdcDedx::chiK ( ) const
inline

Definition at line 29 of file TMdcDedx.h.

29{ return m_chiK; }

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

◆ chiMu()

Double_t TMdcDedx::chiMu ( ) const
inline

Definition at line 27 of file TMdcDedx.h.

27{ return m_chiMu; }

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

◆ chiP()

Double_t TMdcDedx::chiP ( ) const
inline

Definition at line 30 of file TMdcDedx.h.

30{ return m_chiP; }

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

◆ chiPi()

Double_t TMdcDedx::chiPi ( ) const
inline

Definition at line 28 of file TMdcDedx.h.

28{ return m_chiPi; }

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

◆ errorPH()

Double_t TMdcDedx::errorPH ( ) const
inline

Definition at line 37 of file TMdcDedx.h.

37{ return m_errorPH; }

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

◆ normPH()

Double_t TMdcDedx::normPH ( ) const
inline

Definition at line 36 of file TMdcDedx.h.

36{ return m_normPH; }

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

◆ numGoodHits()

Int_t TMdcDedx::numGoodHits ( ) const
inline

Definition at line 32 of file TMdcDedx.h.

32{ return m_numGoodHits; }

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

◆ numTotalHits()

Int_t TMdcDedx::numTotalHits ( ) const
inline

Definition at line 33 of file TMdcDedx.h.

33{ return m_numTotalHits; }

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

◆ particleId()

Int_t TMdcDedx::particleId ( ) const
inline

Definition at line 20 of file TMdcDedx.h.

20{ return m_particleId; }

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

◆ probPH()

Double_t TMdcDedx::probPH ( ) const
inline

Definition at line 35 of file TMdcDedx.h.

35{ return m_probPH; }

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

◆ setChiE()

void TMdcDedx::setChiE ( const Double_t  chiE)
inline

Definition at line 55 of file TMdcDedx.h.

55{ m_chiE = chiE; }
Double_t chiE() const
Definition: TMdcDedx.h:26

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setChiK()

void TMdcDedx::setChiK ( const Double_t  chiK)
inline

Definition at line 58 of file TMdcDedx.h.

58{ m_chiK = chiK; }
Double_t chiK() const
Definition: TMdcDedx.h:29

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setChiMu()

void TMdcDedx::setChiMu ( const Double_t  chiMu)
inline

Definition at line 56 of file TMdcDedx.h.

56{ m_chiMu = chiMu; }
Double_t chiMu() const
Definition: TMdcDedx.h:27

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setChiP()

void TMdcDedx::setChiP ( const Double_t  chiP)
inline

Definition at line 59 of file TMdcDedx.h.

59{ m_chiP = chiP; }
Double_t chiP() const
Definition: TMdcDedx.h:30

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setChiPi()

void TMdcDedx::setChiPi ( const Double_t  chiPi)
inline

Definition at line 57 of file TMdcDedx.h.

57{ m_chiPi = chiPi; }
Double_t chiPi() const
Definition: TMdcDedx.h:28

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setErrorPH()

void TMdcDedx::setErrorPH ( const Double_t  errorPH)
inline

Definition at line 66 of file TMdcDedx.h.

66{ m_errorPH = errorPH; }
Double_t errorPH() const
Definition: TMdcDedx.h:37

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setNormPH()

void TMdcDedx::setNormPH ( const Double_t  normPH)
inline

Definition at line 65 of file TMdcDedx.h.

65{ m_normPH = normPH; }
Double_t normPH() const
Definition: TMdcDedx.h:36

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setNumGoodHits()

void TMdcDedx::setNumGoodHits ( const Int_t  numGoodHits)
inline

Definition at line 61 of file TMdcDedx.h.

61{ m_numGoodHits = numGoodHits; }
Int_t numGoodHits() const
Definition: TMdcDedx.h:32

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setNumTotalHits()

void TMdcDedx::setNumTotalHits ( const Int_t  numTotalHits)
inline

Definition at line 62 of file TMdcDedx.h.

62{ m_numTotalHits = numTotalHits; }
Int_t numTotalHits() const
Definition: TMdcDedx.h:33

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setParticleId()

void TMdcDedx::setParticleId ( const Int_t  particleId)
inline

Definition at line 48 of file TMdcDedx.h.

48{ m_particleId = particleId; }
Int_t particleId() const
Definition: TMdcDedx.h:20

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setProbPH()

void TMdcDedx::setProbPH ( const Double_t  probPH)
inline

Definition at line 64 of file TMdcDedx.h.

64{ m_probPH = probPH; }
Double_t probPH() const
Definition: TMdcDedx.h:35

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setStatus()

void TMdcDedx::setStatus ( const Int_t  status)
inline

Definition at line 49 of file TMdcDedx.h.

49{ m_status=status; }
Int_t status() const
Definition: TMdcDedx.h:21

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setTrackId()

void TMdcDedx::setTrackId ( const Int_t  trackId)
inline

Definition at line 47 of file TMdcDedx.h.

47{ m_trackId = trackId ; }
Int_t trackId() const
Definition: TMdcDedx.h:19

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setTruncAlg()

void TMdcDedx::setTruncAlg ( const Int_t  trunc_alg)
inline

Definition at line 50 of file TMdcDedx.h.

50{ m_trunc_alg = trunc_alg; }

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ setTwentyPH()

void TMdcDedx::setTwentyPH ( const Double_t  twentyPH)
inline

Definition at line 67 of file TMdcDedx.h.

67{ m_twentyPH = twentyPH; }
Double_t twentyPH() const
Definition: TMdcDedx.h:38

Referenced by MdcDedxCnv::DataObjectToTObject().

◆ status()

Int_t TMdcDedx::status ( ) const
inline

Definition at line 21 of file TMdcDedx.h.

21{ return m_status; }

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

◆ trackId()

Int_t TMdcDedx::trackId ( ) const
inline

Definition at line 19 of file TMdcDedx.h.

19{ return m_trackId; }

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

◆ truncAlg()

Int_t TMdcDedx::truncAlg ( ) const
inline

Definition at line 22 of file TMdcDedx.h.

22{ return m_trunc_alg; }

Referenced by MdcDedxCnv::TObjectToDataObject().

◆ twentyPH()

Double_t TMdcDedx::twentyPH ( ) const
inline

Definition at line 38 of file TMdcDedx.h.

38{ return m_twentyPH; }

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


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