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

#include <RecMdcKalTrack.h>

+ Inheritance diagram for RecMdcKalTrack:

Public Member Functions

virtual const CLID & clID () const
 
 RecMdcKalTrack ()
 
 RecMdcKalTrack (const RecMdcKalTrack &track)
 
 RecMdcKalTrack (const DstMdcKalTrack &track)
 
RecMdcKalTrackoperator= (const RecMdcKalTrack &)
 
RecMdcKalTrackoperator= (const DstMdcKalTrack &)
 
 ~RecMdcKalTrack ()
 
HelixSegRefVec getVecHelixSegs (int pid=-1) const
 
int getTrackId (void) const
 
double getMass (int pid) const
 
double getLength (int pid) const
 
double getTof (int pid) const
 
int getNhits (int pid) const
 
int getStat (int i, int pid) const
 
int getNster (const int i, const int pid) const
 
int getFirstLayer (const int i, const int pid) const
 
int getLastLayer (const int i, const int pid) const
 
double getChisq (int i, int pid) const
 
int getNdf (int i, int pid) const
 
double getPathl (int i) const
 
double getPathSM (int pid) const
 
const HepVector & getZHelix () const
 
const HepSymMatrix & getZError () const
 
const HepVector & getFHelix () const
 
const HepSymMatrix & getFError () const
 
const HepVector & getLHelix () const
 
const HepSymMatrix & getLError () const
 
const double getTHelix (const int i) const
 
const double getTError (const int i) const
 
const HepVector getTHelix () const
 
const HepSymMatrix getTError () const
 
HepVector & getZHelixE ()
 
HepSymMatrix & getZErrorE ()
 
HepVector & getFHelixE ()
 
HepSymMatrix & getFErrorE ()
 
HepVector & getLHelixE ()
 
HepSymMatrix & getLErrorE ()
 
HepVector & getZHelixMu ()
 
HepSymMatrix & getZErrorMu ()
 
HepVector & getFHelixMu ()
 
HepSymMatrix & getFErrorMu ()
 
HepVector & getLHelixMu ()
 
HepSymMatrix & getLErrorMu ()
 
HepVector & getZHelixK ()
 
HepSymMatrix & getZErrorK ()
 
HepVector & getFHelixK ()
 
HepSymMatrix & getFErrorK ()
 
HepVector & getLHelixK ()
 
HepSymMatrix & getLErrorK ()
 
HepVector & getZHelixP ()
 
HepSymMatrix & getZErrorP ()
 
HepVector & getFHelixP ()
 
HepSymMatrix & getFErrorP ()
 
HepVector & getLHelixP ()
 
HepSymMatrix & getLErrorP ()
 
const HepPoint3D getPocaE () const
 
const HepPoint3D getPocaMu () const
 
const HepPoint3D getPoca () const
 
const HepPoint3D getPocaK () const
 
const HepPoint3D getPocaP () const
 
const HepPoint3DgetLPointE () const
 
const HepPoint3DgetLPointMu () const
 
const HepPoint3DgetLPoint () const
 
const HepPoint3DgetLPointK () const
 
const HepPoint3DgetLPointP () const
 
const HepPoint3DgetLPivotE () const
 
const HepPoint3DgetLPivotMu () const
 
const HepPoint3DgetLPivot () const
 
const HepPoint3DgetLPivotK () const
 
const HepPoint3DgetLPivotP () const
 
const HepVector & getLHelix (const int pid) const
 
const HepSymMatrix & getLError (const int pid) const
 
const HepPoint3DgetPoca (const int pid) const
 
const HepPoint3DgetLPoint (const int pid) const
 
const double getFiTerm (const int pid) const
 
const HepPoint3DgetLPivot (const int pid) const
 
const double getZDr (void) const
 
const double getZFi0 (void) const
 
const double getZCpa (void) const
 
const double getZDz (void) const
 
const double getZTanl (void) const
 
const double getLDr (void) const
 
const double getLFi0 (void) const
 
const double getLCpa (void) const
 
const double getLDz (void) const
 
const double getLTanl (void) const
 
const double getFDr (void) const
 
const double getFFi0 (void) const
 
const double getFCpa (void) const
 
const double getFDz (void) const
 
const double getFTanl (void) const
 
void setVecHelixSegs (const HelixSegRefVec &vechelixsegs, int pid=-1)
 
void setMass (double mass, int pid)
 
void setLength (double length, int pid)
 
void setTof (double tof, int pid)
 
void setNhits (int nhits, int pid)
 
void setPathl (double pathl, int i)
 
void setPathSM (double length, int pid)
 
void setLHelix (const HepVector &helix, const int pid)
 
void setLError (const HepSymMatrix &error, const int pid)
 
