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

#include <DstCgemKalTrack.h>

+ Inheritance diagram for DstCgemKalTrack:

Public Types

enum  PidType {
  null = -1 , electron = 0 , muon = 1 , pion = 2 ,
  kaon = 3 , proton = 4
}
 

Public Member Functions

virtual const CLID & clID () const
 
 DstCgemKalTrack ()
 
 DstCgemKalTrack (const DstCgemKalTrack &track)
 
DstCgemKalTrackoperator= (const DstCgemKalTrack &)
 
 ~DstCgemKalTrack ()
 
const int trackId () const
 
const double mass () const
 
const int charge () const
 
const double pxy () const
 
const double px () const
 
const double py () const
 
const double pz () const
 
const double theta () const
 
const double phi () const
 
const double x () const
 
const double y () const
 
const double z () const
 
const double x (const int i) const
 
const double y (const int i) const
 
const double z (const int i) const
 
const double r () const
 
const double p () const
 
const int stat () const
 
const double chi2 () const
 
const int ndof () const
 
const int firstLayer () const
 
const int lastLayer () const
 
const double dr (void) const
 
const double fi0 (void) const
 
const double kappa (void) const
 
const double dz (void) const
 
const double tanl (void) const
 
const HepVector & helix () const
 
const HepSymMatrix & err () const
 
const HepVector & fhelix () const
 
const HepSymMatrix & ferr () const
 
const HepPoint3D poca () const
 
const Hep3Vector p3 () const
 
const HepPoint3D x3 () const
 
const HepLorentzVector p4 () const
 
const HepLorentzVector p4 (double mass) const
 
void setTrackId (int trackId)
 
void setMass (double mass, int pid)
 
void setCharge (const int charge, const int pid)
 
void setPxy (const double pxy, const int pid)
 
void setPx (const double px, const int pid)
 
void setPy (const double py, const int pid)
 
void setPz (const double pz, const int pid)
 
void setP (const double p, const int pid)
 
void setTheta (const double theta, const int pid)
 
void setPhi (const double phi, const int pid)
 
void setX (const double x, const int pid)
 
void setY (const double y, const int pid)
 
void setZ (const double z, const int pid)
 
void setR (const double r, const int pid)
 
void setStat (int stat, int i, int pid)
 
void setChisq (double chisq, int i, int pid)
 
void setFirstLayer (int fL, int i, int pid)
 
void setLastLayer (int lL, int i, int pid)
 
void setNhits (int nhits, int pid)
 
void setNdf (int ndf, int i, int pid)
 
void setPoca (const HepPoint3D &poca, const int pid)
 
void setPoca (double *poca, const int pid)
 
void setZHelix (const HepVector &helix, const int pid)
 
void setZError (const HepSymMatrix &error, const int pid)
 
void setZHelix (double *helix, const int pid)
 
void setZError (double *error, const int pid)
 
void setFHelix (const HepVector &fhelix, const int pid)
 
void setFError (const HepSymMatrix &ferror, const int pid)
 
void setFHelix (double *fhelix, const int pid)
 
void setFError (double *ferror, const int pid)
 
const int getTrackId () const
 
const int getCharge (const int pid) const
 
const int getStat (const int pid) const
 
const double getChisq (const int pid) const
 
const int getNdf (const int pid) const
 
const int getFirstLayer (const int pid) const
 
const int getLastLayer (const int pid) const
 
const HepPoint3DgetPoca (const int pid) const
 
const HepVector & getZHelix (const int pid) const
 
const HepSymMatrix & getZError (const int pid) const
 
const HepVector & getFHelix (const int pid) const
 
const HepSymMatrix & getFError (const int pid) const
 

Static Public Member Functions

static const CLID & classID ()
 
static void setPidType (PidType pidType)
 
static PidType getPidType ()
 

Protected Attributes

int m_trackId
 
int m_charge [5]
 
int m_stat [2][5]
 
int m_firstLayer [2][5]
 
int m_lastLayer [2][5]
 
double m_mass [5]
 
double m_chisq [2][5]
 
double m_pxy [5]
 
double m_px [5]
 
double m_py [5]
 
double m_pz [5]
 
double m_p [5]
 
