BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMdcKalHelixSeg Class Reference

#include <RecMdcKalHelixSeg.h>

+ Inheritance diagram for RecMdcKalHelixSeg:

Public Member Functions

virtual const CLID & clID () const
 
 RecMdcKalHelixSeg ()
 
 RecMdcKalHelixSeg (RecMdcKalHelixSeg &seg)
 
 ~RecMdcKalHelixSeg ()
 
int getTrackId (void) const
 
Identifier getMdcId (void) const
 
int getFlagLR (void) const
 
double getTdc (void) const
 
double getAdc (void) const
 
double getZhit (void) const
 
double getTof (void) const
 
double getDocaIncl (void) const
 
double getDocaExcl (void) const
 
double getDD (void) const
 
double getEntra (void) const
 
double getDT (void) const
 
int getLayerId (void) const
 
double getDrIncl (void) const
 get every component of helix parameter
 
double getFi0Incl (void) const
 
double getCpaIncl (void) const
 
double getDzIncl (void) const
 
double getTanlIncl (void) const
 
double getDrExcl (void) const
 
double getFi0Excl (void) const
 
double getCpaExcl (void) const
 
double getDzExcl (void) const
 
double getTanlExcl (void) const
 
HepVector & getHelixIncl (void)
 
HepVector & getHelixExcl (void)
 
HepSymMatrix & getErrorIncl (void)
 
HepSymMatrix & getErrorExcl (void)
 
double getResIncl (void)
 
double getResExcl (void)
 
void setTrackId (int trackid)
 
void setMdcId (Identifier mdcid)
 
void setFlagLR (int flagLR)
 
void setTdc (double tdc)
 
void setAdc (double adc)
 
void setZhit (double zhit)
 
void setTof (double tof)
 
void setDocaIncl (double doca)
 
void setDocaExcl (double doca)
 
void setDD (double dd)
 
void setEntra (double entra)
 
void setDT (double dt)
 
void setLayerId (int layerId)
 
void setDrIncl (double dr)
 
void setFi0Incl (double fi0)
 
void setCpaIncl (double cpa)
 
void setDzIncl (double dz)
 
void setTanlIncl (double tanl)
 
void setDrExcl (double dr)
 
void setFi0Excl (double fi0)
 
void setCpaExcl (double cpa)
 
void setDzExcl (double dz)
 
void setTanlExcl (double tanl)
 
void setResIncl (double res)
 
void setResExcl (double res)
 
void setHelixIncl (const HepVector &helix)
 
void setErrorIncl (const HepSymMatrix &error)
 
void setHelixExcl (const HepVector &helix)
 
void setErrorExcl (const HepSymMatrix &error)
 
void setHelixIncl (double *helix)
 
void setErrorIncl (double *error)
 
void setHelixExcl (double *helix)
 
void setErrorExcl (double *error)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 31 of file RecMdcKalHelixSeg.h.

Constructor & Destructor Documentation

◆ RecMdcKalHelixSeg() [1/2]

RecMdcKalHelixSeg::RecMdcKalHelixSeg ( )

Definition at line 8 of file RecMdcKalHelixSeg.cxx.

10: m_helix_incl(5,0),
11 m_helix_excl(5,0),
12 m_error_incl(5,0),
13 m_error_excl(5,0),
14 m_trackid(0),
15 m_mdcid(0),
16 m_flagLR(0),
17 m_tdc(0),
18 m_adc(0),
19 m_zhit(0),
20 m_tof(0),
21 m_doca_incl(0),
22 m_doca_excl(0),
23 m_dd(0),
24 m_entra(0),
25 m_dt(0),
26 m_res_incl(0),
27 m_res_excl(0),
28 m_layerId(0)
29
30{
31}

◆ RecMdcKalHelixSeg() [2/2]

RecMdcKalHelixSeg::RecMdcKalHelixSeg ( RecMdcKalHelixSeg seg)

Definition at line 33 of file RecMdcKalHelixSeg.cxx.