void setLHelix (double *helix, const int pid)
 
void setLError (double *error, const int pid)
 
void setTHelix (const HepVector &helix)
 
void setTError (const HepSymMatrix &error)
 
void setTHelix (double helix[5])
 
void setTError (double error[15])
 
void setLPoint (const HepPoint3D &point, const int pid)
 
void setFiTerm (double fi, const int pid)
 
void setLPivot (const HepPoint3D &pivot, const int pid)
 
- Public Member Functions inherited from DstMdcKalTrack
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 Public Member Functions inherited from DstMdcKalTrack
static const CLID & classID ()
 
static void setPidType (PidType pidType)
 
static PidType getPidType ()
 

Additional Inherited Members

- Public Types inherited from DstMdcKalTrack
enum  PidType {
  null = -1 , electron = 0 , muon = 1 , pion = 2 ,
  kaon = 3 , proton = 4
}
 
- Protected Attributes inherited from DstMdcKalTrack
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 inherited from DstMdcKalTrack
static PidType m_pidType
 

Detailed Description

Definition at line 30 of file RecMdcKalTrack.h.

Constructor & Destructor Documentation

◆ RecMdcKalTrack() [1/3]

RecMdcKalTrack::RecMdcKalTrack ( )

Definition at line 13 of file RecMdcKalTrack.cxx.

15{
16 HepVector a(5,0);
17 HepSymMatrix Ea(5,0);
18 HepPoint3D poca(0,0,0);
19 HepPoint3D point(0.,0.,0);
20 HepPoint3D pivot(0.,0.,0);
21
22 m_ta(5,0);
23 m_tEa(5,0);
24 m_trackId = -1;
25
26 pidSeg=4;
27
28 for(int pid=0; pid<5; pid++){
29 m_lhelixs.push_back(a);
30 m_lerrors.push_back(Ea);
31 // m_fhelixs.push_back(a);
32 // m_ferrors.push_back(Ea);
33 m_lpoints.push_back(point);
34 m_lpivots.push_back(pivot);
35
36 m_length[pid] = 0.0;
37 m_tof[pid] = 0.0;
38 m_nhits[pid] = 0;
39 m_pathSM[pid] = 0.0;
40 m_fiTerm[pid] = 0.0;
41 m_stat[0][pid] = -1;
42 m_stat[1][pid] = -1;
43 m_nster[0][pid] = -1;
44 m_nster[1][pid] = -1;
45 m_firstLayer[0][pid] = 0;
46 m_firstLayer[1][pid] = 0;
47 m_lastLayer[0][pid] = 43;
48 m_lastLayer[1][pid] = 43;
49 m_chisq[0][pid] = 999.0;
50 m_chisq[1][pid] = 999.0;
51 m_ndf[0][pid] = 0;
52 m_ndf[1][pid] = 0;
53 }
54 for( int i=0; i<43; i++) {
55 m_pathl[i] = 0.0;
56 }
57 for(int j=0; j<5; j++) {
58 m_thelix[j] = 0.0;
59 }
60 for(int k=0; k<15; k++){
61 m_terror[k]= 0.;
62 }
63}
int m_lastLayer[2][5]
int m_firstLayer[2][5]
double m_chisq[2][5]
int m_stat[2][5]
int m_nster[2][5]
const HepPoint3D poca() const

◆ RecMdcKalTrack() [2/3]

RecMdcKalTrack::RecMdcKalTrack ( const RecMdcKalTrack track)

Definition at line 66 of file RecMdcKalTrack.cxx.

68{
69 for(int i=0; i<5; i++) m_vechelixsegs[i]=trk.m_vechelixsegs[i];
70}

◆ RecMdcKalTrack() [3/3]

RecMdcKalTrack::RecMdcKalTrack ( const DstMdcKalTrack track)

Definition at line 72 of file RecMdcKalTrack.cxx.

