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

#include <TCgemDedx.h>

+ Inheritance diagram for TCgemDedx:

Public Member Functions

 TCgemDedx ()
 
 ~TCgemDedx ()
 
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)
 
void setChi (double *chi)
 

Detailed Description

Definition at line 6 of file TCgemDedx.h.

Constructor & Destructor Documentation

◆ TCgemDedx()

TCgemDedx::TCgemDedx ( )

◆ ~TCgemDedx()

TCgemDedx::~TCgemDedx ( )

Definition at line 14 of file TCgemDedx.cxx.

14 {
15 Clear();
16 }

Member Function Documentation

◆ chi()

Double_t TCgemDedx::chi ( int  i) const

Definition at line 19 of file TCgemDedx.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 << " TCgemDedx::chi: i= " << i << " - out of range"
33 << std::endl;
34 exit(1);
35 }
36
37 return chi_ret;
38}

Referenced by setChi().

◆ chiE()

Double_t TCgemDedx::chiE ( ) const
inline

Definition at line 26 of file TCgemDedx.h.

26{ return m_chiE; }

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

◆ chiK()

Double_t TCgemDedx::chiK ( ) const
inline

Definition at line 29 of file TCgemDedx.h.

29{ return m_chiK; }

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

◆ chiMu()

Double_t TCgemDedx::chiMu ( ) const
inline

Definition at line 27 of file TCgemDedx.h.

27{ return m_chiMu; }

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

◆ chiP()

Double_t TCgemDedx::chiP ( ) const
inline

Definition at line 30 of file TCgemDedx.h.

30{ return m_chiP; }

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

◆ chiPi()

Double_t TCgemDedx::chiPi ( ) const
inline

Definition at line 28 of file TCgemDedx.h.

28{ return m_chiPi; }

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

◆ errorPH()

Double_t TCgemDedx::errorPH ( ) const
inline

Definition at line 37 of file TCgemDedx.h.

37{ return m_errorPH; }

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

◆ normPH()

Double_t TCgemDedx::normPH ( ) const
inline

Definition at line 36 of file TCgemDedx.h.

36{ return m_normPH; }

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

◆ numGoodHits()

Int_t TCgemDedx::numGoodHits ( ) const
inline

Definition at line 32 of file TCgemDedx.h.

32{ return m_numGoodHits; }

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

◆ numTotalHits()

Int_t TCgemDedx::numTotalHits ( ) const
inline

Definition at line 33 of file TCgemDedx.h.

33{ return m_numTotalHits; }

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

◆ particleId()

Int_t TCgemDedx::particleId ( ) const
inline

Definition at line 20 of file TCgemDedx.h.

20{ return m_particleId; }

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

◆ probPH()

Double_t TCgemDedx::probPH ( ) const
inline

Definition at line 35 of file TCgemDedx.h.

35{ return m_probPH; }

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

◆ setChi()

void TCgemDedx::setChi ( double *  chi)
inline

Definition at line 69 of file TCgemDedx.h.

69 {
70 for(int i =0; i<5 ; i++) m_chi[i]= chi[i];
71 }
Double_t chi(int i) const
Definition: TCgemDedx.cxx:19

◆ setChiE()

void TCgemDedx::setChiE ( const Double_t  chiE)
inline

Definition at line 55 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setChiK()

void TCgemDedx::setChiK ( const Double_t  chiK)
inline

Definition at line 58 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setChiMu()

void TCgemDedx::setChiMu ( const Double_t  chiMu)
inline

Definition at line 56 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setChiP()

void TCgemDedx::setChiP ( const Double_t  chiP)
inline

Definition at line 59 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setChiPi()

void TCgemDedx::setChiPi ( const Double_t  chiPi)
inline

Definition at line 57 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setErrorPH()

void TCgemDedx::setErrorPH ( const Double_t  errorPH)
inline

Definition at line 66 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setNormPH()

void TCgemDedx::setNormPH ( const Double_t  normPH)
inline

Definition at line 65 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setNumGoodHits()

void TCgemDedx::setNumGoodHits ( const Int_t  numGoodHits)
inline

Definition at line 61 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setNumTotalHits()

void TCgemDedx::setNumTotalHits ( const Int_t  numTotalHits)
inline

Definition at line 62 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setParticleId()

void TCgemDedx::setParticleId ( const Int_t  particleId)
inline

Definition at line 48 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setProbPH()

void TCgemDedx::setProbPH ( const Double_t  probPH)
inline

Definition at line 64 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setStatus()

void TCgemDedx::setStatus ( const Int_t  status)
inline

Definition at line 49 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setTrackId()

void TCgemDedx::setTrackId ( const Int_t  trackId)
inline

Definition at line 47 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setTruncAlg()

void TCgemDedx::setTruncAlg ( const Int_t  trunc_alg)
inline

Definition at line 50 of file TCgemDedx.h.

50{ m_trunc_alg = trunc_alg; }

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ setTwentyPH()

void TCgemDedx::setTwentyPH ( const Double_t  twentyPH)
inline

Definition at line 67 of file TCgemDedx.h.

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

Referenced by CgemDedxCnv::DataObjectToTObject().

◆ status()

Int_t TCgemDedx::status ( ) const
inline

Definition at line 21 of file TCgemDedx.h.

21{ return m_status; }

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

◆ trackId()

Int_t TCgemDedx::trackId ( ) const
inline

Definition at line 19 of file TCgemDedx.h.

19{ return m_trackId; }

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

◆ truncAlg()

Int_t TCgemDedx::truncAlg ( ) const
inline

Definition at line 22 of file TCgemDedx.h.

22{ return m_trunc_alg; }

Referenced by CgemDedxCnv::TObjectToDataObject().

◆ twentyPH()

Double_t TCgemDedx::twentyPH ( ) const
inline

Definition at line 38 of file TCgemDedx.h.

38{ return m_twentyPH; }

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


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