CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemKalTrack Class Reference

#include <RecCgemKalTrack.h>

+ Inheritance diagram for RecCgemKalTrack:

Public Member Functions

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

Static Public Member Functions

static const CLID & classID ()
 
- Static Public Member Functions inherited from DstCgemKalTrack
static const CLID & classID ()
 
static void setPidType (PidType pidType)
 
static PidType getPidType ()
 

Additional Inherited Members

- Public Types inherited from DstCgemKalTrack
enum  PidType {
  null = -1 , electron = 0 , muon = 1 , pion = 2 ,
  kaon = 3 , proton = 4
}
 
- Protected Attributes inherited from DstCgemKalTrack
int m_trackId
 
int m_charge [5]
 
int m_stat [2][5]
 
int m_firstLayer [2][5]
 
int m_lastLayer [2][5]
 
double m_mass [5]
 
double m_chisq [2][5]
 
double m_pxy [5]
 
double m_px [5]
 
double m_py [5]
 
double m_pz [5]
 
double m_p [5]
 
double m_theta [5]
 
double m_phi [5]
 
double m_x [5]
 
double m_y [5]
 
double m_z [5]
 
double m_r [5]
 
int m_ndf [2][5]
 
int m_nhits [5]
 
std::vector< HepPoint3Dm_pocas
 
std::vector< HepVector > m_zhelixs
 
std::vector< HepSymMatrix > m_zerrors
 
std::vector< HepVector > m_fhelixs
 
std::vector< HepSymMatrix > m_ferrors
 
- Static Protected Attributes inherited from DstCgemKalTrack
static PidType m_pidType = pion
 

Detailed Description

Definition at line 30 of file RecCgemKalTrack.h.

Constructor & Destructor Documentation

◆ RecCgemKalTrack() [1/3]

RecCgemKalTrack::RecCgemKalTrack ( )

Definition at line 10 of file RecCgemKalTrack.cxx.

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

◆ RecCgemKalTrack() [2/3]

RecCgemKalTrack::RecCgemKalTrack ( const RecCgemKalTrack & track)

Definition at line 58 of file RecCgemKalTrack.cxx.

59:DstCgemKalTrack(trk),
60 m_vechelixsegs(trk.m_vechelixsegs)
61{
62}

◆ RecCgemKalTrack() [3/3]

RecCgemKalTrack::RecCgemKalTrack ( const DstCgemKalTrack & track)

Definition at line 64 of file RecCgemKalTrack.cxx.

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

◆ ~RecCgemKalTrack()

RecCgemKalTrack::~RecCgemKalTrack ( )

Definition at line 177 of file RecCgemKalTrack.cxx.

177 {
178
179}

Member Function Documentation

◆ classID()

static const CLID & RecCgemKalTrack::classID ( )
inlinestatic

Definition at line 37 of file RecCgemKalTrack.h.

37 {
39 }
const CLID & CLID_RecCgemKalTrack

Referenced by clID().

◆ clID()

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

Reimplemented from DstCgemKalTrack.

Definition at line 33 of file RecCgemKalTrack.h.

33 {
35 }
static const CLID & classID()

◆ getChisq()

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

Definition at line 59 of file RecCgemKalTrack.h.

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

◆ getFCpa()

const double RecCgemKalTrack::getFCpa ( void ) const
inline

Definition at line 148 of file RecCgemKalTrack.h.

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

◆ getFDr()

const double RecCgemKalTrack::getFDr ( void ) const
inline

Definition at line 146 of file RecCgemKalTrack.h.

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

◆ getFDz()

const double RecCgemKalTrack::getFDz ( void ) const
inline

Definition at line 149 of file RecCgemKalTrack.h.

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

◆ getFError()

const HepSymMatrix & RecCgemKalTrack::getFError ( ) const
inline

Definition at line 68 of file RecCgemKalTrack.h.

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

◆ getFErrorE()

HepSymMatrix & RecCgemKalTrack::getFErrorE ( )
inline

Definition at line 79 of file RecCgemKalTrack.h.

79{ return m_ferrors[0]; }

◆ getFErrorK()

HepSymMatrix & RecCgemKalTrack::getFErrorK ( )
inline