73:DstMdcKalTrack(dstrk)
74{
75 HepVector a(5,-99);
76 HepSymMatrix Ea(5,-99);
77 HepPoint3D poca(-99.,-99.,-99.);
78 HepPoint3D point(0.,0.,0);
79 HepPoint3D pivot(0.,0.,0);
80
81 m_ta(5,0);
82 m_tEa(5,0);
83
84 //m_trackId = -1;
85 for(int pid=0; pid<5; pid++){
86 //m_pocas.push_back(poca);
87 //m_zhelixs.push_back(a);
88 //m_zerrors.push_back(Ea);
89 m_lhelixs.push_back(a);
90 m_lerrors.push_back(Ea);
91 // m_fhelixs.push_back(a);
92 // m_ferrors.push_back(Ea);
93 m_lpoints.push_back(point);
94 m_lpivots.push_back(pivot);
95
96 m_length[pid] = 0.0;
97 m_tof[pid] = 0.0;
98 m_nhits[pid] = 0;
99 m_pathSM[pid] = 0.0;
100 m_fiTerm[pid] = 0.0;
101
102 m_stat[0][pid] = -1;
103 m_stat[1][pid] = -1;
104 m_nster[0][pid] = -1;
105 m_nster[1][pid] = -1;
106 m_firstLayer[0][pid] = 0;
107 m_firstLayer[1][pid] = 0;
108 m_lastLayer[0][pid] = 43;
109 m_lastLayer[1][pid] = 43;
110 m_chisq[0][pid] = 999.0;
111 m_chisq[1][pid] = 999.0;
112 m_ndf[0][pid] = 0;
113 m_ndf[1][pid] = 0;
114 }
115 for(int i=0; i<43; i++) {
116 m_pathl[i] = 0.0;
117 }
118 for(int j=0; j<5; j++) {
119 m_thelix[j] = 0.0;
120 }
121 for(int k=0; k<15; k++){
122 m_terror[k]= 0.;
123 }
124}

◆ ~RecMdcKalTrack()

RecMdcKalTrack::~RecMdcKalTrack ( )

Definition at line 197 of file RecMdcKalTrack.cxx.

197 {
198
199}

Member Function Documentation

◆ classID()

static const CLID & RecMdcKalTrack::classID ( )
inlinestatic

Definition at line 37 of file RecMdcKalTrack.h.

37 {
39 }
const CLID & CLID_RecMdcKalTrack
Definition: EventModel.cxx:311

Referenced by clID().

◆ clID()

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

Reimplemented from DstMdcKalTrack.

Definition at line 33 of file RecMdcKalTrack.h.

33 {
35 }
static const CLID & classID()

◆ getChisq()

double RecMdcKalTrack::getChisq ( int  i,
int  pid 
) const
inline

Definition at line 60 of file RecMdcKalTrack.h.

60{ return m_chisq[i][pid]; }

Referenced by KalFitAlg::complete_track(), and KalFitAlg::sameas().

◆ getFCpa()

const double RecMdcKalTrack::getFCpa ( void  ) const
inline

Definition at line 149 of file RecMdcKalTrack.h.

149{ return m_fhelixs[2][2]; }
std::vector< HepVector > m_fhelixs

◆ getFDr()

const double RecMdcKalTrack::getFDr ( void  ) const
inline

Definition at line 147 of file RecMdcKalTrack.h.

147{ return m_fhelixs[2][0]; }

◆ getFDz()

const double RecMdcKalTrack::getFDz ( void  ) const
inline

Definition at line 150 of file RecMdcKalTrack.h.

150{ return m_fhelixs[2][3]; }

◆ getFError()

const HepSymMatrix & RecMdcKalTrack::getFError ( ) const
inline

Definition at line 69 of file RecMdcKalTrack.h.

69{ return m_ferrors[2]; }
std::vector< HepSymMatrix > m_ferrors

Referenced by KalFitAlg::complete_track(), DedxCalibEvent::genNtuple(), and KalFitAlg::sameas().

◆ getFErrorE()

HepSymMatrix & RecMdcKalTrack::getFErrorE ( )
inline

Definition at line 80 of file RecMdcKalTrack.h.

80{ return m_ferrors[0]; }

◆ getFErrorK()

HepSymMatrix & RecMdcKalTrack::getFErrorK ( )
inline

Definition at line 94 of file RecMdcKalTrack.h.

94{ return m_ferrors[3]; }

◆ getFErrorMu()

HepSymMatrix & RecMdcKalTrack::getFErrorMu ( )
inline

Definition at line 87 of file RecMdcKalTrack.h.

87{ return m_ferrors[1]; }

◆ getFErrorP()

HepSymMatrix & RecMdcKalTrack::getFErrorP ( )
inline

Definition at line 101 of file RecMdcKalTrack.h.

101{ return m_ferrors[4]; }

◆ getFFi0()

const double RecMdcKalTrack::getFFi0 ( void  ) const
inline

Definition at line 148 of file RecMdcKalTrack.h.

148{ return m_fhelixs[2][1]; }

◆ getFHelix()

const HepVector & RecMdcKalTrack::getFHelix ( ) const
inline

Definition at line 68 of file RecMdcKalTrack.h.

68{ return m_fhelixs[2]; }

Referenced by KalFitAlg::complete_track(), DedxCalibEvent::genNtuple(), and KalFitAlg::sameas().

◆ getFHelixE()

HepVector & RecMdcKalTrack::getFHelixE ( )
inline