double m_theta [5]
 
double m_phi [5]
 
double m_x [5]
 
double m_y [5]
 
double m_z [5]
 
double m_r [5]
 
int m_ndf [2][5]
 
int m_nhits [5]
 
std::vector< HepPoint3Dm_pocas
 
std::vector< HepVector > m_zhelixs
 
std::vector< HepSymMatrix > m_zerrors
 
std::vector< HepVector > m_fhelixs
 
std::vector< HepSymMatrix > m_ferrors
 

Static Protected Attributes

static PidType m_pidType
 

Detailed Description

Definition at line 33 of file DstCgemKalTrack.h.

Member Enumeration Documentation

◆ PidType

Enumerator
null 
electron 
muon 
pion 
kaon 
proton 

Definition at line 49 of file DstCgemKalTrack.h.

Constructor & Destructor Documentation

◆ DstCgemKalTrack() [1/2]

DstCgemKalTrack::DstCgemKalTrack ( )

Definition at line 12 of file DstCgemKalTrack.cxx.

13{
14 HepVector za(5,0);
15 HepSymMatrix zea(5,0);
16 HepPoint3D poca(0,0,0);
17 m_trackId = -1;
18 for(int pid=0; pid<5; pid++) {
19 m_zhelixs.push_back(za);
20 m_zerrors.push_back(zea);
21 m_fhelixs.push_back(za);
22 m_ferrors.push_back(zea);
23 m_pocas.push_back(poca);
24 m_mass[pid] = 1;
25 m_charge[pid] = 1;
26 m_stat[0][pid] = 0;
27 m_stat[1][pid] = 0;
28
29 m_ndf[0][pid] = 0;
30 m_ndf[1][pid] = 0;
31 m_firstLayer[0][pid] = 0;
32 m_firstLayer[1][pid] = 0;
33 m_lastLayer[0][pid] = 0;
34 m_lastLayer[1][pid] = 0;
35 m_pxy[pid] = 0;
36 m_px[pid] = 0;
37 m_py[pid] = 0;
38 m_pz[pid] = 0;
39 m_p[pid] = 0;
40 m_theta[pid] = 0;
41 m_phi[pid] = 0;
42 m_x[pid] = 0;
43 m_y[pid] = 0;
44 m_z[pid] = 0;
45 m_r[pid] = 0;
46 m_stat[0][pid] = 0;
47 m_stat[1][pid] = 0;
48 m_chisq[0][pid] = 0;
49 m_chisq[1][pid] = 0;
50 m_ndf[0][pid] = 0;
51 m_ndf[1][pid] = 0;
52
53 }
54}
std::vector< HepVector > m_zhelixs
int m_firstLayer[2][5]
int m_lastLayer[2][5]
double m_chisq[2][5]
std::vector< HepSymMatrix > m_ferrors
std::vector< HepVector > m_fhelixs
std::vector< HepSymMatrix > m_zerrors
const HepPoint3D poca() const
std::vector< HepPoint3D > m_pocas

◆ DstCgemKalTrack() [2/2]

DstCgemKalTrack::DstCgemKalTrack ( const DstCgemKalTrack track)

Definition at line 57 of file DstCgemKalTrack.cxx.

58 :m_trackId(other.m_trackId),
59 m_pocas(other.m_pocas),
60 m_zhelixs(other.m_zhelixs),
61 m_zerrors(other.m_zerrors),
62 m_fhelixs(other.m_fhelixs),
63 m_ferrors(other.m_ferrors)
64{
65 for(int i=0;i<5;i++){
66 m_charge[i] = other.m_charge[i];
67 m_stat[0][i] = other.m_stat[0][i];
68 m_stat[1][i] = other.m_stat[1][i];
69 m_firstLayer[0][i] = other.m_firstLayer[0][i];
70 m_firstLayer[1][i] = other.m_firstLayer[1][i];
71 m_lastLayer[0][i] = other.m_lastLayer[0][i];
72 m_lastLayer[1][i] = other.m_lastLayer[1][i];
73 m_mass[i] = other.m_mass[i];
74
75 m_pxy[i] = other.m_pxy[i];
76 m_px[i] = other.m_px[i];
77 m_py[i] = other.m_py[i];
78 m_pz[i] = other.m_pz[i];
79 m_p[i] = other.m_p[i];
80 m_theta[i] = other.m_theta[i];
81 m_phi[i] = other.m_phi[i];
82 m_x[i] = other.m_x[i];
83 m_y[i] = other.m_y[i];
84 m_z[i] = other.m_z[i];
85 m_r[i] = other.m_r[i];
86 m_chisq[0][i] = other.m_chisq[0][i];
87 m_chisq[1][i] = other.m_chisq[1][i];
88 m_ndf[0][i] = other.m_ndf[0][i];
89 m_ndf[1][i] = other.m_ndf[1][i];
90 m_nhits[i] = other.m_nhits[i];
91 }
92}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~DstCgemKalTrack()