Definition at line 93 of file RecCgemKalTrack.h.

93{ return m_ferrors[3]; }

◆ getFErrorMu()

HepSymMatrix & RecCgemKalTrack::getFErrorMu ( )
inline

Definition at line 86 of file RecCgemKalTrack.h.

86{ return m_ferrors[1]; }

◆ getFErrorP()

HepSymMatrix & RecCgemKalTrack::getFErrorP ( )
inline

Definition at line 100 of file RecCgemKalTrack.h.

100{ return m_ferrors[4]; }

◆ getFFi0()

const double RecCgemKalTrack::getFFi0 ( void ) const
inline

Definition at line 147 of file RecCgemKalTrack.h.

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

◆ getFHelix()

const HepVector & RecCgemKalTrack::getFHelix ( ) const
inline

Definition at line 67 of file RecCgemKalTrack.h.

67{ return m_fhelixs[2]; }

◆ getFHelixE()

HepVector & RecCgemKalTrack::getFHelixE ( )
inline

Definition at line 78 of file RecCgemKalTrack.h.

78{ return m_fhelixs[0]; }

◆ getFHelixK()

HepVector & RecCgemKalTrack::getFHelixK ( )
inline

Definition at line 92 of file RecCgemKalTrack.h.

92{ return m_fhelixs[3]; }

◆ getFHelixMu()

HepVector & RecCgemKalTrack::getFHelixMu ( )
inline

Definition at line 85 of file RecCgemKalTrack.h.

85{ return m_fhelixs[1]; }

◆ getFHelixP()

HepVector & RecCgemKalTrack::getFHelixP ( )
inline

Definition at line 99 of file RecCgemKalTrack.h.

99{ return m_fhelixs[4]; }

◆ getFirstLayer()

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

Definition at line 57 of file RecCgemKalTrack.h.

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

◆ getFiTerm()

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

Definition at line 130 of file RecCgemKalTrack.h.

130{ return m_fiTerm[pid]; }

◆ getFTanl()

const double RecCgemKalTrack::getFTanl ( void ) const
inline

Definition at line 150 of file RecCgemKalTrack.h.

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

◆ getLastLayer()

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

Definition at line 58 of file RecCgemKalTrack.h.

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

◆ getLCpa()

const double RecCgemKalTrack::getLCpa ( void ) const
inline

Definition at line 142 of file RecCgemKalTrack.h.

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

◆ getLDr()

const double RecCgemKalTrack::getLDr ( void ) const
inline

Definition at line 140 of file RecCgemKalTrack.h.

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

◆ getLDz()

const double RecCgemKalTrack::getLDz ( void ) const
inline

Definition at line 143 of file RecCgemKalTrack.h.

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

◆ getLength()

double RecCgemKalTrack::getLength ( int pid) const
inline

Definition at line 53 of file RecCgemKalTrack.h.

53{ return m_length[pid]; }

◆ getLError() [1/2]

const HepSymMatrix & RecCgemKalTrack::getLError ( ) const
inline

Definition at line 70 of file RecCgemKalTrack.h.

70{ return m_lerrors[2]; }

◆ getLError() [2/2]

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

Definition at line 125 of file RecCgemKalTrack.h.

125{ return m_lerrors[pid];}

◆ getLErrorE()

HepSymMatrix & RecCgemKalTrack::getLErrorE ( )
inline

Definition at line 81 of file RecCgemKalTrack.h.

81{ return m_lerrors[0]; }

◆ getLErrorK()

HepSymMatrix & RecCgemKalTrack::getLErrorK ( )
inline

Definition at line 95 of file RecCgemKalTrack.h.

95{ return m_lerrors[3]; }

◆ getLErrorMu()

HepSymMatrix & RecCgemKalTrack::getLErrorMu ( )
inline

Definition at line 88 of file RecCgemKalTrack.h.

88{ return m_lerrors[1]; }

◆ getLErrorP()

HepSymMatrix & RecCgemKalTrack::getLErrorP ( )
inline

Definition at line 102 of file RecCgemKalTrack.h.

102{ return m_lerrors[4]; }

◆ getLFi0()

const double RecCgemKalTrack::getLFi0 ( void ) const
inline

Definition at line 141 of file RecCgemKalTrack.h.

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