Definition at line 79 of file RecMdcKalTrack.h.

79{ return m_fhelixs[0]; }

◆ getFHelixK()

HepVector & RecMdcKalTrack::getFHelixK ( )
inline

Definition at line 93 of file RecMdcKalTrack.h.

93{ return m_fhelixs[3]; }

◆ getFHelixMu()

HepVector & RecMdcKalTrack::getFHelixMu ( )
inline

Definition at line 86 of file RecMdcKalTrack.h.

86{ return m_fhelixs[1]; }

◆ getFHelixP()

HepVector & RecMdcKalTrack::getFHelixP ( )
inline

Definition at line 100 of file RecMdcKalTrack.h.

100{ return m_fhelixs[4]; }

◆ getFirstLayer()

int RecMdcKalTrack::getFirstLayer ( const int  i,
const int  pid 
) const
inline

Definition at line 58 of file RecMdcKalTrack.h.

58{ return m_firstLayer[i][pid]; }

◆ getFiTerm()

const double RecMdcKalTrack::getFiTerm ( const int  pid) const
inline

Definition at line 131 of file RecMdcKalTrack.h.

131{ return m_fiTerm[pid]; }

Referenced by KalFitAlg::fillTds_back(), and ExtMdcTrack::ReadTrk().

◆ getFTanl()

const double RecMdcKalTrack::getFTanl ( void  ) const
inline

Definition at line 151 of file RecMdcKalTrack.h.

151{ return m_fhelixs[2][4]; }

◆ getLastLayer()

int RecMdcKalTrack::getLastLayer ( const int  i,
const int  pid 
) const
inline

Definition at line 59 of file RecMdcKalTrack.h.

59{ return m_lastLayer[i][pid]; }

◆ getLCpa()

const double RecMdcKalTrack::getLCpa ( void  ) const
inline

Definition at line 143 of file RecMdcKalTrack.h.

143{ return m_lhelixs[2][2]; }

◆ getLDr()

const double RecMdcKalTrack::getLDr ( void  ) const
inline

Definition at line 141 of file RecMdcKalTrack.h.

141{ return m_lhelixs[2][0]; }

◆ getLDz()

const double RecMdcKalTrack::getLDz ( void  ) const
inline

Definition at line 144 of file RecMdcKalTrack.h.

144{ return m_lhelixs[2][3]; }

◆ getLength()

double RecMdcKalTrack::getLength ( int  pid) const
inline

Definition at line 53 of file RecMdcKalTrack.h.

53{ return m_length[pid]; }

Referenced by KalFitAlg::complete_track(), and KalFitAlg::sameas().

◆ getLError() [1/2]

const HepSymMatrix & RecMdcKalTrack::getLError ( ) const
inline

Definition at line 71 of file RecMdcKalTrack.h.

71{ return m_lerrors[2]; }

Referenced by ExtMdcTrack::ReadTrk().

◆ getLError() [2/2]

const HepSymMatrix & RecMdcKalTrack::getLError ( const int  pid) const
inline

Definition at line 126 of file RecMdcKalTrack.h.

126{ return m_lerrors[pid];}

◆ getLErrorE()

HepSymMatrix & RecMdcKalTrack::getLErrorE ( )
inline

Definition at line 82 of file RecMdcKalTrack.h.

82{ return m_lerrors[0]; }

◆ getLErrorK()

HepSymMatrix & RecMdcKalTrack::getLErrorK ( )
inline

Definition at line 96 of file RecMdcKalTrack.h.

96{ return m_lerrors[3]; }

◆ getLErrorMu()

HepSymMatrix & RecMdcKalTrack::getLErrorMu ( )
inline

Definition at line 89 of file RecMdcKalTrack.h.

89{ return m_lerrors[1]; }

◆ getLErrorP()

HepSymMatrix & RecMdcKalTrack::getLErrorP ( )
inline

Definition at line 103 of file RecMdcKalTrack.h.

103{ return m_lerrors[4]; }

◆ getLFi0()

const double RecMdcKalTrack::getLFi0 ( void  ) const
inline

Definition at line 142 of file RecMdcKalTrack.h.

142{ return m_lhelixs[2][1]; }

◆ getLHelix() [1/2]

const HepVector & RecMdcKalTrack::getLHelix ( ) const
inline

Definition at line 70 of file RecMdcKalTrack.h.

70{ return m_lhelixs[2]; }

Referenced by ExtMdcTrack::ReadTrk().

◆ getLHelix() [2/2]

const HepVector & RecMdcKalTrack::getLHelix ( const int  pid) const
inline

Definition at line 125 of file RecMdcKalTrack.h.

125{ return m_lhelixs[pid];}

◆ getLHelixE()