DstCgemKalTrack::~DstCgemKalTrack ( )

Definition at line 134 of file DstCgemKalTrack.cxx.

134 {
135
136 }

Member Function Documentation

◆ charge()

const int DstCgemKalTrack::charge ( ) const
inline

Definition at line 65 of file DstCgemKalTrack.h.

65{ return m_charge[m_pidType];}
static PidType m_pidType

Referenced by setCharge().

◆ chi2()

const double DstCgemKalTrack::chi2 ( ) const
inline

Definition at line 84 of file DstCgemKalTrack.h.

84{return m_chisq[0][m_pidType];}

◆ classID()

static const CLID & DstCgemKalTrack::classID ( )
inlinestatic

Definition at line 40 of file DstCgemKalTrack.h.

40 {
42 }
const CLID & CLID_DstCgemKalTrack
Definition: EventModel.cxx:314

Referenced by clID().

◆ clID()

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

Reimplemented in RecCgemKalTrack.

Definition at line 36 of file DstCgemKalTrack.h.

36 {
38 }
static const CLID & classID()

◆ dr()

const double DstCgemKalTrack::dr ( void  ) const
inline

Definition at line 89 of file DstCgemKalTrack.h.

89{ return m_zhelixs[m_pidType][0]; }

◆ dz()

const double DstCgemKalTrack::dz ( void  ) const
inline

Definition at line 92 of file DstCgemKalTrack.h.

92{ return m_zhelixs[m_pidType][3]; }

◆ err()

const HepSymMatrix & DstCgemKalTrack::err ( ) const
inline

Definition at line 96 of file DstCgemKalTrack.h.

96{ return m_zerrors[m_pidType]; }

◆ ferr()

const HepSymMatrix & DstCgemKalTrack::ferr ( ) const
inline

Definition at line 98 of file DstCgemKalTrack.h.

98{ return m_ferrors[m_pidType]; }

◆ fhelix()

const HepVector & DstCgemKalTrack::fhelix ( ) const
inline

Definition at line 97 of file DstCgemKalTrack.h.

97{ return m_fhelixs[m_pidType]; }

Referenced by setFHelix().

◆ fi0()

const double DstCgemKalTrack::fi0 ( void  ) const
inline

Definition at line 90 of file DstCgemKalTrack.h.

90{ return m_zhelixs[m_pidType][1]; }

◆ firstLayer()

const int DstCgemKalTrack::firstLayer ( ) const
inline

Definition at line 86 of file DstCgemKalTrack.h.

86{return m_firstLayer[0][m_pidType];}

◆ getCharge()

const int DstCgemKalTrack::getCharge ( const int  pid) const
inline

Definition at line 187 of file DstCgemKalTrack.h.

187{ return m_charge[pid]; }

◆ getChisq()

const double DstCgemKalTrack::getChisq ( const int  pid) const
inline

Definition at line 189 of file DstCgemKalTrack.h.

189{ return m_chisq[0][pid]; }

◆ getFError()

const HepSymMatrix & DstCgemKalTrack::getFError ( const int  pid) const
inline

Definition at line 207 of file DstCgemKalTrack.h.

207 {
208 return m_ferrors[pid];
209 }

◆ getFHelix()

const HepVector & DstCgemKalTrack::getFHelix ( const int  pid) const
inline

Definition at line 204 of file DstCgemKalTrack.h.

204 {
205 return m_fhelixs[pid];
206 }

