BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
DstTofTrack Class Reference

#include <DstTofTrack.h>

+ Inheritance diagram for DstTofTrack:

Public Member Functions

 DstTofTrack ()
 
virtual ~DstTofTrack ()
 
virtual const CLID & clID () const
 
int tofTrackID () const
 
int trackID () const
 
int tofID () const
 
unsigned int status () const
 
double path () const
 
double zrhit () const
 
double ph () const
 
double tof () const
 
double errtof () const
 
double beta () const
 
double texp (int i) const
 
double texpElectron () const
 
double texpMuon () const
 
double texpPion () const
 
double texpKaon () const
 
double texpProton () const
 
double toffset (int i) const
 
double toffsetElectron () const
 
double toffsetMuon () const
 
double toffsetPion () const
 
double toffsetKaon () const
 
double toffsetProton () const
 
double toffsetAntiProton () const
 
double sigma (int i) const
 
double sigmaElectron () const
 
double sigmaMuon () const
 
double sigmaPion () const
 
double sigmaKaon () const
 
double sigmaProton () const
 
double sigmaAntiProton () const
 
int quality () const
 
double t0 () const
 
double errt0 () const
 
double errz () const
 
double phi () const
 
double errphi () const
 
double energy () const
 
double errenergy () const
 
void setTofTrackID (int tofTrackID)
 
void setTrackID (int trackID)
 
void setTofID (int tofID)
 
void setStatus (unsigned int status)
 
void setPath (double path)
 
void setZrHit (double zrhit)
 
void setPh (double ph)
 
void setTof (double tof)
 
void setErrTof (double etof)
 
void setBeta (double beta)
 
void setTexp (double texp[5])
 
void setTexpElectron (double texpe)
 
void setTexpMuon (double texpmu)
 
void setTexpPion (double texppi)
 
void setTexpKaon (double texpk)
 
void setTexpProton (double texpp)
 
void setToffset (double toffset[6])
 
void setToffsetElectron (double toe)
 
void setToffsetMuon (double tomu)
 
void setToffsetPion (double topi)
 
void setToffsetKaon (double tok)
 
void setToffsetProton (double top)
 
void setToffsetAntiProton (double topb)
 
void setSigma (double sigma[6])
 
void setSigmaElectron (double se)
 
void setSigmaMuon (double smu)
 
void setSigmaPion (double spi)
 
void setSigmaKaon (double sk)
 
void setSigmaProton (double sp)
 
void setSigmaAntiProton (double spb)
 
void setQuality (int quality)
 
void setT0 (double t0)
 
void setErrT0 (double errt0)
 
void setErrZ (double errz)
 
void setPhi (double phi)
 
void setErrPhi (double errphi)
 
void setEnergy (double energy)
 
void setErrEnergy (double errenergy)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 18 of file DstTofTrack.h.

Constructor & Destructor Documentation

◆ DstTofTrack()

DstTofTrack::DstTofTrack ( )

Definition at line 15 of file DstTofTrack.cxx.

15 {
16
17 m_tofTrackID = -1;
18 m_trackID = -1;
19 m_tofID = -1;
20 m_status = 0;
21 m_path = 9999.0;
22 m_zrhit = 9999.0;
23 m_ph = 9999.0;
24 m_tof = 9999.0;
25 m_beta = 9999.0;
26 for( int i=0; i<6; i++ ) {
27 m_toffset[i] = 9999.0;
28 m_sigma[i] = 9999.0;
29 }
30 m_quality = 10;
31 m_t0 = 0.0;
32 m_errt0 = 0.0;
33
34 m_errz = 9999.0;
35 m_phi = 9999.0;
36 m_errphi = 9999.0;
37 m_energy = 9999.0;
38 m_errenergy = 9999.0;
39
40}

◆ ~DstTofTrack()

virtual DstTofTrack::~DstTofTrack ( )
inlinevirtual

Definition at line 22 of file DstTofTrack.h.

22{}

Member Function Documentation

◆ beta()

double DstTofTrack::beta ( ) const
inline

Definition at line 51 of file DstTofTrack.h.