HepVector & RecMdcKalTrack::getLHelixE ( )
inline

Definition at line 81 of file RecMdcKalTrack.h.

81{ return m_lhelixs[0]; }

◆ getLHelixK()

HepVector & RecMdcKalTrack::getLHelixK ( )
inline

Definition at line 95 of file RecMdcKalTrack.h.

95{ return m_lhelixs[3]; }

◆ getLHelixMu()

HepVector & RecMdcKalTrack::getLHelixMu ( )
inline

Definition at line 88 of file RecMdcKalTrack.h.

88{ return m_lhelixs[1]; }

◆ getLHelixP()

HepVector & RecMdcKalTrack::getLHelixP ( )
inline

Definition at line 102 of file RecMdcKalTrack.h.

102{ return m_lhelixs[4]; }

◆ getLPivot() [1/2]

const HepPoint3D & RecMdcKalTrack::getLPivot ( ) const
inline

Definition at line 119 of file RecMdcKalTrack.h.

119{ return m_lpivots[2]; }

Referenced by KalFitAlg::fillTds_back(), and ExtMdcTrack::ReadTrk().

◆ getLPivot() [2/2]

const HepPoint3D & RecMdcKalTrack::getLPivot ( const int  pid) const
inline

Definition at line 132 of file RecMdcKalTrack.h.

132{ return m_lpivots[pid];}

◆ getLPivotE()

const HepPoint3D & RecMdcKalTrack::getLPivotE ( ) const
inline

Definition at line 117 of file RecMdcKalTrack.h.

117{ return m_lpivots[0]; }

◆ getLPivotK()

const HepPoint3D & RecMdcKalTrack::getLPivotK ( ) const
inline

Definition at line 120 of file RecMdcKalTrack.h.

120{ return m_lpivots[3]; }

◆ getLPivotMu()

const HepPoint3D & RecMdcKalTrack::getLPivotMu ( ) const
inline

Definition at line 118 of file RecMdcKalTrack.h.

118{ return m_lpivots[1]; }

◆ getLPivotP()

const HepPoint3D & RecMdcKalTrack::getLPivotP ( ) const
inline

Definition at line 121 of file RecMdcKalTrack.h.

121{ return m_lpivots[4]; }

◆ getLPoint() [1/2]

const HepPoint3D & RecMdcKalTrack::getLPoint ( ) const
inline

Definition at line 113 of file RecMdcKalTrack.h.

113{ return m_lpoints[2]; }

Referenced by KalFitAlg::fillTds_back(), and ExtMdcTrack::ReadTrk().

◆ getLPoint() [2/2]

const HepPoint3D & RecMdcKalTrack::getLPoint ( const int  pid) const
inline

Definition at line 130 of file RecMdcKalTrack.h.

130{ return m_lpoints[pid];}

◆ getLPointE()

const HepPoint3D & RecMdcKalTrack::getLPointE ( ) const
inline

Definition at line 111 of file RecMdcKalTrack.h.

111{ return m_lpoints[0]; }

◆ getLPointK()

const HepPoint3D & RecMdcKalTrack::getLPointK ( ) const
inline

Definition at line 114 of file RecMdcKalTrack.h.

114{ return m_lpoints[3]; }

◆ getLPointMu()

const HepPoint3D & RecMdcKalTrack::getLPointMu ( ) const
inline

Definition at line 112 of file RecMdcKalTrack.h.

112{ return m_lpoints[1]; }

◆ getLPointP()

const HepPoint3D & RecMdcKalTrack::getLPointP ( ) const
inline

Definition at line 115 of file RecMdcKalTrack.h.

115{ return m_lpoints[4]; }

◆ getLTanl()

const double RecMdcKalTrack::getLTanl ( void  ) const
inline

Definition at line 145 of file RecMdcKalTrack.h.

145{ return m_lhelixs[2][4]; }

◆ getMass()

double RecMdcKalTrack::getMass ( int  pid) const
inline

Definition at line 52 of file RecMdcKalTrack.h.

52{ return m_mass[pid]; }

Referenced by KalFitAlg::complete_track(), KalFitAlg::fillTds_back(), and KalFitAlg::sameas().

◆ getNdf()

int RecMdcKalTrack::getNdf ( int  i,
int  pid 
) const
inline

Definition at line 61 of file RecMdcKalTrack.h.

61{ return m_ndf[i][pid]; }

Referenced by KalFitAlg::complete_track(), and KalFitAlg::fillTds_back().

◆ getNhits()

int RecMdcKalTrack::getNhits ( int  pid) const
inline

Definition at line 55 of file RecMdcKalTrack.h.

55{ return m_nhits[pid]; }