◆ getFirstLayer()

const int DstCgemKalTrack::getFirstLayer ( const int  pid) const
inline

Definition at line 191 of file DstCgemKalTrack.h.

191{ return m_firstLayer[0][pid];}

◆ getLastLayer()

const int DstCgemKalTrack::getLastLayer ( const int  pid) const
inline

Definition at line 192 of file DstCgemKalTrack.h.

192{ return m_lastLayer[0][pid]; }

◆ getNdf()

const int DstCgemKalTrack::getNdf ( const int  pid) const
inline

Definition at line 190 of file DstCgemKalTrack.h.

190{ return m_ndf[0][pid]; }

◆ getPidType()

static PidType DstCgemKalTrack::getPidType ( )
inlinestatic

Definition at line 60 of file DstCgemKalTrack.h.

60{return m_pidType; }

◆ getPoca()

const HepPoint3D & DstCgemKalTrack::getPoca ( const int  pid) const
inline

Definition at line 195 of file DstCgemKalTrack.h.

195 {
196 return m_pocas[pid];
197 }

◆ getStat()

const int DstCgemKalTrack::getStat ( const int  pid) const
inline

Definition at line 188 of file DstCgemKalTrack.h.

188{ return m_stat[0][pid]; }

◆ getTrackId()

const int DstCgemKalTrack::getTrackId ( void  ) const
inline

Definition at line 186 of file DstCgemKalTrack.h.

186{ return m_trackId; }

◆ getZError()

const HepSymMatrix & DstCgemKalTrack::getZError ( const int  pid) const
inline

Definition at line 201 of file DstCgemKalTrack.h.

201 {
202 return m_zerrors[pid];
203 }

◆ getZHelix()

const HepVector & DstCgemKalTrack::getZHelix ( const int  pid) const
inline

Definition at line 198 of file DstCgemKalTrack.h.

198 {
199 return m_zhelixs[pid];
200 }

◆ helix()

const HepVector & DstCgemKalTrack::helix ( ) const
inline

Definition at line 95 of file DstCgemKalTrack.h.

95{ return m_zhelixs[m_pidType]; }

Referenced by RecCgemKalTrack::setLHelix(), RecCgemKalTrack::setTHelix(), and setZHelix().

◆ kappa()

const double DstCgemKalTrack::kappa ( void  ) const
inline

Definition at line 91 of file DstCgemKalTrack.h.

91{ return m_zhelixs[m_pidType][2]; }

◆ lastLayer()

const int DstCgemKalTrack::lastLayer ( ) const
inline

Definition at line 87 of file DstCgemKalTrack.h.

87{return m_lastLayer[0][m_pidType];}

◆ mass()

const double DstCgemKalTrack::mass ( ) const
inline

Definition at line 64 of file DstCgemKalTrack.h.

64{ return m_mass[m_pidType]; }

Referenced by p4(), RecCgemKalTrack::setMass(), and setMass().

◆ ndof()

const int DstCgemKalTrack::ndof ( ) const
inline

Definition at line 85 of file DstCgemKalTrack.h.

85{return m_ndf[0][m_pidType];}

◆ operator=()

DstCgemKalTrack & DstCgemKalTrack::operator= ( const DstCgemKalTrack other)

Definition at line 94 of file DstCgemKalTrack.cxx.

