BOSS 7.0.5
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 , null = -1 , electron = 0 ,
  muon = 1 , pion = 2 , kaon = 3 , proton = 4
}
 
enum  PidType {
  null = -1 , electron = 0 , muon = 1 , pion = 2 ,
  kaon = 3 , proton = 4 , 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
 
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 ()
 
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

Member Enumeration Documentation

◆ PidType [1/2]

◆ PidType [2/2]

Enumerator
null 
electron 
muon 
pion 
kaon 
proton 
null 
electron 
muon 
pion 
kaon 
proton 

Definition at line 49 of file InstallArea/include/DstEvent/DstEvent/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/4]

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}

◆ DstMdcKalTrack() [2/4]

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() [1/2]

DstMdcKalTrack::~DstMdcKalTrack ( )

Definition at line 143 of file DstMdcKalTrack.cxx.

143 {
144
145 }

◆ DstMdcKalTrack() [3/4]

DstMdcKalTrack::DstMdcKalTrack ( )

◆ DstMdcKalTrack() [4/4]

DstMdcKalTrack::DstMdcKalTrack ( const DstMdcKalTrack track)

◆ ~DstMdcKalTrack() [2/2]

DstMdcKalTrack::~DstMdcKalTrack ( )

Member Function Documentation

◆ charge() [1/2]

◆ charge() [2/2]

const int DstMdcKalTrack::charge ( ) const
inline

◆ chi2() [1/2]

const double DstMdcKalTrack::chi2 ( ) const
inline

◆ chi2() [2/2]

const double DstMdcKalTrack::chi2 ( ) const
inline

Definition at line 84 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ classID() [1/2]

static const CLID & DstMdcKalTrack::classID ( )
inlinestatic

Definition at line 40 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

Referenced by clID().

◆ classID() [2/2]

static const CLID & DstMdcKalTrack::classID ( )
inlinestatic

Definition at line 40 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

40 {
42 }

◆ clID() [1/2]

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

◆ clID() [2/2]

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

Reimplemented in RecMdcKalTrack, and RecMdcKalTrack.

Definition at line 36 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

36 {
38 }

◆ dr() [1/2]

const double DstMdcKalTrack::dr ( void  ) const
inline

◆ dr() [2/2]

const double DstMdcKalTrack::dr ( void  ) const
inline

Definition at line 91 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ dz() [1/2]

const double DstMdcKalTrack::dz ( void  ) const
inline

◆ dz() [2/2]

const double DstMdcKalTrack::dz ( void  ) const
inline

Definition at line 94 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ err() [1/2]

◆ err() [2/2]

const HepSymMatrix & DstMdcKalTrack::err ( ) const
inline

◆ ferr() [1/2]

const HepSymMatrix & DstMdcKalTrack::ferr ( ) const
inline

◆ ferr() [2/2]

const HepSymMatrix & DstMdcKalTrack::ferr ( ) const
inline

◆ fhelix() [1/2]

const HepVector & DstMdcKalTrack::fhelix ( ) const
inline

Definition at line 99 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

99{ return m_fhelixs[m_pidType]; }

Referenced by setFHelix().

◆ fhelix() [2/2]

const HepVector & DstMdcKalTrack::fhelix ( ) const
inline

◆ fi0() [1/2]

const double DstMdcKalTrack::fi0 ( void  ) const
inline

Definition at line 92 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

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

◆ fi0() [2/2]

const double DstMdcKalTrack::fi0 ( void  ) const
inline

Definition at line 92 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ firstLayer() [1/2]

const int DstMdcKalTrack::firstLayer ( ) const
inline

◆ firstLayer() [2/2]

const int DstMdcKalTrack::firstLayer ( ) const
inline

◆ getCharge() [1/2]

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

Definition at line 191 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

191{ return m_charge[pid]; }

◆ getCharge() [2/2]

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

Definition at line 191 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

191{ return m_charge[pid]; }

◆ getChisq() [1/2]

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