51{ return m_beta; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setBeta().

◆ classID()

static const CLID & DstTofTrack::classID ( )
inlinestatic

Definition at line 36 of file DstTofTrack.h.

36{ return CLID_DstTofTrack; }
const CLID & CLID_DstTofTrack
Definition: EventModel.cxx:257

Referenced by clID().

◆ clID()

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

Reimplemented in RecTofTrack.

Definition at line 35 of file DstTofTrack.h.

35{ return DstTofTrack::classID();}
static const CLID & classID()
Definition: DstTofTrack.h:36

◆ energy()

double DstTofTrack::energy ( ) const
inline

Definition at line 84 of file DstTofTrack.h.

84{ return m_energy; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setEnergy().

◆ errenergy()

double DstTofTrack::errenergy ( ) const
inline

Definition at line 85 of file DstTofTrack.h.

85{ return m_errenergy; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setErrEnergy().

◆ errphi()

double DstTofTrack::errphi ( ) const
inline

Definition at line 83 of file DstTofTrack.h.

83{ return m_errphi; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setErrPhi().

◆ errt0()

double DstTofTrack::errt0 ( ) const
inline

Definition at line 79 of file DstTofTrack.h.

79{ return m_errt0; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setErrT0().

◆ errtof()

double DstTofTrack::errtof ( ) const
inline

Definition at line 50 of file DstTofTrack.h.

50{ return m_sigma[0]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ errz()

double DstTofTrack::errz ( ) const
inline

Definition at line 81 of file DstTofTrack.h.

81{ return m_errz; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setErrZ().

◆ path()

double DstTofTrack::path ( ) const
inline

Definition at line 46 of file DstTofTrack.h.

46{ return m_path; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setPath().

◆ ph()

double DstTofTrack::ph ( ) const
inline

Definition at line 48 of file DstTofTrack.h.

48{ return m_ph; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setPh().

◆ phi()

double DstTofTrack::phi ( ) const
inline

Definition at line 82 of file DstTofTrack.h.

82{ return m_phi; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setPhi().

◆ quality()

int DstTofTrack::quality ( ) const
inline

Definition at line 76 of file DstTofTrack.h.

76{ return m_quality; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setQuality().

◆ setBeta()

void DstTofTrack::setBeta ( double  beta)
inline

◆ setEnergy()

void DstTofTrack::setEnergy ( double  energy)
inline

◆ setErrEnergy()

void DstTofTrack::setErrEnergy ( double  errenergy)
inline

◆ setErrPhi()

void DstTofTrack::setErrPhi ( double  errphi)
inline

◆ setErrT0()

void DstTofTrack::setErrT0 ( double  errt0)
inline

◆ setErrTof()

void DstTofTrack::setErrTof ( double  etof)
inline

◆ setErrZ()

void DstTofTrack::setErrZ ( double  errz)
inline

◆ setPath()

void DstTofTrack::setPath ( double  path)
inline

◆ setPh()

void DstTofTrack::setPh ( double  ph)
inline

◆ setPhi()

void DstTofTrack::setPhi ( double  phi)
inline

◆ setQuality()

void DstTofTrack::setQuality ( int  quality)
inline

◆ setSigma()

void DstTofTrack::setSigma ( double  sigma[6])
inline

Definition at line 116 of file DstTofTrack.h.

116{ for(int i=0; i<6; i++) { m_sigma[i]=sigma[i];} }
double sigma(int i) const
Definition: DstTofTrack.h:68

Referenced by MrpcTrack::buildRecTofTrack(), and TofTrack::buildRecTofTrack().

◆ setSigmaAntiProton()

void DstTofTrack::setSigmaAntiProton ( double  spb)
inline

Definition at line 122 of file DstTofTrack.h.

122{ m_sigma[5] = spb; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setSigmaElectron()

void DstTofTrack::setSigmaElectron ( double  se)
inline

◆ setSigmaKaon()

void DstTofTrack::setSigmaKaon ( double  sk)
inline

Definition at line 120 of file DstTofTrack.h.

120{ m_sigma[3] = sk; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setSigmaMuon()

void DstTofTrack::setSigmaMuon ( double  smu)
inline

Definition at line 118 of file DstTofTrack.h.

118{ m_sigma[1] = smu; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setSigmaPion()

void DstTofTrack::setSigmaPion ( double  spi)
inline

Definition at line 119 of file DstTofTrack.h.

119{ m_sigma[2] = spi; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setSigmaProton()

void DstTofTrack::setSigmaProton ( double  sp)
inline

Definition at line 121 of file DstTofTrack.h.

121{ m_sigma[4] = sp; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setStatus()

void DstTofTrack::setStatus ( unsigned int  status)
inline

◆ setT0()

void DstTofTrack::setT0 ( double  t0)
inline

◆ setTexp()

void DstTofTrack::setTexp ( double  texp[5])
inline

Definition at line 101 of file DstTofTrack.h.

101{ for(int i=0; i<5; i++) { m_texp[i]=texp[i];} }
double texp(int i) const
Definition: DstTofTrack.h:53

Referenced by MrpcTrack::buildRecTofTrack(), and TofTrack::buildRecTofTrack().

◆ setTexpElectron()

void DstTofTrack::setTexpElectron ( double  texpe)
inline

Definition at line 102 of file DstTofTrack.h.

102{ m_texp[0] = texpe; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setTexpKaon()

void DstTofTrack::setTexpKaon ( double  texpk)
inline

Definition at line 105 of file DstTofTrack.h.

105{ m_texp[3] = texpk; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setTexpMuon()

void DstTofTrack::setTexpMuon ( double  texpmu)
inline

Definition at line 103 of file DstTofTrack.h.

103{ m_texp[1] = texpmu; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setTexpPion()

void DstTofTrack::setTexpPion ( double  texppi)
inline

Definition at line 104 of file DstTofTrack.h.

104{ m_texp[2] = texppi; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setTexpProton()

void DstTofTrack::setTexpProton ( double  texpp)
inline

Definition at line 106 of file DstTofTrack.h.

106{ m_texp[4] = texpp; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setTof()

void DstTofTrack::setTof ( double  tof)
inline

◆ setToffset()

void DstTofTrack::setToffset ( double  toffset[6])
inline

Definition at line 108 of file DstTofTrack.h.

108{ for(int i=0; i<6; i++) { m_toffset[i]=toffset[i];} }
double toffset(int i) const
Definition: DstTofTrack.h:60

Referenced by MrpcTrack::setRecTofTrack(), and TofTrack::setRecTofTrack().

◆ setToffsetAntiProton()

void DstTofTrack::setToffsetAntiProton ( double  topb)
inline

Definition at line 114 of file DstTofTrack.h.

114{ m_toffset[5] = topb; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setToffsetElectron()

void DstTofTrack::setToffsetElectron ( double  toe)
inline

Definition at line 109 of file DstTofTrack.h.

109{ m_toffset[0] = toe; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setToffsetKaon()

void DstTofTrack::setToffsetKaon ( double  tok)
inline

Definition at line 112 of file DstTofTrack.h.

112{ m_toffset[3] = tok; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setToffsetMuon()

void DstTofTrack::setToffsetMuon ( double  tomu)
inline

Definition at line 110 of file DstTofTrack.h.

110{ m_toffset[1] = tomu; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setToffsetPion()

void DstTofTrack::setToffsetPion ( double  topi)
inline

Definition at line 111 of file DstTofTrack.h.

111{ m_toffset[2] = topi; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setToffsetProton()

void DstTofTrack::setToffsetProton ( double  top)
inline

Definition at line 113 of file DstTofTrack.h.

113{ m_toffset[4] = top; }

Referenced by TofTrackCnv::TObjectToDataObject(), and RecTofTrackCnv::TObjectToDataObject().

◆ setTofID()

void DstTofTrack::setTofID ( int  tofID)
inline

◆ setTofTrackID()

void DstTofTrack::setTofTrackID ( int  tofTrackID)
inline

◆ setTrackID()

void DstTofTrack::setTrackID ( int  trackID)
inline

◆ setZrHit()

void DstTofTrack::setZrHit ( double  zrhit)
inline

◆ sigma()

double DstTofTrack::sigma ( int  i) const
inline

Definition at line 68 of file DstTofTrack.h.

68{ return m_sigma[i]; }

Referenced by setSigma().

◆ sigmaAntiProton()

double DstTofTrack::sigmaAntiProton ( ) const
inline

Definition at line 74 of file DstTofTrack.h.

74{ return m_sigma[5]; }

◆ sigmaElectron()

double DstTofTrack::sigmaElectron ( ) const
inline

Definition at line 69 of file DstTofTrack.h.

69{ return m_sigma[0]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ sigmaKaon()

double DstTofTrack::sigmaKaon ( ) const
inline

Definition at line 72 of file DstTofTrack.h.

72{ return m_sigma[3]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ sigmaMuon()

double DstTofTrack::sigmaMuon ( ) const
inline

Definition at line 70 of file DstTofTrack.h.

70{ return m_sigma[1]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ sigmaPion()

double DstTofTrack::sigmaPion ( ) const
inline

Definition at line 71 of file DstTofTrack.h.

71{ return m_sigma[2]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ sigmaProton()

double DstTofTrack::sigmaProton ( ) const
inline

Definition at line 73 of file DstTofTrack.h.

73{ return m_sigma[4]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ status()

unsigned int DstTofTrack::status ( ) const
inline

Definition at line 44 of file DstTofTrack.h.

44{ return m_status; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), TofHitStatus::operator=(), and setStatus().

◆ t0()

double DstTofTrack::t0 ( ) const
inline

Definition at line 78 of file DstTofTrack.h.

78{ return m_t0; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setT0().

◆ texp()

double DstTofTrack::texp ( int  i) const
inline

Definition at line 53 of file DstTofTrack.h.

53{ return m_texp[i]; }

Referenced by setTexp().

◆ texpElectron()

double DstTofTrack::texpElectron ( ) const
inline

Definition at line 54 of file DstTofTrack.h.

54{ return m_texp[0]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ texpKaon()

double DstTofTrack::texpKaon ( ) const
inline

Definition at line 57 of file DstTofTrack.h.

57{ return m_texp[3]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ texpMuon()

double DstTofTrack::texpMuon ( ) const
inline

Definition at line 55 of file DstTofTrack.h.

55{ return m_texp[1]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ texpPion()

double DstTofTrack::texpPion ( ) const
inline

Definition at line 56 of file DstTofTrack.h.

56{ return m_texp[2]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ texpProton()

double DstTofTrack::texpProton ( ) const
inline

Definition at line 58 of file DstTofTrack.h.

58{ return m_texp[4]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ tof()

double DstTofTrack::tof ( ) const
inline

Definition at line 49 of file DstTofTrack.h.

49{ return m_tof; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setTof().

◆ toffset()

double DstTofTrack::toffset ( int  i) const
inline

Definition at line 60 of file DstTofTrack.h.

60{ return m_toffset[i]; }

Referenced by setToffset().

◆ toffsetAntiProton()

double DstTofTrack::toffsetAntiProton ( ) const
inline

Definition at line 66 of file DstTofTrack.h.

66{ return m_toffset[5]; }

◆ toffsetElectron()

double DstTofTrack::toffsetElectron ( ) const
inline

Definition at line 61 of file DstTofTrack.h.

61{ return m_toffset[0]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ toffsetKaon()

double DstTofTrack::toffsetKaon ( ) const
inline

Definition at line 64 of file DstTofTrack.h.

64{ return m_toffset[3]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ toffsetMuon()

double DstTofTrack::toffsetMuon ( ) const
inline

Definition at line 62 of file DstTofTrack.h.

62{ return m_toffset[1]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ toffsetPion()

double DstTofTrack::toffsetPion ( ) const
inline

Definition at line 63 of file DstTofTrack.h.

63{ return m_toffset[2]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ toffsetProton()

double DstTofTrack::toffsetProton ( ) const
inline

Definition at line 65 of file DstTofTrack.h.

65{ return m_toffset[4]; }

Referenced by MrpcCheckData::Fill(), and TofCheckData::Fill().

◆ tofID()

int DstTofTrack::tofID ( ) const
inline

Definition at line 42 of file DstTofTrack.h.

42{ return m_tofID; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setTofID().

◆ tofTrackID()

int DstTofTrack::tofTrackID ( ) const
inline

◆ trackID()

int DstTofTrack::trackID ( ) const
inline

Definition at line 41 of file DstTofTrack.h.

41{ return m_trackID; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setTrackID().

◆ zrhit()

double DstTofTrack::zrhit ( ) const
inline

Definition at line 47 of file DstTofTrack.h.

47{ return m_zrhit; }

Referenced by MrpcCheckData::Fill(), TofCheckData::Fill(), and setZrHit().


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