94 {
95 if(&other != this){
96 m_trackId = other.m_trackId;
97 m_pocas = other.m_pocas;
98 m_zhelixs = other.m_zhelixs;
99 m_zerrors = other.m_zerrors;
100 m_fhelixs = other.m_fhelixs;
101 m_ferrors = other.m_ferrors;
102 for(int i=0;i<5;i++){
103 m_charge[i] = other.m_charge[i];
104 m_stat[0][i] = other.m_stat[0][i];
105 m_stat[1][i] = other.m_stat[1][i];
106 m_firstLayer[0][i] = other.m_firstLayer[0][i];
107 m_firstLayer[1][i] = other.m_firstLayer[1][i];
108 m_lastLayer[0][i] = other.m_lastLayer[0][i];
109 m_lastLayer[1][i] = other.m_lastLayer[1][i];
110 m_mass[i] = other.m_mass[i];
111 m_chisq[0][i] = other.m_chisq[0][i];
112 m_chisq[1][i] = other.m_chisq[1][i];
113 m_pxy[i] = other.m_pxy[i];
114 m_px[i] = other.m_px[i];
115 m_py[i] = other.m_py[i];
116 m_pz[i] = other.m_pz[i];
117 m_p[i] = other.m_p[i];
118 m_theta[i] = other.m_theta[i];
119 m_phi[i] = other.m_phi[i];
120 m_x[i] = other.m_x[i];
121 m_y[i] = other.m_y[i];
122 m_z[i] = other.m_z[i];
123 m_r[i] = other.m_r[i];
124 //m_chi2[i] = other.m_chi2[i];
125 m_ndf[0][i] = other.m_ndf[0][i];
126 m_ndf[1][i] = other.m_ndf[1][i];
127 m_nhits[i] = other.m_nhits[i];
128 }
129 }
130 return *this;
131}

Referenced by RecCgemKalTrack::operator=().

◆ p()

const double DstCgemKalTrack::p ( ) const
inline

Definition at line 82 of file DstCgemKalTrack.h.

82{return m_p[m_pidType];}

Referenced by p4(), and setP().

◆ p3()

const Hep3Vector DstCgemKalTrack::p3 ( ) const

Definition at line 150 of file DstCgemKalTrack.cxx.

150 {
151 const Hep3Vector p3( px(), py(), pz() );
152 return p3;
153}
const double px() const
const double pz() const
const double py() const
const Hep3Vector p3() const

Referenced by p3().

◆ p4() [1/2]

const HepLorentzVector DstCgemKalTrack::p4 ( ) const

Definition at line 139 of file DstCgemKalTrack.cxx.

139 {
140 const HepLorentzVector p_LV( px(), py(), pz(), sqrt(pow(mass(),2)+pow(p(),2)) );
141 return p_LV;
142}
const double p() const
const double mass() const

◆ p4() [2/2]

const HepLorentzVector DstCgemKalTrack::p4 ( double  mass) const

Definition at line 145 of file DstCgemKalTrack.cxx.

145 {
146 const HepLorentzVector p_LV( px(), py(), pz(), sqrt(pow(v_mass,2)+pow(p(),2)) );
147 return p_LV;
148}

◆ phi()

const double DstCgemKalTrack::phi ( ) const
inline

Definition at line 71 of file DstCgemKalTrack.h.

71{ return m_phi[m_pidType]; }

Referenced by setPhi().

◆ poca()

const HepPoint3D DstCgemKalTrack::poca ( ) const
inline

◆ px()

const double DstCgemKalTrack::px ( ) const
inline

Definition at line 67 of file DstCgemKalTrack.h.

67{ return m_px[m_pidType]; }

Referenced by p3(), p4(), and setPx().

◆ pxy()

const double DstCgemKalTrack::pxy ( ) const
inline

Definition at line 66 of file DstCgemKalTrack.h.

66{ return m_pxy[m_pidType]; }

Referenced by setPxy().

◆ py()

const double DstCgemKalTrack::py ( ) const
inline

Definition at line 68 of file DstCgemKalTrack.h.

68{ return m_py[m_pidType]; }

Referenced by p3(), p4(), and setPy().

◆ pz()

const double DstCgemKalTrack::pz ( ) const
inline

Definition at line 69 of file DstCgemKalTrack.h.

69{ return m_pz[m_pidType]; }

Referenced by p3(), p4(), and setPz().

◆ r()

const double DstCgemKalTrack::r ( ) const
inline

Definition at line 81 of file DstCgemKalTrack.h.

81{return m_r[m_pidType];}

Referenced by setR().

◆ setCharge()

void DstCgemKalTrack::setCharge ( const int  charge,
const int  pid 
)
inline

Definition at line 108 of file DstCgemKalTrack.h.

108{ m_charge[pid] = charge;}
const int charge() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setChisq()

void DstCgemKalTrack::setChisq ( double  chisq,
int  i,
int  pid 
)
inline

Definition at line 121 of file DstCgemKalTrack.h.

121{ m_chisq[i][pid] = chisq; }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setFError() [1/2]