Referenced by KalFitAlg::sameas(), and MdcDedxTrk::set_ExTrk_Kal().

◆ getNster()

int RecMdcKalTrack::getNster ( const int  i,
const int  pid 
) const
inline

Definition at line 57 of file RecMdcKalTrack.h.

57{ return m_nster[i][pid]; }

◆ getPathl()

double RecMdcKalTrack::getPathl ( int  i) const
inline

Definition at line 62 of file RecMdcKalTrack.h.

62{ return m_pathl[i]; }

◆ getPathSM()

double RecMdcKalTrack::getPathSM ( int  pid) const
inline

Definition at line 63 of file RecMdcKalTrack.h.

63{ return m_pathSM[pid]; }

Referenced by KalFitAlg::fillTds_back(), and ExtMdcTrack::ReadTrk().

◆ getPoca() [1/2]

const HepPoint3D RecMdcKalTrack::getPoca ( ) const
inline

Definition at line 107 of file RecMdcKalTrack.h.

107{ return m_pocas[2]; }
std::vector< HepPoint3D > m_pocas

◆ getPoca() [2/2]

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

Definition at line 129 of file RecMdcKalTrack.h.

129{ return m_pocas[pid];}

◆ getPocaE()

const HepPoint3D RecMdcKalTrack::getPocaE ( ) const
inline

Definition at line 105 of file RecMdcKalTrack.h.

105{ return m_pocas[0]; }

◆ getPocaK()

const HepPoint3D RecMdcKalTrack::getPocaK ( ) const
inline

Definition at line 108 of file RecMdcKalTrack.h.

108{ return m_pocas[3]; }

◆ getPocaMu()

const HepPoint3D RecMdcKalTrack::getPocaMu ( ) const
inline

Definition at line 106 of file RecMdcKalTrack.h.

106{ return m_pocas[1]; }

◆ getPocaP()

const HepPoint3D RecMdcKalTrack::getPocaP ( ) const
inline

Definition at line 109 of file RecMdcKalTrack.h.

109{ return m_pocas[4]; }

◆ getStat()

int RecMdcKalTrack::getStat ( int  i,
int  pid 
) const
inline

◆ getTError() [1/2]

const HepSymMatrix RecMdcKalTrack::getTError ( ) const
inline

Definition at line 75 of file RecMdcKalTrack.h.

75{ return m_tEa; }

◆ getTError() [2/2]

const double RecMdcKalTrack::getTError ( const int  i) const
inline

Definition at line 73 of file RecMdcKalTrack.h.

73{ return m_terror[i]; }

◆ getTHelix() [1/2]

const HepVector RecMdcKalTrack::getTHelix ( ) const
inline

Definition at line 74 of file RecMdcKalTrack.h.

74{ return m_ta; }

◆ getTHelix() [2/2]

const double RecMdcKalTrack::getTHelix ( const int  i) const
inline

Definition at line 72 of file RecMdcKalTrack.h.

72{ return m_thelix[i]; }

◆ getTof()

double RecMdcKalTrack::getTof ( int  pid) const
inline

Definition at line 54 of file RecMdcKalTrack.h.

54{ return m_tof[pid]; }

Referenced by KalFitAlg::complete_track(), ExtMdcTrack::ReadTrk(), and KalFitAlg::sameas().

◆ getTrackId()

int RecMdcKalTrack::getTrackId ( void  ) const
inline

Definition at line 51 of file RecMdcKalTrack.h.

51{ return m_trackId; }

Referenced by KalFitAlg::complete_track(), and ExtMdcTrack::ReadTrk().

◆ getVecHelixSegs()

HelixSegRefVec RecMdcKalTrack::getVecHelixSegs ( int  pid = -1) const

Definition at line 180 of file RecMdcKalTrack.cxx.

181{
182 if(pid>=0&&pid<5) return m_vechelixsegs[pid];
183 else {
184 return m_vechelixsegs[pidSeg];
185 }
186}

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

◆ getZCpa()

const double RecMdcKalTrack::getZCpa ( void  ) const
inline

Definition at line 137 of file RecMdcKalTrack.h.

137{ return m_zhelixs[2][2]; }
std::vector< HepVector > m_zhelixs

◆ getZDr()

const double RecMdcKalTrack::getZDr ( void  ) const
inline

Definition at line 135 of file RecMdcKalTrack.h.

135{ return m_zhelixs[2][0]; }

◆ getZDz()

const double RecMdcKalTrack::getZDz ( void  ) const
inline

Definition at line 138 of file RecMdcKalTrack.h.

138{ return m_zhelixs[2][3]; }

◆ getZError()

◆ getZErrorE()

HepSymMatrix & RecMdcKalTrack::getZErrorE ( )
inline