◆ getLHelix() [1/2]

const HepVector & RecCgemKalTrack::getLHelix ( ) const
inline

Definition at line 69 of file RecCgemKalTrack.h.

69{ return m_lhelixs[2]; }

◆ getLHelix() [2/2]

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

Definition at line 124 of file RecCgemKalTrack.h.

124{ return m_lhelixs[pid];}

◆ getLHelixE()

HepVector & RecCgemKalTrack::getLHelixE ( )
inline

Definition at line 80 of file RecCgemKalTrack.h.

80{ return m_lhelixs[0]; }

◆ getLHelixK()

HepVector & RecCgemKalTrack::getLHelixK ( )
inline

Definition at line 94 of file RecCgemKalTrack.h.

94{ return m_lhelixs[3]; }

◆ getLHelixMu()

HepVector & RecCgemKalTrack::getLHelixMu ( )
inline

Definition at line 87 of file RecCgemKalTrack.h.

87{ return m_lhelixs[1]; }

◆ getLHelixP()

HepVector & RecCgemKalTrack::getLHelixP ( )
inline

Definition at line 101 of file RecCgemKalTrack.h.

101{ return m_lhelixs[4]; }

◆ getLPivot() [1/2]

const HepPoint3D & RecCgemKalTrack::getLPivot ( ) const
inline

Definition at line 118 of file RecCgemKalTrack.h.

118{ return m_lpivots[2]; }

◆ getLPivot() [2/2]

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

Definition at line 131 of file RecCgemKalTrack.h.

131{ return m_lpivots[pid];}

◆ getLPivotE()

const HepPoint3D & RecCgemKalTrack::getLPivotE ( ) const
inline

Definition at line 116 of file RecCgemKalTrack.h.

116{ return m_lpivots[0]; }

◆ getLPivotK()

const HepPoint3D & RecCgemKalTrack::getLPivotK ( ) const
inline

Definition at line 119 of file RecCgemKalTrack.h.

119{ return m_lpivots[3]; }

◆ getLPivotMu()

const HepPoint3D & RecCgemKalTrack::getLPivotMu ( ) const
inline

Definition at line 117 of file RecCgemKalTrack.h.

117{ return m_lpivots[1]; }

◆ getLPivotP()

const HepPoint3D & RecCgemKalTrack::getLPivotP ( ) const
inline

Definition at line 120 of file RecCgemKalTrack.h.

120{ return m_lpivots[4]; }

◆ getLPoint() [1/2]

const HepPoint3D & RecCgemKalTrack::getLPoint ( ) const
inline

Definition at line 112 of file RecCgemKalTrack.h.

112{ return m_lpoints[2]; }

◆ getLPoint() [2/2]

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

Definition at line 129 of file RecCgemKalTrack.h.

129{ return m_lpoints[pid];}

◆ getLPointE()

const HepPoint3D & RecCgemKalTrack::getLPointE ( ) const
inline

Definition at line 110 of file RecCgemKalTrack.h.

110{ return m_lpoints[0]; }

◆ getLPointK()

const HepPoint3D & RecCgemKalTrack::getLPointK ( ) const
inline

Definition at line 113 of file RecCgemKalTrack.h.

113{ return m_lpoints[3]; }

◆ getLPointMu()

const HepPoint3D & RecCgemKalTrack::getLPointMu ( ) const
inline

Definition at line 111 of file RecCgemKalTrack.h.

111{ return m_lpoints[1]; }

◆ getLPointP()

const HepPoint3D & RecCgemKalTrack::getLPointP ( ) const
inline

Definition at line 114 of file RecCgemKalTrack.h.

114{ return m_lpoints[4]; }

◆ getLTanl()

const double RecCgemKalTrack::getLTanl ( void ) const
inline

Definition at line 144 of file RecCgemKalTrack.h.

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

◆ getMass()

double RecCgemKalTrack::getMass ( int pid) const
inline

Definition at line 52 of file RecCgemKalTrack.h.

52{ return m_mass[pid]; }

◆ getNdf()

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

Definition at line 60 of file RecCgemKalTrack.h.

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

◆ getNhits()

int RecCgemKalTrack::getNhits ( int pid) const
inline