35 :
36 m_helix_incl(helixseg.m_helix_incl),
37 m_helix_excl(helixseg.m_helix_excl),
38 m_error_incl(helixseg.m_error_incl),
39 m_error_excl(helixseg.m_error_excl),
40 m_trackid(helixseg.m_trackid),
41 m_mdcid(helixseg.m_mdcid),
42 m_flagLR(helixseg.m_flagLR),
43 m_tdc(helixseg.m_tdc),
44 m_adc(helixseg.m_adc),
45 m_zhit(helixseg.m_zhit),
46 m_tof(helixseg.m_tof),
47 m_doca_incl(helixseg.m_doca_incl),
48 m_doca_excl(helixseg.m_doca_excl),
49 m_dd(helixseg.m_dd),
50 m_entra(helixseg.m_entra),
51 m_dt(helixseg.m_dt),
52 m_res_incl(helixseg.m_res_incl),
53 m_res_excl(helixseg.m_res_excl),
54 m_layerId(helixseg.m_layerId)
55
56{ }

◆ ~RecMdcKalHelixSeg()

RecMdcKalHelixSeg::~RecMdcKalHelixSeg ( )

Definition at line 58 of file RecMdcKalHelixSeg.cxx.

59{
60
61
62}

Member Function Documentation

◆ classID()

static const CLID & RecMdcKalHelixSeg::classID ( )
inlinestatic

Definition at line 38 of file RecMdcKalHelixSeg.h.

38 {
40 }
const CLID & CLID_RecMdcKalHelixSeg
Definition: EventModel.cxx:314

Referenced by clID().

◆ clID()

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

Definition at line 34 of file RecMdcKalHelixSeg.h.

34 {
36 }
static const CLID & classID()

◆ getAdc()

double RecMdcKalHelixSeg::getAdc ( void  ) const
inline

Definition at line 51 of file RecMdcKalHelixSeg.h.

51{ return m_adc; }

Referenced by DedxCalibEvent::genNtuple().

◆ getCpaExcl()

double RecMdcKalHelixSeg::getCpaExcl ( void  ) const
inline

Definition at line 70 of file RecMdcKalHelixSeg.h.

70{ return m_helix_excl[2]; }

◆ getCpaIncl()

double RecMdcKalHelixSeg::getCpaIncl ( void  ) const
inline

Definition at line 64 of file RecMdcKalHelixSeg.h.

64{ return m_helix_incl[2]; }

◆ getDD()

double RecMdcKalHelixSeg::getDD ( void  ) const
inline

Definition at line 56 of file RecMdcKalHelixSeg.h.

56{ return m_dd; };

Referenced by DedxCalibEvent::genNtuple().

◆ getDocaExcl()

double RecMdcKalHelixSeg::getDocaExcl ( void  ) const
inline

Definition at line 55 of file RecMdcKalHelixSeg.h.

55{ return m_doca_excl ; }

Referenced by DedxCalibEvent::genNtuple().

◆ getDocaIncl()

double RecMdcKalHelixSeg::getDocaIncl ( void  ) const
inline

Definition at line 54 of file RecMdcKalHelixSeg.h.

54{ return m_doca_incl ; }

Referenced by DedxCalibEvent::genNtuple().

◆ getDrExcl()

double RecMdcKalHelixSeg::getDrExcl ( void  ) const
inline

Definition at line 68 of file RecMdcKalHelixSeg.h.

68{ return m_helix_excl[0]; }

◆ getDrIncl()

double RecMdcKalHelixSeg::getDrIncl ( void  ) const
inline

get every component of helix parameter

Definition at line 62 of file RecMdcKalHelixSeg.h.

62{ return m_helix_incl[0]; }

◆ getDT()

double RecMdcKalHelixSeg::getDT ( void  ) const
inline

Definition at line 58 of file RecMdcKalHelixSeg.h.

58{ return m_dt; }

Referenced by DedxCalibEvent::genNtuple().

◆ getDzExcl()

double RecMdcKalHelixSeg::getDzExcl ( void  ) const
inline

Definition at line 71 of file RecMdcKalHelixSeg.h.

71{ return m_helix_excl[3]; }

◆ getDzIncl()

double RecMdcKalHelixSeg::getDzIncl ( void  ) const
inline

Definition at line 65 of file RecMdcKalHelixSeg.h.

65{ return m_helix_incl[3]; }

◆ getEntra()

double RecMdcKalHelixSeg::getEntra ( void  ) const
inline

Definition at line 57 of file RecMdcKalHelixSeg.h.

57{ return m_entra; }

Referenced by DedxCalibEvent::genNtuple().

◆ getErrorExcl()

HepSymMatrix & RecMdcKalHelixSeg::getErrorExcl ( void  )
inline