Definition at line 78 of file RecMdcKalTrack.h.

78{ return m_zerrors[0]; }

Referenced by DQASelBhabha::execute().

◆ getZErrorK()

◆ getZErrorMu()

HepSymMatrix & RecMdcKalTrack::getZErrorMu ( )
inline

Definition at line 85 of file RecMdcKalTrack.h.

85{ return m_zerrors[1]; }

Referenced by DQASelDimu::execute().

◆ getZErrorP()

HepSymMatrix & RecMdcKalTrack::getZErrorP ( )
inline

◆ getZFi0()

const double RecMdcKalTrack::getZFi0 ( void  ) const
inline

Definition at line 136 of file RecMdcKalTrack.h.

136{ return m_zhelixs[2][1]; }

◆ getZHelix()

◆ getZHelixE()

HepVector & RecMdcKalTrack::getZHelixE ( )
inline

◆ getZHelixK()

◆ getZHelixMu()

HepVector & RecMdcKalTrack::getZHelixMu ( )
inline

◆ getZHelixP()

◆ getZTanl()

const double RecMdcKalTrack::getZTanl ( void  ) const
inline

Definition at line 139 of file RecMdcKalTrack.h.

139{ return m_zhelixs[2][4]; }

◆ operator=() [1/2]

RecMdcKalTrack & RecMdcKalTrack::operator= ( const DstMdcKalTrack dstrk)

Definition at line 126 of file RecMdcKalTrack.cxx.

127{
128 if( &dstrk != this ){
130 HepVector a(5,0);
131 HepSymMatrix Ea(5,0);
132 HepPoint3D poca(-99.,-99.,-99.);
133 HepPoint3D point(0.,0.,0.);
134 HepPoint3D pivot(0.,0.,0.);
135
136 //m_trackId = -1;
137 //m_pocas.clear();
138 //m_zhelixs.clear();
139 //m_zerrors.clear();
140 m_lhelixs.clear();
141 m_lerrors.clear();
142 // m_fhelixs.clear();
143 // m_ferrors.clear();
144 m_lpoints.clear();
145 m_lpivots.clear();
146 m_ta(5,0) ;
147 m_tEa(5,0);
148 for(int pid=0; pid<5; pid++){
149 //m_pocas.push_back(poca);
150 //m_zhelixs.push_back(a);
151 //m_zerrors.push_back(Ea);
152 m_lhelixs.push_back(a);
153 m_lerrors.push_back(Ea);
154 // m_fhelixs.push_back(a);
155 // m_ferrors.push_back(Ea);
156 m_lpoints.push_back(point);
157
158
159 m_length[pid] = 0.0;
160 m_tof[pid] = 0.0;
161 m_nhits[pid] = 0;
162 m_pathSM[pid] = 0.;
163 m_fiTerm[pid] = 0.;
164 }
165
166 for(int i=0; i<43; i++) {
167 m_pathl[i] = 0.0;
168 }
169 for(int j=0; j<5; j++) {
170 m_thelix[j] = 0.0;
171 }
172 for(int k=0; k<15; k++){
173 m_terror[k]= 0.;
174 }
175 }
176 return *this;
177}
DstMdcKalTrack & operator=(const DstMdcKalTrack &)

◆ operator=() [2/2]

RecMdcKalTrack & RecMdcKalTrack::operator= ( const RecMdcKalTrack )

◆ setFiTerm()

void RecMdcKalTrack::setFiTerm ( double  fi,
const int  pid 
)
inline

Definition at line 289 of file RecMdcKalTrack.h.

289 {
290 m_fiTerm[pid] = fi;
291 }

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

◆ setLength()

void RecMdcKalTrack::setLength ( double  length,
int  pid 
)
inline

Definition at line 160 of file RecMdcKalTrack.h.

160{ m_length[pid] = length; }