Definition at line 194 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ getChisq() [2/2]

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

Definition at line 194 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ getFError() [1/2]

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

◆ getFError() [2/2]

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

Definition at line 213 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

213 {
214 return m_ferrors[pid];
215 }

◆ getFHelix() [1/2]

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

◆ getFHelix() [2/2]

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

Definition at line 210 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

210 {
211 return m_fhelixs[pid];
212 }

◆ getFirstLayer() [1/2]

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

Definition at line 196 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ getFirstLayer() [2/2]

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

Definition at line 196 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ getLastLayer() [1/2]

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

Definition at line 197 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ getLastLayer() [2/2]

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

Definition at line 197 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ getNdf() [1/2]

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

Definition at line 195 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ getNdf() [2/2]

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

Definition at line 195 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ getNlayer() [1/2]

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

Definition at line 198 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

198{ return m_nlayer[pid]; }

◆ getNlayer() [2/2]

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

Definition at line 198 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

198{ return m_nlayer[pid]; }

◆ getNster() [1/2]

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

Definition at line 193 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ getNster() [2/2]

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

Definition at line 193 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ getPidType() [1/2]

static PidType DstMdcKalTrack::getPidType ( )
inlinestatic

◆ getPidType() [2/2]

static PidType DstMdcKalTrack::getPidType ( )
inlinestatic

Definition at line 60 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

60{return m_pidType; }

◆ getPoca() [1/2]

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

Definition at line 201 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

201 {
202 return m_pocas[pid];
203 }

Referenced by DstEventMaker::execute().

◆ getPoca() [2/2]

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

Definition at line 201 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

201 {
202 return m_pocas[pid];
203 }

◆ getStat() [1/2]

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

Definition at line 192 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

Referenced by MdcDedxTrk::set_ExTrk_Kal().

◆ getStat() [2/2]

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

Definition at line 192 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ getTrackId() [1/2]

const int DstMdcKalTrack::getTrackId ( void  ) const
inline

Definition at line 190 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

190{ return m_trackId; }

◆ getTrackId() [2/2]

const int DstMdcKalTrack::getTrackId ( void  ) const
inline

Definition at line 190 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

190{ return m_trackId; }

◆ getZError() [1/2]

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

Definition at line 207 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

207 {
208 return m_zerrors[pid];
209 }

Referenced by DstEventMaker::execute().

◆ getZError() [2/2]

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

Definition at line 207 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

207 {
208 return m_zerrors[pid];
209 }

◆ getZHelix() [1/2]

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

Definition at line 204 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

204 {
205 return m_zhelixs[pid];
206 }

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

◆ getZHelix() [2/2]

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

Definition at line 204 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

204 {
205 return m_zhelixs[pid];
206 }

◆ helix() [1/2]

◆ helix() [2/2]

const HepVector & DstMdcKalTrack::helix ( ) const
inline

◆ kappa() [1/2]

const double DstMdcKalTrack::kappa ( void  ) const
inline

Definition at line 93 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

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

◆ kappa() [2/2]

const double DstMdcKalTrack::kappa ( void  ) const
inline

Definition at line 93 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ lastLayer() [1/2]

const int DstMdcKalTrack::lastLayer ( ) const
inline

◆ lastLayer() [2/2]

const int DstMdcKalTrack::lastLayer ( ) const
inline

◆ mass() [1/2]

const double DstMdcKalTrack::mass ( ) const
inline

◆ mass() [2/2]

const double DstMdcKalTrack::mass ( ) const
inline

Definition at line 64 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

64{ return m_mass[m_pidType]; }

◆ ndof() [1/2]

const int DstMdcKalTrack::ndof ( ) const
inline

◆ ndof() [2/2]

const int DstMdcKalTrack::ndof ( ) const
inline

Definition at line 85 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ nlayer() [1/2]

const int DstMdcKalTrack::nlayer ( ) const
inline

Definition at line 89 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

89{return m_nlayer[m_pidType];}