Definition at line 78 of file RecMdcKalHelixSeg.h.

78{ return m_error_excl; }

Referenced by KalFitAlg::fillTds_back().

◆ getErrorIncl()

HepSymMatrix & RecMdcKalHelixSeg::getErrorIncl ( void  )
inline

Definition at line 77 of file RecMdcKalHelixSeg.h.

77{ return m_error_incl; }

Referenced by KalFitAlg::fillTds_back().

◆ getFi0Excl()

double RecMdcKalHelixSeg::getFi0Excl ( void  ) const
inline

Definition at line 69 of file RecMdcKalHelixSeg.h.

69{ return m_helix_excl[1]; }

◆ getFi0Incl()

double RecMdcKalHelixSeg::getFi0Incl ( void  ) const
inline

Definition at line 63 of file RecMdcKalHelixSeg.h.

63{ return m_helix_incl[1]; }

◆ getFlagLR()

int RecMdcKalHelixSeg::getFlagLR ( void  ) const
inline

Definition at line 49 of file RecMdcKalHelixSeg.h.

49{ return m_flagLR; }

Referenced by KalFitAlg::fillTds_back(), and DedxCalibEvent::genNtuple().

◆ getHelixExcl()

HepVector & RecMdcKalHelixSeg::getHelixExcl ( void  )
inline

Definition at line 75 of file RecMdcKalHelixSeg.h.

75{ return m_helix_excl; }

Referenced by KalFitAlg::fillTds_back().

◆ getHelixIncl()

HepVector & RecMdcKalHelixSeg::getHelixIncl ( void  )
inline

Definition at line 74 of file RecMdcKalHelixSeg.h.

74{ return m_helix_incl; }

Referenced by KalFitAlg::fillTds_back(), and DedxCalibEvent::genNtuple().

◆ getLayerId()

int RecMdcKalHelixSeg::getLayerId ( void  ) const
inline

Definition at line 59 of file RecMdcKalHelixSeg.h.

59{return m_layerId; }

◆ getMdcId()

Identifier RecMdcKalHelixSeg::getMdcId ( void  ) const
inline

Definition at line 48 of file RecMdcKalHelixSeg.h.

48{ return m_mdcid; }

Referenced by DedxCalibEvent::genNtuple().

◆ getResExcl()

double RecMdcKalHelixSeg::getResExcl ( void  )
inline

Definition at line 80 of file RecMdcKalHelixSeg.h.

80{ return m_res_excl; }

◆ getResIncl()

double RecMdcKalHelixSeg::getResIncl ( void  )
inline

Definition at line 79 of file RecMdcKalHelixSeg.h.

79{ return m_res_incl; }

Referenced by KalFitAlg::fillTds_back().

◆ getTanlExcl()

double RecMdcKalHelixSeg::getTanlExcl ( void  ) const
inline

Definition at line 72 of file RecMdcKalHelixSeg.h.

72{ return m_helix_excl[4]; }

◆ getTanlIncl()

double RecMdcKalHelixSeg::getTanlIncl ( void  ) const
inline

Definition at line 66 of file RecMdcKalHelixSeg.h.

66{ return m_helix_incl[4]; }

◆ getTdc()

double RecMdcKalHelixSeg::getTdc ( void  ) const
inline

Definition at line 50 of file RecMdcKalHelixSeg.h.

50{ return m_tdc; }

Referenced by DedxCalibEvent::genNtuple().

◆ getTof()

double RecMdcKalHelixSeg::getTof ( void  ) const
inline

Definition at line 53 of file RecMdcKalHelixSeg.h.

53{ return m_tof; }

◆ getTrackId()

int RecMdcKalHelixSeg::getTrackId ( void  ) const
inline

Definition at line 47 of file RecMdcKalHelixSeg.h.

47{ return m_trackid; }

◆ getZhit()

double RecMdcKalHelixSeg::getZhit ( void  ) const
inline

Definition at line 52 of file RecMdcKalHelixSeg.h.

52{ return m_zhit; }

Referenced by DedxCalibEvent::genNtuple().

◆ setAdc()

void RecMdcKalHelixSeg::setAdc ( double  adc)
inline

Definition at line 88 of file RecMdcKalHelixSeg.h.