Definition at line 55 of file RecCgemKalTrack.h.

55{ return m_nhits[pid]; }

◆ getPathl()

double RecCgemKalTrack::getPathl ( int i) const
inline

Definition at line 61 of file RecCgemKalTrack.h.

61{ return m_pathl[i]; }

◆ getPathSM()

double RecCgemKalTrack::getPathSM ( int pid) const
inline

Definition at line 62 of file RecCgemKalTrack.h.

62{ return m_pathSM[pid]; }

◆ getPoca() [1/2]

const HepPoint3D RecCgemKalTrack::getPoca ( ) const
inline

Definition at line 106 of file RecCgemKalTrack.h.

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

◆ getPoca() [2/2]

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

Definition at line 128 of file RecCgemKalTrack.h.

128{ return m_pocas[pid];}

◆ getPocaE()

const HepPoint3D RecCgemKalTrack::getPocaE ( ) const
inline

Definition at line 104 of file RecCgemKalTrack.h.

104{ return m_pocas[0]; }

◆ getPocaK()

const HepPoint3D RecCgemKalTrack::getPocaK ( ) const
inline

Definition at line 107 of file RecCgemKalTrack.h.

107{ return m_pocas[3]; }

◆ getPocaMu()

const HepPoint3D RecCgemKalTrack::getPocaMu ( ) const
inline

Definition at line 105 of file RecCgemKalTrack.h.

105{ return m_pocas[1]; }

◆ getPocaP()

const HepPoint3D RecCgemKalTrack::getPocaP ( ) const
inline

Definition at line 108 of file RecCgemKalTrack.h.

108{ return m_pocas[4]; }

◆ getStat()

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

Definition at line 56 of file RecCgemKalTrack.h.

56{ return m_stat[i][pid]; }

Referenced by CgemKalTrackCnv::DataObjectToTObject().

◆ getTError() [1/2]

const HepSymMatrix RecCgemKalTrack::getTError ( ) const
inline

Definition at line 74 of file RecCgemKalTrack.h.

74{ return m_tEa; }

◆ getTError() [2/2]

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

Definition at line 72 of file RecCgemKalTrack.h.

72{ return m_terror[i]; }

◆ getTHelix() [1/2]

const HepVector RecCgemKalTrack::getTHelix ( ) const
inline

Definition at line 73 of file RecCgemKalTrack.h.

73{ return m_ta; }

◆ getTHelix() [2/2]

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

Definition at line 71 of file RecCgemKalTrack.h.

71{ return m_thelix[i]; }

◆ getTof()

double RecCgemKalTrack::getTof ( int pid) const
inline

Definition at line 54 of file RecCgemKalTrack.h.

54{ return m_tof[pid]; }

◆ getTrackId()

int RecCgemKalTrack::getTrackId ( void ) const
inline

Definition at line 51 of file RecCgemKalTrack.h.

51{ return m_trackId; }

◆ getVecHelixSegs()

RecCgemHelixSegRefVec RecCgemKalTrack::getVecHelixSegs ( void ) const

Definition at line 169 of file RecCgemKalTrack.cxx.

169 {
170 return m_vechelixsegs;
171}

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ getZCpa()

const double RecCgemKalTrack::getZCpa ( void ) const
inline

Definition at line 136 of file RecCgemKalTrack.h.

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

◆ getZDr()

const double RecCgemKalTrack::getZDr ( void ) const
inline

Definition at line 134 of file RecCgemKalTrack.h.

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

◆ getZDz()

const double RecCgemKalTrack::getZDz ( void ) const
inline

Definition at line 137 of file RecCgemKalTrack.h.

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

◆ getZError()

const HepSymMatrix & RecCgemKalTrack::getZError ( ) const
inline

Definition at line 66 of file RecCgemKalTrack.h.

66{ return m_zerrors[2]; }
std::vector< HepSymMatrix > m_zerrors

◆ getZErrorE()

HepSymMatrix & RecCgemKalTrack::getZErrorE ( )
inline

Definition at line 77 of file RecCgemKalTrack.h.

77{ return m_zerrors[0]; }

◆ getZErrorK()

HepSymMatrix & RecCgemKalTrack::getZErrorK ( )
inline