void DstCgemKalTrack::setFError ( const HepSymMatrix &  ferror,
const int  pid 
)
inline

Definition at line 166 of file DstCgemKalTrack.h.

166 {
167 m_ferrors[pid] = ferror;
168 }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setFError() [2/2]

void DstCgemKalTrack::setFError ( double *  ferror,
const int  pid 
)
inline

Definition at line 175 of file DstCgemKalTrack.h.

175 {
176 int k=0;
177 HepSymMatrix mat(5);
178 for(int i=0; i<5 ; i++) {
179 for(int j=0; j<=i; j++,k++) {
180 mat[i][j] = ferror[k];
181 mat[j][i] = ferror[k];
182 }
183 }
184 m_ferrors[pid] = mat;
185 }

◆ setFHelix() [1/2]

void DstCgemKalTrack::setFHelix ( const HepVector &  fhelix,
const int  pid 
)
inline

Definition at line 162 of file DstCgemKalTrack.h.

162 {
163 m_fhelixs[pid] = fhelix;
164 }
const HepVector & fhelix() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setFHelix() [2/2]

void DstCgemKalTrack::setFHelix ( double *  fhelix,
const int  pid 
)
inline

Definition at line 169 of file DstCgemKalTrack.h.

169 {
170 for(int i=0; i<5; i++) {
171 m_fhelixs[pid][i] = fhelix[i];
172 }
173 }

◆ setFirstLayer()

void DstCgemKalTrack::setFirstLayer ( int  fL,
int  i,
int  pid 
)
inline

Definition at line 122 of file DstCgemKalTrack.h.

122{ m_firstLayer[i][pid] = fL; }

◆ setLastLayer()

void DstCgemKalTrack::setLastLayer ( int  lL,
int  i,
int  pid 
)
inline

Definition at line 123 of file DstCgemKalTrack.h.

123{ m_lastLayer[i][pid] = lL; }

◆ setMass()

void DstCgemKalTrack::setMass ( double  mass,
int  pid 
)
inline

Definition at line 107 of file DstCgemKalTrack.h.

107{ m_mass[pid] = mass; }

◆ setNdf()

void DstCgemKalTrack::setNdf ( int  ndf,
int  i,
int  pid 
)
inline

Definition at line 125 of file DstCgemKalTrack.h.

125{ m_ndf[i][pid] = ndf; }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setNhits()

void DstCgemKalTrack::setNhits ( int  nhits,
int  pid 
)
inline

Definition at line 124 of file DstCgemKalTrack.h.

124{ m_nhits[pid] = nhits; }

◆ setP()

void DstCgemKalTrack::setP ( const double  p,
const int  pid 
)
inline

Definition at line 113 of file DstCgemKalTrack.h.

113{ m_p[pid] = p; }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPhi()

void DstCgemKalTrack::setPhi ( const double  phi,
const int  pid 
)
inline

Definition at line 115 of file DstCgemKalTrack.h.

115{ m_phi[pid] = phi; }
const double phi() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPidType()

static void DstCgemKalTrack::setPidType ( PidType  pidType)
inlinestatic

Definition at line 59 of file DstCgemKalTrack.h.

59{m_pidType = pidType; }

◆ setPoca() [1/2]

void DstCgemKalTrack::setPoca ( const HepPoint3D poca,
const int  pid 
)
inline

Definition at line 127 of file DstCgemKalTrack.h.

127 {
128 m_pocas[pid] = poca;
129 }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPoca() [2/2]

void DstCgemKalTrack::setPoca ( double *  poca,
const int  pid 
)
inline

Definition at line 131 of file DstCgemKalTrack.h.

131 {
132 for(int i=0; i<3; i++){
133 m_pocas[pid][i] = poca[i];
134 }
135 }

◆ setPx()

void DstCgemKalTrack::setPx ( const double  px,
const int  pid 
)
inline

Definition at line 110 of file DstCgemKalTrack.h.

110{ m_px[pid] = px; }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPxy()

void DstCgemKalTrack::setPxy ( const double  pxy,
const int  pid 
)
inline

Definition at line 109 of file DstCgemKalTrack.h.

109{ m_pxy[pid] = pxy; }
const double pxy() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPy()