Referenced by setNlayer().

◆ nlayer() [2/2]

const int DstMdcKalTrack::nlayer ( ) const
inline

◆ nster() [1/2]

const int DstMdcKalTrack::nster ( ) const
inline

◆ nster() [2/2]

const int DstMdcKalTrack::nster ( ) const
inline

Definition at line 86 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ operator=() [1/2]

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=().

◆ operator=() [2/2]

DstMdcKalTrack & DstMdcKalTrack::operator= ( const DstMdcKalTrack )

◆ p() [1/2]

◆ p() [2/2]

const double DstMdcKalTrack::p ( ) const
inline

Definition at line 82 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

82{return m_p[m_pidType];}

◆ p3() [1/2]

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 Hep3Vector p3() const

Referenced by p3().

◆ p3() [2/2]

const Hep3Vector DstMdcKalTrack::p3 ( ) const

◆ p4() [1/4]

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}

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

◆ p4() [2/4]

const HepLorentzVector DstMdcKalTrack::p4 ( ) const

◆ p4() [3/4]

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}

◆ p4() [4/4]

const HepLorentzVector DstMdcKalTrack::p4 ( double  mass) const

◆ phi() [1/2]

const double DstMdcKalTrack::phi ( ) const
inline

Definition at line 71 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

71{ return m_phi[m_pidType]; }

Referenced by setPhi().

◆ phi() [2/2]

const double DstMdcKalTrack::phi ( ) const
inline

Definition at line 71 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

71{ return m_phi[m_pidType]; }

◆ poca() [1/2]

const HepPoint3D DstMdcKalTrack::poca ( ) const
inline

◆ poca() [2/2]

const HepPoint3D DstMdcKalTrack::poca ( ) const
inline

Definition at line 101 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

101{ return m_pocas[m_pidType]; }

◆ px() [1/2]

◆ px() [2/2]

const double DstMdcKalTrack::px ( ) const
inline

Definition at line 67 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

67{ return m_px[m_pidType]; }

◆ pxy() [1/2]

const double DstMdcKalTrack::pxy ( ) const
inline

◆ pxy() [2/2]

const double DstMdcKalTrack::pxy ( ) const
inline

Definition at line 66 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

66{ return m_pxy[m_pidType]; }

◆ py() [1/2]

◆ py() [2/2]

const double DstMdcKalTrack::py ( ) const
inline

Definition at line 68 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

68{ return m_py[m_pidType]; }

◆ pz() [1/2]

◆ pz() [2/2]

const double DstMdcKalTrack::pz ( ) const
inline

Definition at line 69 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

69{ return m_pz[m_pidType]; }

◆ r() [1/2]

const double DstMdcKalTrack::r ( ) const
inline

◆ r() [2/2]

const double DstMdcKalTrack::r ( ) const
inline

Definition at line 81 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

81{return m_r[m_pidType];}

◆ setCharge() [1/2]

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

◆ setCharge() [2/2]

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

◆ setChisq() [1/2]

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

◆ setChisq() [2/2]

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

Definition at line 125 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ setFError() [1/4]

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

◆ setFError() [2/4]

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

Definition at line 170 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

170 {
171 m_ferrors[pid] = ferror;
172 }

◆ setFError() [3/4]

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

Definition at line 179 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/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 }

◆ setFError() [4/4]

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

Definition at line 179 of file InstallArea/include/DstEvent/DstEvent/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/4]

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

◆ setFHelix() [2/4]

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

Definition at line 166 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

166 {
167 m_fhelixs[pid] = fhelix;
168 }

◆ setFHelix() [3/4]

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

Definition at line 173 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setFHelix() [4/4]

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

Definition at line 173 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ setFirstLayer() [1/2]

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

Definition at line 126 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setFirstLayer() [2/2]

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

Definition at line 126 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ setLastLayer() [1/2]

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

Definition at line 127 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setLastLayer() [2/2]

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

Definition at line 127 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ setMass() [1/2]

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

