BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
DstMdcKalTrack Class Reference

#include <DstMdcKalTrack.h>

+ Inheritance diagram for DstMdcKalTrack:

Public Types

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

Public Member Functions

virtual const CLID & clID () const
 
 DstMdcKalTrack ()
 
 DstMdcKalTrack (const DstMdcKalTrack &track)
 
DstMdcKalTrackoperator= (const DstMdcKalTrack &)
 
 ~DstMdcKalTrack ()
 
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 nster () const
 
const int firstLayer () const
 
const int lastLayer () const
 
const int nlayer () 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 setNlayer (int nlayer, int pid)
 
void setNster (int ns, int i, 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 int getNster (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 int getNlayer (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_nster [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]
 
int m_nlayer [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 DstMdcKalTrack.h.

Member Enumeration Documentation

◆ PidType

Enumerator
null 
electron 
muon 
pion 
kaon 
proton 

Definition at line 49 of file DstMdcKalTrack.h.

50 {
51 null = -1,
52 electron = 0,
53 muon = 1,
54 pion = 2,
55 kaon = 3,
56 proton = 4
57 };

Constructor & Destructor Documentation

◆ DstMdcKalTrack() [1/2]

DstMdcKalTrack::DstMdcKalTrack ( )

Definition at line 12 of file DstMdcKalTrack.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_nster[0][pid] = 0;
32 m_nster[1][pid] = 0;
33 m_nlayer[pid] = 0;
34 m_firstLayer[0][pid] = 0;
35 m_firstLayer[1][pid] = 0;
36 m_lastLayer[0][pid] = 0;
37 m_lastLayer[1][pid] = 0;
38 m_pxy[pid] = 0;
39 m_px[pid] = 0;
40 m_py[pid] = 0;
41 m_pz[pid] = 0;
42 m_p[pid] = 0;
43 m_theta[pid] = 0;
44 m_phi[pid] = 0;
45 m_x[pid] = 0;
46 m_y[pid] = 0;
47 m_z[pid] = 0;
48 m_r[pid] = 0;
49 m_stat[0][pid] = 0;
50 m_stat[1][pid] = 0;
51 m_chisq[0][pid] = 0;
52 m_chisq[1][pid] = 0;
53 m_ndf[0][pid] = 0;
54 m_ndf[1][pid] = 0;
55
56 }
57}
std::vector< HepSymMatrix > m_ferrors
int m_lastLayer[2][5]
int m_firstLayer[2][5]
double m_chisq[2][5]
int m_stat[2][5]
std::vector< HepSymMatrix > m_zerrors
int m_nster[2][5]
const HepPoint3D poca() const
double m_theta[5]
double m_mass[5]
std::vector< HepPoint3D > m_pocas
std::vector< HepVector > m_fhelixs
std::vector< HepVector > m_zhelixs

◆ DstMdcKalTrack() [2/2]

DstMdcKalTrack::DstMdcKalTrack ( const DstMdcKalTrack track)

Definition at line 60 of file DstMdcKalTrack.cxx.

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

◆ ~DstMdcKalTrack()

DstMdcKalTrack::~DstMdcKalTrack ( )

Definition at line 143 of file DstMdcKalTrack.cxx.

143 {
144
145 }

Member Function Documentation

◆ charge()

◆ chi2()

const double DstMdcKalTrack::chi2 ( ) const
inline

Definition at line 84 of file DstMdcKalTrack.h.

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

◆ classID()

static const CLID & DstMdcKalTrack::classID ( )
inlinestatic

Definition at line 40 of file DstMdcKalTrack.h.

40 {
42 }
const CLID & CLID_DstMdcKalTrack
Definition: EventModel.cxx:255

Referenced by clID().

◆ clID()

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

Reimplemented in RecMdcKalTrack.

Definition at line 36 of file DstMdcKalTrack.h.

36 {
38 }
static const CLID & classID()

◆ dr()

const double DstMdcKalTrack::dr ( void  ) const
inline

Definition at line 91 of file DstMdcKalTrack.h.

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

Referenced by DQASelBhabha::execute().

◆ dz()

const double DstMdcKalTrack::dz ( void  ) const
inline

Definition at line 94 of file DstMdcKalTrack.h.

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

Referenced by DQASelBhabha::execute().

◆ err()

◆ ferr()

const HepSymMatrix & DstMdcKalTrack::ferr ( ) const
inline

Definition at line 100 of file DstMdcKalTrack.h.

100{ return m_ferrors[m_pidType]; }

◆ fhelix()

const HepVector & DstMdcKalTrack::fhelix ( ) const
inline

Definition at line 99 of file DstMdcKalTrack.h.

99{ return m_fhelixs[m_pidType]; }

Referenced by setFHelix().

◆ fi0()

const double DstMdcKalTrack::fi0 ( void  ) const
inline

Definition at line 92 of file DstMdcKalTrack.h.

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

Referenced by DQASelBhabha::execute(), P(), Phi(), Px(), Py(), and Pz().

◆ firstLayer()

const int DstMdcKalTrack::firstLayer ( ) const
inline

Definition at line 87 of file DstMdcKalTrack.h.

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

◆ getCharge()

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

Definition at line 191 of file DstMdcKalTrack.h.

191{ return m_charge[pid]; }

◆ getChisq()

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

Definition at line 194 of file DstMdcKalTrack.h.

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

◆ getFError()

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

Definition at line 213 of file DstMdcKalTrack.h.

213 {
214 return m_ferrors[pid];
215 }

Referenced by MdcDedxRecon::execute(), DedxCalibEvent::genNtuple(), and MdcDedxRecon::kaltrackrec().

◆ getFHelix()

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

◆ getFirstLayer()

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

Definition at line 196 of file DstMdcKalTrack.h.

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

◆ getLastLayer()

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

Definition at line 197 of file DstMdcKalTrack.h.

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

◆ getNdf()

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

Definition at line 195 of file DstMdcKalTrack.h.

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

◆ getNlayer()

const int DstMdcKalTrack::getNlayer ( const int  pid) const
inline

Definition at line 198 of file DstMdcKalTrack.h.

198{ return m_nlayer[pid]; }

◆ getNster()

const int DstMdcKalTrack::getNster ( const int  pid) const
inline

Definition at line 193 of file DstMdcKalTrack.h.

193{ return m_nster[0][pid]; }

◆ getPidType()

static PidType DstMdcKalTrack::getPidType ( )
inlinestatic

Definition at line 60 of file DstMdcKalTrack.h.

60{return m_pidType; }

◆ getPoca()

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

Definition at line 201 of file DstMdcKalTrack.h.

201 {
202 return m_pocas[pid];
203 }

Referenced by DstEventMaker::execute().

◆ getStat()

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

Definition at line 192 of file DstMdcKalTrack.h.

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

Referenced by MdcDedxTrk::set_ExTrk_Kal().

◆ getTrackId()

const int DstMdcKalTrack::getTrackId ( void  ) const
inline

Definition at line 190 of file DstMdcKalTrack.h.

190{ return m_trackId; }

◆ getZError()

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

Definition at line 207 of file DstMdcKalTrack.h.

207 {
208 return m_zerrors[pid];
209 }

Referenced by DstEventMaker::execute().

◆ getZHelix()

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

Definition at line 204 of file DstMdcKalTrack.h.

204 {
205 return m_zhelixs[pid];
206 }

Referenced by DstEventMaker::execute(), and DedxCalibEvent::genNtuple().

◆ helix()

◆ kappa()

const double DstMdcKalTrack::kappa ( void  ) const
inline

Definition at line 93 of file DstMdcKalTrack.h.

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

Referenced by TofCheckData::Fill(), P(), Phi(), Px(), Py(), and Pz().

◆ lastLayer()

const int DstMdcKalTrack::lastLayer ( ) const
inline

Definition at line 88 of file DstMdcKalTrack.h.

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

◆ mass()

const double DstMdcKalTrack::mass ( ) const
inline

◆ ndof()

const int DstMdcKalTrack::ndof ( ) const
inline

Definition at line 85 of file DstMdcKalTrack.h.

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

◆ nlayer()

const int DstMdcKalTrack::nlayer ( ) const
inline

Definition at line 89 of file DstMdcKalTrack.h.

89{return m_nlayer[m_pidType];}

Referenced by setNlayer().

◆ nster()

const int DstMdcKalTrack::nster ( ) const
inline

◆ operator=()

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

Definition at line 100 of file DstMdcKalTrack.cxx.

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

Referenced by RecMdcKalTrack::operator=().

◆ p()

◆ p3()

const Hep3Vector DstMdcKalTrack::p3 ( ) const

Definition at line 159 of file DstMdcKalTrack.cxx.

159 {
160 const Hep3Vector p3( px(), py(), pz() );
161 return p3;
162}
const double px() const
const double pz() const
const Hep3Vector p3() const
const double py() const

Referenced by p3().

◆ p4() [1/2]

const HepLorentzVector DstMdcKalTrack::p4 ( ) const

Definition at line 148 of file DstMdcKalTrack.cxx.

148 {
149 const HepLorentzVector p_LV( px(), py(), pz(), sqrt(pow(mass(),2)+pow(p(),2)) );
150 return p_LV;
151}
const double p() const
const double mass() const

Referenced by DQAKsInfo::calculate(), PipiJpsi::execute(), DQADtag::execute(), and TofCorrPID::particleIDCalculation().

◆ p4() [2/2]

const HepLorentzVector DstMdcKalTrack::p4 ( double  mass) const

Definition at line 154 of file DstMdcKalTrack.cxx.

154 {
155 const HepLorentzVector p_LV( px(), py(), pz(), sqrt(pow(v_mass,2)+pow(p(),2)) );
156 return p_LV;
157}

◆ phi()

const double DstMdcKalTrack::phi ( ) const
inline

Definition at line 71 of file DstMdcKalTrack.h.

71{ return m_phi[m_pidType]; }

Referenced by setPhi().

◆ poca()

const HepPoint3D DstMdcKalTrack::poca ( ) const
inline

◆ px()

◆ pxy()

const double DstMdcKalTrack::pxy ( ) const
inline

Definition at line 66 of file DstMdcKalTrack.h.

66{ return m_pxy[m_pidType]; }

Referenced by Gam4pikp::execute(), BFieldCorr::execute(), EmcPID::particleIDCalculation(), and setPxy().

◆ py()

◆ pz()

◆ r()

const double DstMdcKalTrack::r ( ) const
inline

Definition at line 81 of file DstMdcKalTrack.h.

81{return m_r[m_pidType];}

Referenced by BbEmc::execute(), PipiJpsi::execute(), CalibEventSelect::execute(), and setR().

◆ setCharge()

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

◆ setChisq()

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

◆ setFError() [1/2]

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

◆ setFError() [2/2]

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

Definition at line 179 of file DstMdcKalTrack.h.

179 {
180 int k=0;
181 HepSymMatrix mat(5);
182 for(int i=0; i<5 ; i++) {
183 for(int j=0; j<=i; j++,k++) {
184 mat[i][j] = ferror[k];
185 mat[j][i] = ferror[k];
186 }
187 }
188 m_ferrors[pid] = mat;
189 }

◆ setFHelix() [1/2]

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

◆ setFHelix() [2/2]

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

Definition at line 173 of file DstMdcKalTrack.h.

173 {
174 for(int i=0; i<5; i++) {
175 m_fhelixs[pid][i] = fhelix[i];
176 }
177 }

◆ setFirstLayer()

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

Definition at line 126 of file DstMdcKalTrack.h.

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

◆ setLastLayer()

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

Definition at line 127 of file DstMdcKalTrack.h.

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

◆ setMass()

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

Definition at line 109 of file DstMdcKalTrack.h.

109{ m_mass[pid] = mass; }

◆ setNdf()

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

◆ setNhits()

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

Definition at line 128 of file DstMdcKalTrack.h.

128{ m_nhits[pid] = nhits; }
int nhits

◆ setNlayer()

void DstMdcKalTrack::setNlayer ( int  nlayer,
int  pid 
)
inline

◆ setNster()

void DstMdcKalTrack::setNster ( int  ns,
int  i,
int  pid 
)
inline

Definition at line 123 of file DstMdcKalTrack.h.

123{ m_nster[i][pid] = ns; }
#define ns(x)
Definition: xmltok.c:1504

◆ setP()

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

◆ setPhi()

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

Definition at line 117 of file DstMdcKalTrack.h.

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

Referenced by MdcKalTrackCnv::TObjectToDataObject(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setPidType()

static void DstMdcKalTrack::setPidType ( PidType  pidType)
inlinestatic

Definition at line 59 of file DstMdcKalTrack.h.

59{m_pidType = pidType; }

Referenced by DSemilepAlg::calU(), CDChargedVisible< H >::defaultKinematicData(), Gam4pikp::execute(), Ppjrhopi::execute(), PipiJpsi::execute(), Rhopi::execute(), DQA_Dedx::execute(), DQA_MDC::execute(), DQADtag::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), JsiLL::execute(), CalibEventSelect::execute(), BeamParams::execute(), KalFitAlg::execute(), PrimaryVertex::execute(), KShortReconstruction::execute(), LambdaReconstruction::execute(), BFieldCorr::execute(), TofCheckData::Fill(), KalFitAlg::fillTds_ip(), m_trkInfo::getTrk(), DTagTool::isGoodTrack(), DSemilepAlg::isGoodTrack(), DTagTool::isGoodTrack_loose(), K0kk::MTotal(), K0kpi::MTotal(), K0pi0::MTotal(), K0pipi::MTotal(), K0pipipi0::MTotal(), K3pi::MTotal(), K3pipi0::MTotal(), Kk::MTotal(), Kkpi0::MTotal(), Kkpipi::MTotal(), Kpi::MTotal(), Kpipi0::MTotal(), Kpipi0pi0::MTotal(), Pipi::MTotal(), Pipipi0::MTotal(), LocalKaonSelector::operator()(), LocalPionSelector::operator()(), LocalKsSelector::operator()(), LocalLambdaSelector::operator()(), LocalProtonSelector::operator()(), EmcPID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), SimplePIDSvc::preparePID(), utility::SecondaryVFit_Lambda(), MdcAliRecTrk::setKalTrk(), and MdcCalRecTrk::setKalTrk().

◆ setPoca() [1/2]

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

◆ setPoca() [2/2]

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

Definition at line 135 of file DstMdcKalTrack.h.

135 {
136 for(int i=0; i<3; i++){
137 m_pocas[pid][i] = poca[i];
138 }
139 }

◆ setPx()

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

◆ setPxy()

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

Definition at line 111 of file DstMdcKalTrack.h.

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

Referenced by BFieldCorr::execute(), MdcKalTrackCnv::TObjectToDataObject(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setPy()

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

◆ setPz()

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

◆ setR()

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

Definition at line 121 of file DstMdcKalTrack.h.

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

Referenced by MdcKalTrackCnv::TObjectToDataObject(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setStat()

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

◆ setTheta()

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

◆ setTrackId()

void DstMdcKalTrack::setTrackId ( int  trackId)
inline

◆ setX()

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

Definition at line 118 of file DstMdcKalTrack.h.

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

Referenced by KalFitAlg::fillTds_ip(), MdcKalTrackCnv::TObjectToDataObject(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setY()

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

Definition at line 119 of file DstMdcKalTrack.h.

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

Referenced by KalFitAlg::fillTds_ip(), MdcKalTrackCnv::TObjectToDataObject(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setZ()

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

Definition at line 120 of file DstMdcKalTrack.h.

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

Referenced by KalFitAlg::fillTds_ip(), MdcKalTrackCnv::TObjectToDataObject(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setZError() [1/2]

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

◆ setZError() [2/2]

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

Definition at line 154 of file DstMdcKalTrack.h.

154 {
155 int k=0;
156 HepSymMatrix mat(5);
157 for(int i=0; i<5 ; i++) {
158 for(int j=0; j<=i; j++,k++) {
159 mat[i][j] = error[k];
160 mat[j][i] = error[k];
161 }
162 }
163 m_zerrors[pid] = mat;
164 }

◆ setZHelix() [1/2]

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

◆ setZHelix() [2/2]

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

Definition at line 148 of file DstMdcKalTrack.h.

148 {
149 for(int i=0; i<5; i++) {
150 m_zhelixs[pid][i] = helix[i];
151 }
152 }

◆ stat()

const int DstMdcKalTrack::stat ( ) const
inline

Definition at line 83 of file DstMdcKalTrack.h.

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

Referenced by setStat().

◆ tanl()

const double DstMdcKalTrack::tanl ( void  ) const
inline

Definition at line 95 of file DstMdcKalTrack.h.

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

Referenced by TofCheckData::Fill(), P(), Px(), Py(), and Pz().

◆ theta()

◆ trackId()

const int DstMdcKalTrack::trackId ( ) const
inline

Definition at line 63 of file DstMdcKalTrack.h.

63{ return m_trackId; }

Referenced by MdcDedxTrk::set_ExTrk_Kal(), and setTrackId().

◆ x() [1/2]

◆ x() [2/2]

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

Definition at line 77 of file DstMdcKalTrack.h.

77{return m_x[i];}

◆ x3()

const HepPoint3D DstMdcKalTrack::x3 ( ) const

Definition at line 164 of file DstMdcKalTrack.cxx.

164 {
166}
HepGeom::Point3D< double > HepPoint3D

◆ y() [1/2]

◆ y() [2/2]

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

Definition at line 78 of file DstMdcKalTrack.h.

78{return m_y[i];}

◆ z() [1/2]

◆ z() [2/2]

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

Definition at line 79 of file DstMdcKalTrack.h.

79{return m_z[i];}

Member Data Documentation

◆ m_charge

int DstMdcKalTrack::m_charge[5]
protected

Definition at line 221 of file DstMdcKalTrack.h.

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

◆ m_chisq

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

◆ m_ferrors

◆ m_fhelixs

◆ m_firstLayer

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

◆ m_lastLayer

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

◆ m_mass

double DstMdcKalTrack::m_mass[5]
protected

Definition at line 226 of file DstMdcKalTrack.h.

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

◆ m_ndf

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

◆ m_nhits

int DstMdcKalTrack::m_nhits[5]
protected

Definition at line 241 of file DstMdcKalTrack.h.

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

◆ m_nlayer

int DstMdcKalTrack::m_nlayer[5]
protected

Definition at line 242 of file DstMdcKalTrack.h.

Referenced by DstMdcKalTrack(), getNlayer(), nlayer(), operator=(), and setNlayer().

◆ m_nster

int DstMdcKalTrack::m_nster[2][5]
protected

◆ m_p

double DstMdcKalTrack::m_p[5]
protected

Definition at line 232 of file DstMdcKalTrack.h.

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

◆ m_phi

double DstMdcKalTrack::m_phi[5]
protected

Definition at line 234 of file DstMdcKalTrack.h.

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

◆ m_pidType

PidType DstMdcKalTrack::m_pidType
staticprotected

◆ m_pocas

◆ m_px

double DstMdcKalTrack::m_px[5]
protected

Definition at line 229 of file DstMdcKalTrack.h.

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

◆ m_pxy

double DstMdcKalTrack::m_pxy[5]
protected

Definition at line 228 of file DstMdcKalTrack.h.

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

◆ m_py

double DstMdcKalTrack::m_py[5]
protected

Definition at line 230 of file DstMdcKalTrack.h.

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

◆ m_pz

double DstMdcKalTrack::m_pz[5]
protected

Definition at line 231 of file DstMdcKalTrack.h.

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

◆ m_r

double DstMdcKalTrack::m_r[5]
protected

Definition at line 238 of file DstMdcKalTrack.h.

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

◆ m_stat

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

◆ m_theta

double DstMdcKalTrack::m_theta[5]
protected

Definition at line 233 of file DstMdcKalTrack.h.

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

◆ m_trackId

int DstMdcKalTrack::m_trackId
protected

◆ m_x

double DstMdcKalTrack::m_x[5]
protected

Definition at line 235 of file DstMdcKalTrack.h.

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

◆ m_y

double DstMdcKalTrack::m_y[5]
protected

Definition at line 236 of file DstMdcKalTrack.h.

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

◆ m_z

double DstMdcKalTrack::m_z[5]
protected

Definition at line 237 of file DstMdcKalTrack.h.

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

◆ m_zerrors

◆ m_zhelixs


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