void DstCgemKalTrack::setPy ( const double  py,
const int  pid 
)
inline

Definition at line 111 of file DstCgemKalTrack.h.

111{ m_py[pid] = py; }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPz()

void DstCgemKalTrack::setPz ( const double  pz,
const int  pid 
)
inline

Definition at line 112 of file DstCgemKalTrack.h.

112{ m_pz[pid] = pz; }

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setR()

void DstCgemKalTrack::setR ( const double  r,
const int  pid 
)
inline

Definition at line 119 of file DstCgemKalTrack.h.

119{ m_r[pid] = r; }
const double r() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setStat()

void DstCgemKalTrack::setStat ( int  stat,
int  i,
int  pid 
)
inline

Definition at line 120 of file DstCgemKalTrack.h.

120{ m_stat[i][pid] = stat; }
const int stat() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setTheta()

void DstCgemKalTrack::setTheta ( const double  theta,
const int  pid 
)
inline

Definition at line 114 of file DstCgemKalTrack.h.

114{ m_theta[pid] = theta; }
const double theta() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setTrackId()

void DstCgemKalTrack::setTrackId ( int  trackId)
inline

◆ setX()

void DstCgemKalTrack::setX ( const double  x,
const int  pid 
)
inline

Definition at line 116 of file DstCgemKalTrack.h.

116{ m_x[pid] = x; }
const double x() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setY()

void DstCgemKalTrack::setY ( const double  y,
const int  pid 
)
inline

Definition at line 117 of file DstCgemKalTrack.h.

117{ m_y[pid] = y; }
const double y() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setZ()

void DstCgemKalTrack::setZ ( const double  z,
const int  pid 
)
inline

Definition at line 118 of file DstCgemKalTrack.h.

118{ m_z[pid] = z; }
const double z() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setZError() [1/2]

void DstCgemKalTrack::setZError ( const HepSymMatrix &  error,
const int  pid 
)
inline

Definition at line 141 of file DstCgemKalTrack.h.

141 {
142 m_zerrors[pid] = error;
143 }
@ error
Definition: Core.h:24

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setZError() [2/2]

void DstCgemKalTrack::setZError ( double *  error,
const int  pid 
)
inline

Definition at line 150 of file DstCgemKalTrack.h.

150 {
151 int k=0;
152 HepSymMatrix mat(5);
153 for(int i=0; i<5 ; i++) {
154 for(int j=0; j<=i; j++,k++) {
155 mat[i][j] = error[k];
156 mat[j][i] = error[k];
157 }
158 }
159 m_zerrors[pid] = mat;
160 }

◆ setZHelix() [1/2]

void DstCgemKalTrack::setZHelix ( const HepVector &  helix,
const int  pid 
)
inline

Definition at line 137 of file DstCgemKalTrack.h.

137 {
138 m_zhelixs[pid] = helix;
139 }
const HepVector & helix() const

Referenced by CgemKalTrackCnv::TObjectToDataObject(), and RecCgemKalTrackCnv::TObjectToDataObject().

◆ setZHelix() [2/2]

void DstCgemKalTrack::setZHelix ( double *  helix,
const int  pid 
)
inline

Definition at line 144 of file DstCgemKalTrack.h.

144 {
145 for(int i=0; i<5; i++) {
146 m_zhelixs[pid][i] = helix[i];
147 }
148 }

◆ stat()

const int DstCgemKalTrack::stat ( ) const
inline

Definition at line 83 of file DstCgemKalTrack.h.

83{return m_stat[0][m_pidType];}

Referenced by setStat().

◆ tanl()

const double DstCgemKalTrack::tanl ( void  ) const
inline

Definition at line 93 of file DstCgemKalTrack.h.

93{ return m_zhelixs[m_pidType][4]; }

◆ theta()

const double DstCgemKalTrack::theta ( ) const
inline

Definition at line 70 of file DstCgemKalTrack.h.

70{ return m_theta[m_pidType]; }

Referenced by setTheta().

◆ trackId()

const int DstCgemKalTrack::trackId ( ) const
inline

Definition at line 63 of file DstCgemKalTrack.h.

63{ return m_trackId; }

Referenced by setTrackId().