Referenced by KalFitAlg::fillTds_back(), KalFitAlg::sameas(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setLError() [1/2]

void RecMdcKalTrack::setLError ( const HepSymMatrix &  error,
const int  pid 
)
inline

Definition at line 224 of file RecMdcKalTrack.h.

224 {
225 m_lerrors[pid] = error;
226 }
@ error
Definition: Core.h:24

Referenced by KalFitAlg::fillTds_back(), KalFitAlg::sameas(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setLError() [2/2]

void RecMdcKalTrack::setLError ( double *  error,
const int  pid 
)
inline

Definition at line 232 of file RecMdcKalTrack.h.

232 {
233 int k=0;
234 HepSymMatrix mat(5);
235 for(int i=0; i<5 ; i++) {
236 for(int j=0; j<=i; j++,k++) {
237 mat[i][j] = error[k];
238 mat[j][i] = error[k];
239 }
240 }
241 m_lerrors[pid] = mat;
242 }

◆ setLHelix() [1/2]

void RecMdcKalTrack::setLHelix ( const HepVector &  helix,
const int  pid 
)
inline

Definition at line 221 of file RecMdcKalTrack.h.

221 {
222 m_lhelixs[pid] = helix;
223 }
const HepVector & helix() const

Referenced by KalFitAlg::fillTds_back(), KalFitAlg::sameas(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setLHelix() [2/2]

void RecMdcKalTrack::setLHelix ( double *  helix,
const int  pid 
)
inline

Definition at line 227 of file RecMdcKalTrack.h.

227 {
228 for(int i=0; i<5; i++) {
229 m_lhelixs[pid][i] = helix[i];
230 }
231 }

◆ setLPivot()

void RecMdcKalTrack::setLPivot ( const HepPoint3D pivot,
const int  pid 
)
inline

Definition at line 294 of file RecMdcKalTrack.h.

294 {
295 m_lpivots[pid] = pivot;
296 }

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

◆ setLPoint()

void RecMdcKalTrack::setLPoint ( const HepPoint3D point,
const int  pid 
)
inline

Definition at line 284 of file RecMdcKalTrack.h.

284 {
285 m_lpoints[pid] = point;
286 }

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

◆ setMass()

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

Definition at line 159 of file RecMdcKalTrack.h.

159{ m_mass[pid] = mass; }
const double mass() const

Referenced by KalFitAlg::fillTds(), KalFitAlg::fillTds_lead(), KalFitAlg::sameas(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setNhits()

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

◆ setPathl()

void RecMdcKalTrack::setPathl ( double  pathl,
int  i 
)
inline

Definition at line 169 of file RecMdcKalTrack.h.

169{ m_pathl[i] = pathl; }

Referenced by KalFitAlg::fillTds_back().

◆ setPathSM()

void RecMdcKalTrack::setPathSM ( double  length,
int  pid 
)
inline

Definition at line 170 of file RecMdcKalTrack.h.

170{ m_pathSM[pid] = length; }

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

◆ setTError() [1/2]

void RecMdcKalTrack::setTError ( const HepSymMatrix &  error)
inline

Definition at line 250 of file RecMdcKalTrack.h.

250 {
251 int k=0;
252 for(int i=0; i<5; i++){
253 for(int j=i; j<5; j++){
254 m_terror[k] = error[i][j];
255 k++;
256 }
257 }
258 m_tEa = error;
259 }

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

◆ setTError() [2/2]

void RecMdcKalTrack::setTError ( double  error[15])
inline

Definition at line 268 of file RecMdcKalTrack.h.

268 {
269 int k=0;
270 HepSymMatrix mat(5);
271 for(int i=0; i<5 ; i++) {
272 for(int j=0; j<=i; j++,k++) {
273 mat[i][j] = error[k];
274 mat[j][i] = mat[i][j];
275 }
276 }
277 m_tEa = mat;
278
279 for(int i=0; i<15 ; i++) {
280 m_terror[i] = error[i];
281 }
282 }

◆ setTHelix() [1/2]

void RecMdcKalTrack::setTHelix ( const HepVector &  helix)
inline

Definition at line 244 of file RecMdcKalTrack.h.

244 {
245 for(int i=0; i<5; i++){
246 m_thelix[i] = helix[i];
247 }
248 m_ta = helix;
249 }

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

◆ setTHelix() [2/2]

void RecMdcKalTrack::setTHelix ( double  helix[5])
inline

Definition at line 260 of file RecMdcKalTrack.h.

260 {
261 HepVector atemp(5);
262 for(int i=0; i<5; i++) {
263 m_thelix[i] = helix[i];
264 atemp[i] = helix[i];
265 }
266 m_ta = atemp;
267 }

◆ setTof()

void RecMdcKalTrack::setTof ( double  tof,
int  pid 
)
inline

Definition at line 161 of file RecMdcKalTrack.h.

161{ m_tof[pid] = tof; }

Referenced by KalFitAlg::fillTds_back(), KalFitAlg::sameas(), and RecMdcKalTrackCnv::TObjectToDataObject().

◆ setVecHelixSegs()

void RecMdcKalTrack::setVecHelixSegs ( const HelixSegRefVec vechelixsegs,
int  pid = -1 
)

Definition at line 189 of file RecMdcKalTrack.cxx.

189 {
190 if(pid>=0&&pid<5) {
191 m_vechelixsegs[pid] = vechelixsegs;
192 pidSeg=pid;
193 }
194 else std::cout<<"RecMdcKalTrack::setVecHelixSegs error, wrong particle id"<<std::endl;
195}

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


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