Definition at line 109 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

109{ m_mass[pid] = mass; }

◆ setMass() [2/2]

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

Definition at line 109 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

109{ m_mass[pid] = mass; }

◆ setNdf() [1/2]

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

◆ setNdf() [2/2]

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

Definition at line 129 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ setNhits() [1/2]

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

Definition at line 128 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setNhits() [2/2]

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

Definition at line 128 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

128{ m_nhits[pid] = nhits; }

◆ setNlayer() [1/2]

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

◆ setNlayer() [2/2]

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

Definition at line 122 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

122{ m_nlayer[pid] = nlayer; }

◆ setNster() [1/2]

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

Definition at line 123 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setNster() [2/2]

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

Definition at line 123 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

123{ m_nster[i][pid] = ns; }

◆ setP() [1/2]

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

◆ setP() [2/2]

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

Definition at line 115 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

115{ m_p[pid] = p; }

◆ setPhi() [1/2]

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

◆ setPhi() [2/2]

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

Definition at line 117 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

117{ m_phi[pid] = phi; }

◆ setPidType() [1/2]

static void DstMdcKalTrack::setPidType ( PidType  pidType)
inlinestatic

Definition at line 59 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/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(), BFieldCorr::execute(), KalFitAlg::execute(), PrimaryVertex::execute(), KShortReconstruction::execute(), LambdaReconstruction::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().

◆ setPidType() [2/2]

static void DstMdcKalTrack::setPidType ( PidType  pidType)
inlinestatic

Definition at line 59 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

59{m_pidType = pidType; }

◆ setPoca() [1/4]

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

◆ setPoca() [2/4]

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

Definition at line 131 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

131 {
132 m_pocas[pid] = poca;
133 }

◆ setPoca() [3/4]

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

Definition at line 135 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setPoca() [4/4]

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

Definition at line 135 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ setPx() [1/2]

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

◆ setPx() [2/2]

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

Definition at line 112 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

112{ m_px[pid] = px; }

◆ setPxy() [1/2]

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

◆ setPxy() [2/2]

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

Definition at line 111 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

111{ m_pxy[pid] = pxy; }

◆ setPy() [1/2]

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

◆ setPy() [2/2]

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

Definition at line 113 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

113{ m_py[pid] = py; }

◆ setPz() [1/2]

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

◆ setPz() [2/2]

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

Definition at line 114 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

114{ m_pz[pid] = pz; }

◆ setR() [1/2]

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

◆ setR() [2/2]

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

Definition at line 121 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

121{ m_r[pid] = r; }

◆ setStat() [1/2]

◆ setStat() [2/2]

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

Definition at line 124 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

124{ m_stat[i][pid] = stat; }

◆ setTheta() [1/2]

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

◆ setTheta() [2/2]

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

Definition at line 116 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

116{ m_theta[pid] = theta; }

◆ setTrackId() [1/2]

◆ setTrackId() [2/2]

void DstMdcKalTrack::setTrackId ( int  trackId)
inline

◆ setX() [1/2]

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

◆ setX() [2/2]

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

Definition at line 118 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

118{ m_x[pid] = x; }

◆ setY() [1/2]

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

◆ setY() [2/2]

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

Definition at line 119 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

119{ m_y[pid] = y; }

◆ setZ() [1/2]

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

◆ setZ() [2/2]

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

Definition at line 120 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

120{ m_z[pid] = z; }

◆ setZError() [1/4]

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

◆ setZError() [2/4]

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

Definition at line 145 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

145 {
146 m_zerrors[pid] = error;
147 }

◆ setZError() [3/4]

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

Definition at line 154 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/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 }

◆ setZError() [4/4]

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

Definition at line 154 of file InstallArea/include/DstEvent/DstEvent/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/4]

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

◆ setZHelix() [2/4]

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

Definition at line 141 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

141 {
142 m_zhelixs[pid] = helix;
143 }

◆ setZHelix() [3/4]

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