◆ x() [1/2]

const double DstCgemKalTrack::x ( ) const
inline

Definition at line 73 of file DstCgemKalTrack.h.

73{ return m_x[m_pidType]; }

Referenced by setX().

◆ x() [2/2]

const double DstCgemKalTrack::x ( const int  i) const
inline

Definition at line 77 of file DstCgemKalTrack.h.

77{return m_x[i];}

◆ x3()

const HepPoint3D DstCgemKalTrack::x3 ( ) const

Definition at line 155 of file DstCgemKalTrack.cxx.

155 {
157}
HepGeom::Point3D< double > HepPoint3D

◆ y() [1/2]

const double DstCgemKalTrack::y ( ) const
inline

Definition at line 74 of file DstCgemKalTrack.h.

74{ return m_y[m_pidType]; }

Referenced by setY().

◆ y() [2/2]

const double DstCgemKalTrack::y ( const int  i) const
inline

Definition at line 78 of file DstCgemKalTrack.h.

78{return m_y[i];}

◆ z() [1/2]

const double DstCgemKalTrack::z ( ) const
inline

Definition at line 75 of file DstCgemKalTrack.h.

75{ return m_z[m_pidType]; }

Referenced by setZ().

◆ z() [2/2]

const double DstCgemKalTrack::z ( const int  i) const
inline

Definition at line 79 of file DstCgemKalTrack.h.

79{return m_z[i];}

Member Data Documentation

◆ m_charge

int DstCgemKalTrack::m_charge[5]
protected

Definition at line 215 of file DstCgemKalTrack.h.

Referenced by charge(), DstCgemKalTrack(), getCharge(), operator=(), and setCharge().

◆ m_chisq

double DstCgemKalTrack::m_chisq[2][5]
protected

◆ m_ferrors

◆ m_fhelixs

◆ m_firstLayer

int DstCgemKalTrack::m_firstLayer[2][5]
protected

◆ m_lastLayer

int DstCgemKalTrack::m_lastLayer[2][5]
protected

◆ m_mass

double DstCgemKalTrack::m_mass[5]
protected

Definition at line 219 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), mass(), operator=(), and setMass().

◆ m_ndf

int DstCgemKalTrack::m_ndf[2][5]
protected

◆ m_nhits

int DstCgemKalTrack::m_nhits[5]
protected

Definition at line 234 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), and setNhits().

◆ m_p

double DstCgemKalTrack::m_p[5]
protected

Definition at line 225 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), p(), and setP().

◆ m_phi

double DstCgemKalTrack::m_phi[5]
protected

Definition at line 227 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), phi(), and setPhi().

◆ m_pidType

PidType DstCgemKalTrack::m_pidType
staticprotected

◆ m_pocas

◆ m_px

double DstCgemKalTrack::m_px[5]
protected

Definition at line 222 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), px(), and setPx().

◆ m_pxy

double DstCgemKalTrack::m_pxy[5]
protected

Definition at line 221 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), pxy(), and setPxy().

◆ m_py

double DstCgemKalTrack::m_py[5]
protected

Definition at line 223 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), py(), and setPy().

◆ m_pz

double DstCgemKalTrack::m_pz[5]
protected

Definition at line 224 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), pz(), and setPz().

◆ m_r

double DstCgemKalTrack::m_r[5]
protected

Definition at line 231 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), r(), and setR().

◆ m_stat

int DstCgemKalTrack::m_stat[2][5]
protected

◆ m_theta

double DstCgemKalTrack::m_theta[5]
protected

Definition at line 226 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), setTheta(), and theta().

◆ m_trackId

int DstCgemKalTrack::m_trackId
protected

◆ m_x

double DstCgemKalTrack::m_x[5]
protected

Definition at line 228 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), setX(), x(), and x3().

◆ m_y

double DstCgemKalTrack::m_y[5]
protected

Definition at line 229 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), setY(), x3(), and y().

◆ m_z

double DstCgemKalTrack::m_z[5]
protected

Definition at line 230 of file DstCgemKalTrack.h.

Referenced by DstCgemKalTrack(), operator=(), setZ(), x3(), and z().

◆ m_zerrors

◆ m_zhelixs


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