88{ m_adc = adc; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setCpaExcl()

void RecMdcKalHelixSeg::setCpaExcl ( double  cpa)
inline

Definition at line 107 of file RecMdcKalHelixSeg.h.

107{ m_helix_excl[2] = cpa; }

Referenced by KalFitAlg::fillTds_back().

◆ setCpaIncl()

void RecMdcKalHelixSeg::setCpaIncl ( double  cpa)
inline

Definition at line 101 of file RecMdcKalHelixSeg.h.

101{ m_helix_incl[2] = cpa; }

Referenced by KalFitAlg::fillTds_back().

◆ setDD()

void RecMdcKalHelixSeg::setDD ( double  dd)
inline

Definition at line 94 of file RecMdcKalHelixSeg.h.

94{ m_dd = dd; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setDocaExcl()

void RecMdcKalHelixSeg::setDocaExcl ( double  doca)
inline

Definition at line 92 of file RecMdcKalHelixSeg.h.

92{ m_doca_excl = doca; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setDocaIncl()

void RecMdcKalHelixSeg::setDocaIncl ( double  doca)
inline

Definition at line 91 of file RecMdcKalHelixSeg.h.

91{ m_doca_incl = doca; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setDrExcl()

void RecMdcKalHelixSeg::setDrExcl ( double  dr)
inline

Definition at line 105 of file RecMdcKalHelixSeg.h.

105{ m_helix_excl[0] = dr; }

Referenced by KalFitAlg::fillTds_back().

◆ setDrIncl()

void RecMdcKalHelixSeg::setDrIncl ( double  dr)
inline

Definition at line 99 of file RecMdcKalHelixSeg.h.

99{ m_helix_incl[0] = dr; }

Referenced by KalFitAlg::fillTds_back().

◆ setDT()

void RecMdcKalHelixSeg::setDT ( double  dt)
inline

Definition at line 96 of file RecMdcKalHelixSeg.h.

96{ m_dt = dt; }
TGraph2DErrors * dt
Definition: McCor.cxx:45

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setDzExcl()

void RecMdcKalHelixSeg::setDzExcl ( double  dz)
inline

Definition at line 108 of file RecMdcKalHelixSeg.h.

108{ m_helix_excl[3] = dz; }

Referenced by KalFitAlg::fillTds_back().

◆ setDzIncl()

void RecMdcKalHelixSeg::setDzIncl ( double  dz)
inline

Definition at line 102 of file RecMdcKalHelixSeg.h.

102{ m_helix_incl[3] = dz; }

Referenced by KalFitAlg::fillTds_back().

◆ setEntra()

void RecMdcKalHelixSeg::setEntra ( double  entra)
inline

Definition at line 95 of file RecMdcKalHelixSeg.h.

95{ m_entra = entra; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setErrorExcl() [1/2]

void RecMdcKalHelixSeg::setErrorExcl ( const HepSymMatrix &  error)
inline

Definition at line 123 of file RecMdcKalHelixSeg.h.

123 {
124 m_error_excl = error;
125 }
@ error
Definition: Core.h:24

Referenced by KalFitAlg::fillTds_back().

◆ setErrorExcl() [2/2]

void RecMdcKalHelixSeg::setErrorExcl ( double *  error)
inline

Definition at line 148 of file RecMdcKalHelixSeg.h.

148 {
149 int k=0;
150 for(int i=0; i<5 ; i++) {
151 for(int j=0; j<=i; j++,k++) {
152 m_error_excl[i][j] = error[k];
153 m_error_excl[j][i] = error[k];
154 }
155 }
156 }

◆ setErrorIncl() [1/2]

void RecMdcKalHelixSeg::setErrorIncl ( const HepSymMatrix &  error)
inline

Definition at line 117 of file RecMdcKalHelixSeg.h.

117 {
118 m_error_incl = error;
119 }

Referenced by KalFitAlg::fillTds_back().

◆ setErrorIncl() [2/2]

void RecMdcKalHelixSeg::setErrorIncl ( double *  error)
inline

Definition at line 132 of file RecMdcKalHelixSeg.h.

132 {
133 int k=0;
134 for(int i=0; i<5 ; i++) {
135 for(int j=0; j<=i; j++,k++) {
136 m_error_incl[i][j] = error[k];
137 m_error_incl[j][i] = error[k];
138 }
139 }
140 }

◆ setFi0Excl()

void RecMdcKalHelixSeg::setFi0Excl ( double  fi0)
inline

Definition at line 106 of file RecMdcKalHelixSeg.h.

106{ m_helix_excl[1] = fi0; }

Referenced by KalFitAlg::fillTds_back().

◆ setFi0Incl()

void RecMdcKalHelixSeg::setFi0Incl ( double  fi0)
inline

Definition at line 100 of file RecMdcKalHelixSeg.h.

100{ m_helix_incl[1] = fi0; }

Referenced by KalFitAlg::fillTds_back().

◆ setFlagLR()

void RecMdcKalHelixSeg::setFlagLR ( int  flagLR)
inline

Definition at line 86 of file RecMdcKalHelixSeg.h.

86{ m_flagLR =flagLR;}

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setHelixExcl() [1/2]

void RecMdcKalHelixSeg::setHelixExcl ( const HepVector &  helix)
inline

Definition at line 120 of file RecMdcKalHelixSeg.h.

120 {
121 m_helix_excl = helix;
122 }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setHelixExcl() [2/2]

void RecMdcKalHelixSeg::setHelixExcl ( double *  helix)
inline

Definition at line 142 of file RecMdcKalHelixSeg.h.

142 {
143 for(int i=0; i<5; i++) {
144 m_helix_excl[i] = helix[i];
145 }
146 }

◆ setHelixIncl() [1/2]

void RecMdcKalHelixSeg::setHelixIncl ( const HepVector &  helix)
inline

Definition at line 114 of file RecMdcKalHelixSeg.h.

114 {
115 m_helix_incl = helix;
116 }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setHelixIncl() [2/2]

void RecMdcKalHelixSeg::setHelixIncl ( double *  helix)
inline

Definition at line 127 of file RecMdcKalHelixSeg.h.

127 {
128 for(int i=0; i<5; i++) {
129 m_helix_incl[i] = helix[i];
130 }
131 }

◆ setLayerId()

void RecMdcKalHelixSeg::setLayerId ( int  layerId)
inline

Definition at line 97 of file RecMdcKalHelixSeg.h.

97{ m_layerId = layerId;}

Referenced by KalFitAlg::fillTds_back().

◆ setMdcId()

void RecMdcKalHelixSeg::setMdcId ( Identifier  mdcid)
inline

Definition at line 85 of file RecMdcKalHelixSeg.h.

85{ m_mdcid = mdcid;}

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setResExcl()

void RecMdcKalHelixSeg::setResExcl ( double  res)
inline

Definition at line 112 of file RecMdcKalHelixSeg.h.

112{m_res_excl = res; }

Referenced by KalFitAlg::fillTds_back().

◆ setResIncl()

void RecMdcKalHelixSeg::setResIncl ( double  res)
inline

Definition at line 111 of file RecMdcKalHelixSeg.h.

111{m_res_incl = res; }

Referenced by KalFitAlg::fillTds_back().

◆ setTanlExcl()

void RecMdcKalHelixSeg::setTanlExcl ( double  tanl)
inline

Definition at line 109 of file RecMdcKalHelixSeg.h.

109{ m_helix_excl[4] = tanl; }

Referenced by KalFitAlg::fillTds_back().

◆ setTanlIncl()

void RecMdcKalHelixSeg::setTanlIncl ( double  tanl)
inline

Definition at line 103 of file RecMdcKalHelixSeg.h.

103{ m_helix_incl[4] = tanl; }

Referenced by KalFitAlg::fillTds_back().

◆ setTdc()

void RecMdcKalHelixSeg::setTdc ( double  tdc)
inline

Definition at line 87 of file RecMdcKalHelixSeg.h.

87{ m_tdc = tdc; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setTof()

void RecMdcKalHelixSeg::setTof ( double  tof)
inline

Definition at line 90 of file RecMdcKalHelixSeg.h.

90{ m_tof = tof; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setTrackId()

void RecMdcKalHelixSeg::setTrackId ( int  trackid)
inline

Definition at line 84 of file RecMdcKalHelixSeg.h.

84{ m_trackid = trackid ;}

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().

◆ setZhit()

void RecMdcKalHelixSeg::setZhit ( double  zhit)
inline

Definition at line 89 of file RecMdcKalHelixSeg.h.

89{ m_zhit = zhit; }

Referenced by KalFitAlg::fillTds_back(), and RecMdcKalHelixSegCnv::TObjectToDataObject().


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