Definition at line 148 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

◆ setZHelix() [4/4]

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

Definition at line 148 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ stat() [1/2]

const int DstMdcKalTrack::stat ( ) const
inline

Definition at line 83 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

Referenced by setStat().

◆ stat() [2/2]

const int DstMdcKalTrack::stat ( ) const
inline

Definition at line 83 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ tanl() [1/2]

const double DstMdcKalTrack::tanl ( void  ) const
inline

Definition at line 95 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

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

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

◆ tanl() [2/2]

const double DstMdcKalTrack::tanl ( void  ) const
inline

Definition at line 95 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

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

◆ theta() [1/2]

◆ theta() [2/2]

const double DstMdcKalTrack::theta ( ) const
inline

Definition at line 70 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

70{ return m_theta[m_pidType]; }

◆ trackId() [1/2]

const int DstMdcKalTrack::trackId ( ) const
inline

◆ trackId() [2/2]

const int DstMdcKalTrack::trackId ( ) const
inline

Definition at line 63 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

63{ return m_trackId; }

◆ x() [1/4]

◆ x() [2/4]

const double DstMdcKalTrack::x ( ) const
inline

Definition at line 73 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

73{ return m_x[m_pidType]; }

◆ x() [3/4]

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

Definition at line 77 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

77{return m_x[i];}

◆ x() [4/4]

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

Definition at line 77 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

77{return m_x[i];}

◆ x3() [1/2]

const HepPoint3D DstMdcKalTrack::x3 ( ) const

Definition at line 164 of file DstMdcKalTrack.cxx.

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

◆ x3() [2/2]

const HepPoint3D DstMdcKalTrack::x3 ( ) const

◆ y() [1/4]

◆ y() [2/4]

const double DstMdcKalTrack::y ( ) const
inline

Definition at line 74 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

74{ return m_y[m_pidType]; }

◆ y() [3/4]

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

Definition at line 78 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

78{return m_y[i];}

◆ y() [4/4]

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

Definition at line 78 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

78{return m_y[i];}

◆ z() [1/4]

◆ z() [2/4]

const double DstMdcKalTrack::z ( ) const
inline

Definition at line 75 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

75{ return m_z[m_pidType]; }

◆ z() [3/4]

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

Definition at line 79 of file Event/DstEvent/DstEvent-00-02-51/DstEvent/DstMdcKalTrack.h.

79{return m_z[i];}

◆ z() [4/4]

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

Definition at line 79 of file InstallArea/include/DstEvent/DstEvent/DstMdcKalTrack.h.

79{return m_z[i];}

Member Data Documentation

◆ m_charge

int DstMdcKalTrack::m_charge
protected

◆ m_chisq

◆ m_ferrors

◆ m_fhelixs

◆ m_firstLayer

◆ m_lastLayer

◆ m_mass

double DstMdcKalTrack::m_mass
protected

◆ m_ndf

◆ m_nhits

int DstMdcKalTrack::m_nhits
protected

◆ m_nlayer

int DstMdcKalTrack::m_nlayer
protected

◆ m_nster

◆ m_p

double DstMdcKalTrack::m_p
protected

◆ m_phi

double DstMdcKalTrack::m_phi
protected

◆ m_pidType

◆ m_pocas

◆ m_px

double DstMdcKalTrack::m_px
protected

◆ m_pxy

double DstMdcKalTrack::m_pxy
protected

◆ m_py

double DstMdcKalTrack::m_py
protected

◆ m_pz

double DstMdcKalTrack::m_pz
protected

◆ m_r

double DstMdcKalTrack::m_r
protected

◆ m_stat

◆ m_theta

double DstMdcKalTrack::m_theta
protected

◆ m_trackId

◆ m_x

double DstMdcKalTrack::m_x
protected

◆ m_y

double DstMdcKalTrack::m_y
protected

◆ m_z

double DstMdcKalTrack::m_z
protected

◆ m_zerrors

◆ m_zhelixs


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