Definition at line 91 of file RecCgemKalTrack.h.

91{ return m_zerrors[3]; }

◆ getZErrorMu()

HepSymMatrix & RecCgemKalTrack::getZErrorMu ( )
inline

Definition at line 84 of file RecCgemKalTrack.h.

84{ return m_zerrors[1]; }

◆ getZErrorP()

HepSymMatrix & RecCgemKalTrack::getZErrorP ( )
inline

Definition at line 98 of file RecCgemKalTrack.h.

98{ return m_zerrors[4]; }

◆ getZFi0()

const double RecCgemKalTrack::getZFi0 ( void ) const
inline

Definition at line 135 of file RecCgemKalTrack.h.

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

◆ getZHelix()

const HepVector & RecCgemKalTrack::getZHelix ( ) const
inline

Definition at line 65 of file RecCgemKalTrack.h.

65{ return m_zhelixs[2]; }

Referenced by CgemKalTrackCnv::DataObjectToTObject().

◆ getZHelixE()

HepVector & RecCgemKalTrack::getZHelixE ( )
inline

Definition at line 76 of file RecCgemKalTrack.h.

76{ return m_zhelixs[0]; }

◆ getZHelixK()

HepVector & RecCgemKalTrack::getZHelixK ( )
inline

Definition at line 90 of file RecCgemKalTrack.h.

90{ return m_zhelixs[3]; }

◆ getZHelixMu()

HepVector & RecCgemKalTrack::getZHelixMu ( )
inline

Definition at line 83 of file RecCgemKalTrack.h.

83{ return m_zhelixs[1]; }

◆ getZHelixP()

HepVector & RecCgemKalTrack::getZHelixP ( )
inline

Definition at line 97 of file RecCgemKalTrack.h.

97{ return m_zhelixs[4]; }

◆ getZTanl()

const double RecCgemKalTrack::getZTanl ( void ) const
inline

Definition at line 138 of file RecCgemKalTrack.h.

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

◆ operator=() [1/2]

RecCgemKalTrack & RecCgemKalTrack::operator= ( const DstCgemKalTrack & dstrk)

Definition at line 116 of file RecCgemKalTrack.cxx.

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

◆ operator=() [2/2]

RecCgemKalTrack & RecCgemKalTrack::operator= ( const RecCgemKalTrack & )

◆ setFiTerm()

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

Definition at line 288 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setLength()

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

Definition at line 159 of file RecCgemKalTrack.h.

159{ m_length[pid] = length; }
double length

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setLError() [1/2]

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

Definition at line 223 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setLError() [2/2]

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

Definition at line 231 of file RecCgemKalTrack.h.

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

◆ setLHelix() [1/2]

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

Definition at line 220 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setLHelix() [2/2]

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

Definition at line 226 of file RecCgemKalTrack.h.

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

◆ setLPivot()

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

Definition at line 293 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setLPoint()

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

Definition at line 283 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setMass()

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

Definition at line 158 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setNhits()

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

Definition at line 161 of file RecCgemKalTrack.h.

161{ m_nhits[pid] = nhits; }

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setPathl()

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

Definition at line 168 of file RecCgemKalTrack.h.

168{ m_pathl[i] = pathl; }

◆ setPathSM()

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

Definition at line 169 of file RecCgemKalTrack.h.

169{ m_pathSM[pid] = length; }

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setTError() [1/2]

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

Definition at line 249 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setTError() [2/2]

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

Definition at line 267 of file RecCgemKalTrack.h.

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

◆ setTHelix() [1/2]

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

Definition at line 243 of file RecCgemKalTrack.h.

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

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setTHelix() [2/2]

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

Definition at line 259 of file RecCgemKalTrack.h.

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

◆ setTof()

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

Definition at line 160 of file RecCgemKalTrack.h.

160{ m_tof[pid] = tof; }

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().

◆ setVecHelixSegs()

void RecCgemKalTrack::setVecHelixSegs ( const RecCgemHelixSegRefVec & vechelixsegs)

Definition at line 173 of file RecCgemKalTrack.cxx.

173 {
174 m_vechelixsegs = vechelixsegs;
175}

Referenced by RecCgemKalTrackCnv::TObjectToDataObject().


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