FairRoot/PandaRoot
Public Member Functions | Private Attributes | List of all members
KFPTrack Class Reference

#include <KFPTrack.h>

Public Member Functions

 KFPTrack ()
 
 ~KFPTrack ()
 
int GetID () const
 
bool GetXYZPxPyPz (float *p) const
 
bool GetCovarianceXYZPxPyPz (float cv[21]) const
 
bool GetCovarianceXYZPxPyPz (double cv[21]) const
 
void GetXYZ (float *position) const
 
void GetPxPyPz (float *position) const
 
void XvYvZv (float *position) const
 
void PxPyPz (float *position) const
 
void XvYvZv (double *position) const
 
void PxPyPz (double *position) const
 
float GetX () const
 
float GetY () const
 
float GetZ () const
 
float GetPx () const
 
float GetPy () const
 
float GetPz () const
 
float GetPt () const
 
float GetP () const
 
void GetCovarianceMatrix (float *covmatrix)
 
float GetParameter (int i) const
 
float GetCovariance (int i) const
 
int Charge () const
 
float GetChi2perNDF () const
 
float GetChi2 () const
 
int GetNDF () const
 
const float * GetTrack () const
 
const float * GetCovMatrix () const
 
void SetParameters (float *position)
 
void SetParameters (float x, float y, float z, float px, float py, float pz)
 
void SetXYZ (float x, float y, float z)
 
void SetPxPyPz (float px, float py, float pz)
 
void SetID (int id)
 
void SetX (float x)
 
void SetY (float y)
 
void SetZ (float z)
 
void SetPx (float px)
 
void SetPy (float py)
 
void SetPz (float pz)
 
void SetCharge (int q)
 
void SetChi2 (float chi)
 
void SetNDF (int ndf)
 
void SetCovarianceMatrix (const float *C)
 
void RotateXY (float alpha)
 
int Id () const
 
void SetId (int id)
 

Private Attributes

int ID
 
float fP [6]
 
float fC [21]
 
float fChi2
 
int fQ
 
int fNDF
 
int fId
 

Detailed Description

Definition at line 6 of file KFPTrack.h.

Constructor & Destructor Documentation

KFPTrack::KFPTrack ( )
inline

Definition at line 10 of file KFPTrack.h.

10 { }
KFPTrack::~KFPTrack ( )
inline

Definition at line 11 of file KFPTrack.h.

11 { }

Member Function Documentation

int KFPTrack::Charge ( ) const
inline

Definition at line 62 of file KFPTrack.h.

References fQ.

Referenced by KFParticleSIMD::Create(), KFParticleFinder::FindParticles(), KFParticle::KFParticle(), and KFParticleSIMD::KFParticleSIMD().

62 { return fQ; }
int fQ
Definition: KFPTrack.h:117
float KFPTrack::GetChi2 ( ) const
inline

Definition at line 64 of file KFPTrack.h.

References fChi2.

Referenced by KFParticleSIMD::Create(), KFParticleFinder::FindParticles(), KFParticle::KFParticle(), and KFParticleSIMD::KFParticleSIMD().

64 { return fChi2; }
float fChi2
Definition: KFPTrack.h:116
float KFPTrack::GetChi2perNDF ( ) const
inline

Definition at line 63 of file KFPTrack.h.

References fChi2, and fNDF.

63 { return fChi2/fNDF; }
int fNDF
Definition: KFPTrack.h:118
float fChi2
Definition: KFPTrack.h:116
float KFPTrack::GetCovariance ( int  i) const
inline

Definition at line 60 of file KFPTrack.h.

References fC, and i.

60 { return fC[i]; }
Int_t i
Definition: run_full.C:25
float fC[21]
Definition: KFPTrack.h:115
void KFPTrack::GetCovarianceMatrix ( float *  covmatrix)
inline

Definition at line 54 of file KFPTrack.h.

References fC, and i.

55  {
56  for (int i=0; i<21; i++)
57  covmatrix[i] = fC[i];
58  }
Int_t i
Definition: run_full.C:25
float fC[21]
Definition: KFPTrack.h:115
bool KFPTrack::GetCovarianceXYZPxPyPz ( float  cv[21]) const
inline

Definition at line 21 of file KFPTrack.h.

References fC, and i.

Referenced by KFParticleSIMD::Create(), KFParticle::KFParticle(), and KFParticleSIMD::KFParticleSIMD().

22  {
23  for (int i=0; i<21; i++)
24  cv[i] = fC[i];
25  return 1;
26  }
Int_t i
Definition: run_full.C:25
float fC[21]
Definition: KFPTrack.h:115
bool KFPTrack::GetCovarianceXYZPxPyPz ( double  cv[21]) const
inline

Definition at line 28 of file KFPTrack.h.

References fC, and i.

29  {
30  for (int i=0; i<21; i++)
31  cv[i] = fC[i];
32  return 1;
33  }
Int_t i
Definition: run_full.C:25
float fC[21]
Definition: KFPTrack.h:115
const float* KFPTrack::GetCovMatrix ( ) const
inline

Definition at line 68 of file KFPTrack.h.

References fC.

Referenced by KFParticleFinder::FindParticles().

68 { return fC; }
float fC[21]
Definition: KFPTrack.h:115
int KFPTrack::GetID ( ) const
inline

Definition at line 13 of file KFPTrack.h.

References ID.

13 { return ID; }
int ID
Definition: KFPTrack.h:109
int KFPTrack::GetNDF ( ) const
inline

Definition at line 65 of file KFPTrack.h.

References fNDF.

Referenced by KFParticleSIMD::Create(), KFParticleFinder::FindParticles(), KFParticle::KFParticle(), and KFParticleSIMD::KFParticleSIMD().

65 { return fNDF; }
int fNDF
Definition: KFPTrack.h:118
float KFPTrack::GetP ( ) const
inline

Definition at line 52 of file KFPTrack.h.

References fP, and sqrt().

Referenced by KFParticleFinder::Find2DaughterDecay().

52 { return sqrt(fP[3]*fP[3]+fP[4]*fP[4]+fP[5]*fP[5]); }
friend F32vec4 sqrt(const F32vec4 &a)
Definition: P4_F32vec4.h:29
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetParameter ( int  i) const
inline

Definition at line 59 of file KFPTrack.h.

References fP, and i.

59 { return fP[i]; }
Int_t i
Definition: run_full.C:25
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetPt ( ) const
inline

Definition at line 51 of file KFPTrack.h.

References fP, and sqrt().

Referenced by KFParticleFinder::Find2DaughterDecay(), and KFParticleFinder::FindDMesLambdac().

51 { return sqrt(fP[3]*fP[3]+fP[4]*fP[4]); }
friend F32vec4 sqrt(const F32vec4 &a)
Definition: P4_F32vec4.h:29
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetPx ( ) const
inline

Definition at line 47 of file KFPTrack.h.

References fP.

Referenced by RotateXY().

47 { return fP[3]; }
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::GetPxPyPz ( float *  position) const
inline

Definition at line 37 of file KFPTrack.h.

References fP.

37 {position[0] = fP[3]; position[1] = fP[4]; position[2] = fP[5];}
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetPy ( ) const
inline

Definition at line 48 of file KFPTrack.h.

References fP.

Referenced by RotateXY().

48 { return fP[4]; }
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetPz ( ) const
inline

Definition at line 49 of file KFPTrack.h.

References fP.

49 { return fP[5]; }
float fP[6]
Definition: KFPTrack.h:114
const float* KFPTrack::GetTrack ( ) const
inline

Definition at line 67 of file KFPTrack.h.

References fP.

Referenced by KFParticleFinder::FindParticles().

67 { return fP; }
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetX ( ) const
inline

Definition at line 44 of file KFPTrack.h.

References fP.

Referenced by RotateXY().

44 { return fP[0]; }
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::GetXYZ ( float *  position) const
inline

Definition at line 36 of file KFPTrack.h.

References fP.

36 {position[0] = fP[0]; position[1] = fP[1]; position[2] = fP[2];}
float fP[6]
Definition: KFPTrack.h:114
bool KFPTrack::GetXYZPxPyPz ( float *  p) const
inline

Definition at line 15 of file KFPTrack.h.

References fP, and i.

16  {
17  for(int i=0; i<6; i++)
18  p[i] = fP[i];
19  return 1;
20  }
Int_t i
Definition: run_full.C:25
Double_t p
Definition: anasim.C:58
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetY ( ) const
inline

Definition at line 45 of file KFPTrack.h.

References fP.

Referenced by RotateXY().

45 { return fP[1]; }
float fP[6]
Definition: KFPTrack.h:114
float KFPTrack::GetZ ( ) const
inline

Definition at line 46 of file KFPTrack.h.

References fP.

Referenced by RotateXY().

46 { return fP[2]; }
float fP[6]
Definition: KFPTrack.h:114
int KFPTrack::Id ( ) const
inline

Definition at line 108 of file KFPTrack.h.

References fId.

Referenced by KFParticleFinder::FindParticles().

108 { return fId; };
int fId
Definition: KFPTrack.h:120
void KFPTrack::PxPyPz ( float *  position) const
inline

Definition at line 40 of file KFPTrack.h.

References fP.

Referenced by KFParticleSIMD::Create(), KFParticle::KFParticle(), and KFParticleSIMD::KFParticleSIMD().

40 {position[0] = fP[3]; position[1] = fP[4]; position[2] = fP[5];}
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::PxPyPz ( double *  position) const
inline

Definition at line 42 of file KFPTrack.h.

References fP.

42 {position[0] = fP[3]; position[1] = fP[4]; position[2] = fP[5];}
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::RotateXY ( float  alpha)

Definition at line 7 of file KFPTrack.cxx.

References cos(), fC, GetPx(), GetPy(), GetX(), GetY(), GetZ(), i, SetPx(), SetPy(), SetX(), SetY(), SetZ(), sin(), x, and y.

Referenced by PndFTSTopoReconstructor::Init().

8 {
9  const float cA = cos( alpha );
10  const float sA = sin( alpha );
11 
12 #if 0
13  //float J[6][6] = { { cA, sA, 0, 0, 0, 0 }, // X
14  // { -sA, cA, 0, 0, 0, 0 }, // Y
15  // { 0, 0, 1, 0, 0, 0 }, // Z
16  // { 0, 0, 0, cA, sA, 0 }, // Px
17  // { 0, 0, 0, -sA, cA, 0 }, // Py
18  // { 0, 0, 0, 0, 0, 1 } }; // Pz
19 
20 #if defined(PANDA_STT) || defined(PANDA_FTS)
21  float J[2][2] = { { sA, cA },
22  { cA, -sA } };
23 #else
24  float J[2][2] = { { cA, sA },
25  { -sA, cA } };
26 #endif
27 
28  { // convert x, y TODO optimize
29  const float x = GetX(), y = GetY();
30 
31 #if defined(PANDA_STT) || defined(PANDA_FTS)
32  SetX( x*sA + y*cA );
33  SetY( x*cA - y*sA );
34 #else
35  SetX( x*cA + y*sA );
36  SetY( -x*sA + y*cA );
37 #endif
38 
39  float Cov1[2][2]; // triangular -> symmetric matrix
40  Cov1[0][0] = fC[0];
41  Cov1[0][1] = fC[1];
42  Cov1[1][0] = fC[1];
43  Cov1[1][1] = fC[2];
44 
45  float Cov2[2][2]; // Cov2 = Cov1 * J^t
46  for (int i = 0; i < 2; i++)
47  for (int j = 0; j < 2; j++) {
48  Cov2[i][j] = 0;
49  for (int k = 0; k < 2; k++) {
50  Cov2[i][j] += Cov1[i][k] * J[j][k];
51  }
52  }
53 
54  // Cov1 = J * Cov2
55  for (int i = 0; i < 2; i++)
56  for (int j = 0; j < 2; j++) {
57  Cov1[i][j] = 0;
58  for (int k = 0; k < 2; k++) {
59  Cov1[i][j] += J[i][k] * Cov2[k][j];
60  }
61  }
62 
63  // symmetric matrix -> triangular
64  fC[0] = Cov1[0][0];
65  fC[1] = Cov1[0][1];
66  fC[2] = Cov1[1][1];
67  }
68 
69  { // convert Px, Py TODO optimize
70  const float x = GetPx(), y = GetPy();
71 #if defined(PANDA_STT) || defined(PANDA_FTS)
72  SetPx( -x*sA - y*cA );
73  SetPy( -x*cA + y*sA );
74  float J[2][2] = { { -sA, -cA },
75  { -cA, sA } };
76 #else
77  SetPx( x*cA + y*sA );
78  SetPy( -x*sA + y*cA );
79 #endif
80 
81  float Cov1[2][2]; // triangular -> symmetric matrix
82  Cov1[0][0] = fC[9];
83  Cov1[0][1] = fC[13];
84  Cov1[1][0] = fC[13];
85  Cov1[1][1] = fC[14];
86 
87 
88  float Cov2[2][2]; // Cov2 = Cov1 * J^t
89  for (int i = 0; i < 2; i++)
90  for (int j = 0; j < 2; j++) {
91  Cov2[i][j] = 0;
92  for (int k = 0; k < 2; k++) {
93  Cov2[i][j] += Cov1[i][k] * J[j][k];
94  }
95  }
96 
97  // Cov1 = J * Cov2
98  for (int i = 0; i < 2; i++)
99  for (int j = 0; j < 2; j++) {
100  Cov1[i][j] = 0;
101  for (int k = 0; k < 2; k++) {
102  Cov1[i][j] += J[i][k] * Cov2[k][j];
103  }
104  }
105 
106  // symmetric matrix -> triangular
107 
108  fC[9] = Cov1[0][0];
109  fC[13] = Cov1[0][1];
110  fC[14] = Cov1[1][1];
111  }
112 #if defined(PANDA_STT) || defined(PANDA_FTS)
113  //Change sign of px, py, z
114 // SetPx(-GetPx());
115 // SetPy(-GetPy());
116  SetZ( -GetZ() );
117 // fC[ 3] = -fC[ 3];
118 // fC[ 4] = -fC[ 4];
119 // fC[ 8] = -fC[ 8];
120 // fC[12] = -fC[12];
121 
122  fC[ 3] = -fC[ 3];
123  fC[ 4] = -fC[ 4];
124  fC[ 6] = -fC[ 6];
125  fC[ 7] = -fC[ 7];
126  fC[10] = -fC[10];
127  fC[11] = -fC[11];
128  fC[17] = -fC[17];
129  fC[18] = -fC[18];
130  fC[19] = -fC[19];
131 #endif
132 
133 #else
134 #if defined(PANDA_STT) || defined(PANDA_FTS)
135  //float J[6][6] = { { sA, cA, 0, 0, 0, 0 }, // X
136  // { cA, -sA, 0, 0, 0, 0 }, // Y
137  // { 0, 0, -1, 0, 0, 0 }, // Z
138  // { 0, 0, 0, -sA, -cA, 0 }, // Px
139  // { 0, 0, 0, -cA, sA, 0 }, // Py
140  // { 0, 0, 0, 0, 0, 1 } }; // Pz
141 
142  const float x = GetX(), y = GetY();
143 
144  SetX( x*sA + y*cA );
145  SetY( x*cA - y*sA );
146 
147  const float px = GetPx(), py = GetPy();
148 
149  SetPx( -px*sA - py*cA );
150  SetPy( -px*cA + py*sA );
151 
152  SetZ( -GetZ() );
153 
154  float cov[21];
155  for(int iC=0; iC<21; iC++)
156  cov[iC] = fC[iC];
157 
158  fC[0] = cA*cA* cov[2] + 2*cA*cov[1]*sA + cov[0]*sA*sA;
159  fC[1] = cA*cA*cov[1] + cA *(cov[0] - cov[2])* sA - cov[1]* sA*sA;
160  fC[2] = cA*cA*cov[0] - 2* cA *cov[1] *sA + cov[2]* sA*sA,
161 
162  fC[3] = -cA* cov[4] - cov[3]* sA;
163  fC[4] = -cA* cov[3] + cov[4]* sA;
164  fC[5] = cov[5];
165 
166  fC[6] = -cA*cA* cov[11] - cA* (cov[10] + cov[7])* sA - cov[6]* sA*sA;
167  fC[7] = -cA*cA* cov[10] + cA* (cov[11] - cov[6])* sA + cov[7]* sA*sA;
168  fC[8] = cA* cov[12] + cov[8]* sA;
169  fC[9] = cA*cA* cov[14] + 2* cA* cov[13]* sA + cov[9]* sA*sA;
170 
171  fC[10] = -cA*cA* cov[7] + cA* (cov[11] - cov[6])* sA + cov[10]* sA*sA;
172  fC[11] = -cA*cA* cov[6] + cA* (cov[10] + cov[7])* sA - cov[11]* sA*sA;
173  fC[12] = cA* cov[8] - cov[12]* sA;
174  fC[13] = cA*cA* cov[13] + cA* (-cov[14] + cov[9])* sA - cov[13]* sA*sA;
175  fC[14] = cA*cA* cov[9] - 2 *cA* cov[13]* sA + cov[14]* sA*sA;
176 
177  fC[15] = cA *cov[16] + cov[15]* sA;
178  fC[16] = cA *cov[15] - cov[16]* sA;
179  fC[17] = -cov[17];
180  fC[18] = -cA* cov[19] - cov[18]* sA;
181  fC[19] = -cA * cov[18] + cov[19]* sA;
182  fC[20] = cov[20];
183 #else
184  //float J[6][6] = { { cA, -sA, 0, 0, 0, 0 }, // X
185  // { sA, cA, 0, 0, 0, 0 }, // Y
186  // { 0, 0, 1, 0, 0, 0 }, // Z
187  // { 0, 0, 0, cA, -sA, 0 }, // Px
188  // { 0, 0, 0, sA, cA, 0 }, // Py
189  // { 0, 0, 0, 0, 0, 1 } }; // Pz
190 
191  const float x = GetX(), y = GetY();
192 
193  SetX( x*cA - y*sA );
194  SetY( x*sA + y*cA );
195 
196  const float px = GetPx(), py = GetPy();
197 
198  SetPx( px*cA - py*sA );
199  SetPy( px*sA + py*cA );
200 
201  float cov[21];
202  for(int iC=0; iC<21; iC++)
203  cov[iC] = fC[iC];
204 
205  fC[0] = cA*cA* cov[0] - 2*cA*cov[1]*sA + cov[2]*sA*sA;
206 
207  fC[1] = cA*cA*cov[1] + cA *(cov[0] - cov[2])* sA - cov[1]* sA*sA;
208  fC[2] = cA*cA*cov[2] + 2* cA *cov[1] *sA + cov[0]* sA*sA,
209 
210  fC[3] = cA* cov[3] - cov[4]* sA;
211  fC[4] = cA* cov[4] + cov[3]* sA;
212  fC[5] = cov[5];
213 
214  fC[6] = cA* (cA* cov[6] - cov[10]* sA) - sA* (cA* cov[7] - cov[11]* sA);
215  fC[7] = sA* (cA* cov[6] - cov[10]* sA) + cA* (cA* cov[7] - cov[11]* sA);
216  fC[8] = cA* cov[8] - cov[12]* sA;
217  fC[9] = cA* (cA* cov[9] - cov[13]* sA) - sA *(cA* cov[13] - cov[14]* sA);
218 
219  fC[10] = cA *(cov[10]* cA + cov[6]* sA) - (cov[11]* cA + cov[7] *sA) *sA;
220  fC[11] = cA *(cov[11]* cA + cov[7]* sA) + (cov[10]* cA + cov[6] *sA) *sA;
221  fC[12] = cov[12] *cA + cov[8]* sA;
222  fC[13] = -sA* (cA* cov[14] + cov[13]* sA) + cA* (cA* cov[13] + cov[9]* sA),
223  fC[14] = cA *(cA* cov[14] + cov[13]* sA) + sA* (cA* cov[13] + cov[9]* sA);
224 
225  fC[15] = cA *cov[15] - cov[16]* sA;
226  fC[16] = cA *cov[16] + cov[15]* sA;
227  fC[17] = cov[17];
228  fC[18] = cA* cov[18] - cov[19]* sA;
229  fC[19] = cA * cov[19] + cov[18]* sA;
230  fC[20] = cov[20];
231 #endif
232 #endif
233 
234 } // RotateXY
float GetY() const
Definition: KFPTrack.h:45
friend F32vec4 cos(const F32vec4 &a)
Definition: P4_F32vec4.h:112
Int_t i
Definition: run_full.C:25
void SetZ(float z)
Definition: KFPTrack.h:92
friend F32vec4 sin(const F32vec4 &a)
Definition: P4_F32vec4.h:111
float GetZ() const
Definition: KFPTrack.h:46
void SetY(float y)
Definition: KFPTrack.h:91
void SetX(float x)
Definition: KFPTrack.h:90
void SetPx(float px)
Definition: KFPTrack.h:93
float GetX() const
Definition: KFPTrack.h:44
float fC[21]
Definition: KFPTrack.h:115
float GetPx() const
Definition: KFPTrack.h:47
void SetPy(float py)
Definition: KFPTrack.h:94
Double_t x
Double_t y
double alpha
Definition: f_Init.h:9
float GetPy() const
Definition: KFPTrack.h:48
void KFPTrack::SetCharge ( int  q)
inline

Definition at line 96 of file KFPTrack.h.

References fQ.

Referenced by PndFTSTopoReconstructor::Init().

96 { fQ = q; }
int fQ
Definition: KFPTrack.h:117
void KFPTrack::SetChi2 ( float  chi)
inline

Definition at line 97 of file KFPTrack.h.

References fChi2.

Referenced by PndFTSTopoReconstructor::Init().

97 { fChi2 = chi; }
float fChi2
Definition: KFPTrack.h:116
void KFPTrack::SetCovarianceMatrix ( const float *  C)
inline

Definition at line 100 of file KFPTrack.h.

References fC, and i.

Referenced by PndFTSTopoReconstructor::Init().

101  {
102  for (int i=0; i<21; i++)
103  fC[i] = C[i];
104  }
Int_t i
Definition: run_full.C:25
int Pic_FED Eff_lEE C()
float fC[21]
Definition: KFPTrack.h:115
void KFPTrack::SetID ( int  id)
inline

Definition at line 88 of file KFPTrack.h.

References ID.

88 {ID = id;}
int ID
Definition: KFPTrack.h:109
void KFPTrack::SetId ( int  id)
inline

Definition at line 109 of file KFPTrack.h.

References fId.

Referenced by PndFTSTopoReconstructor::Init().

109 { fId = id; };
int fId
Definition: KFPTrack.h:120
void KFPTrack::SetNDF ( int  ndf)
inline

Definition at line 98 of file KFPTrack.h.

References fNDF.

Referenced by PndFTSTopoReconstructor::Init().

98 { fNDF = ndf; }
int fNDF
Definition: KFPTrack.h:118
void KFPTrack::SetParameters ( float *  position)
inline

Definition at line 70 of file KFPTrack.h.

References fP, and i.

71  {
72  for(int i=0; i<6; i++)
73  fP[i] = position[i];
74  }
Int_t i
Definition: run_full.C:25
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::SetParameters ( float  x,
float  y,
float  z,
float  px,
float  py,
float  pz 
)
inline

Definition at line 75 of file KFPTrack.h.

References fP, pz, x, y, and z.

76  {
77  fP[0] = x; fP[1] = y; fP[2] = z;
78  fP[3] = px; fP[4] = py; fP[5] = pz;
79  }
Double_t z
float fP[6]
Definition: KFPTrack.h:114
Double_t x
Double_t y
double pz[39]
Definition: pipisigmas.h:14
void KFPTrack::SetPx ( float  px)
inline

Definition at line 93 of file KFPTrack.h.

References fP.

Referenced by PndFTSTopoReconstructor::Init(), and RotateXY().

93 { fP[3] = px; }
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::SetPxPyPz ( float  px,
float  py,
float  pz 
)
inline

Definition at line 84 of file KFPTrack.h.

References fP, and pz.

85  {
86  fP[3] = px; fP[4] = py; fP[5] = pz;
87  }
float fP[6]
Definition: KFPTrack.h:114
double pz[39]
Definition: pipisigmas.h:14
void KFPTrack::SetPy ( float  py)
inline

Definition at line 94 of file KFPTrack.h.

References fP.

Referenced by PndFTSTopoReconstructor::Init(), and RotateXY().

94 { fP[4] = py; }
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::SetPz ( float  pz)
inline

Definition at line 95 of file KFPTrack.h.

References fP, and pz.

Referenced by PndFTSTopoReconstructor::Init().

95 { fP[5] = pz; }
float fP[6]
Definition: KFPTrack.h:114
double pz[39]
Definition: pipisigmas.h:14
void KFPTrack::SetX ( float  x)
inline

Definition at line 90 of file KFPTrack.h.

References fP, and x.

Referenced by PndFTSTopoReconstructor::Init(), and RotateXY().

90 { fP[0] = x; }
float fP[6]
Definition: KFPTrack.h:114
Double_t x
void KFPTrack::SetXYZ ( float  x,
float  y,
float  z 
)
inline

Definition at line 80 of file KFPTrack.h.

References fP, x, y, and z.

81  {
82  fP[0] = x; fP[1] = y; fP[2] = z;
83  }
Double_t z
float fP[6]
Definition: KFPTrack.h:114
Double_t x
Double_t y
void KFPTrack::SetY ( float  y)
inline

Definition at line 91 of file KFPTrack.h.

References fP, and y.

Referenced by PndFTSTopoReconstructor::Init(), and RotateXY().

91 { fP[1] = y; }
float fP[6]
Definition: KFPTrack.h:114
Double_t y
void KFPTrack::SetZ ( float  z)
inline

Definition at line 92 of file KFPTrack.h.

References fP, and z.

Referenced by PndFTSTopoReconstructor::Init(), and RotateXY().

92 { fP[2] = z; }
Double_t z
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::XvYvZv ( float *  position) const
inline

Definition at line 39 of file KFPTrack.h.

References fP.

Referenced by KFParticleSIMD::Create(), KFParticle::KFParticle(), and KFParticleSIMD::KFParticleSIMD().

39 {position[0] = fP[0]; position[1] = fP[1]; position[2] = fP[2];}
float fP[6]
Definition: KFPTrack.h:114
void KFPTrack::XvYvZv ( double *  position) const
inline

Definition at line 41 of file KFPTrack.h.

References fP.

41 {position[0] = fP[0]; position[1] = fP[1]; position[2] = fP[2];}
float fP[6]
Definition: KFPTrack.h:114

Member Data Documentation

float KFPTrack::fC[21]
private
float KFPTrack::fChi2
private

Definition at line 116 of file KFPTrack.h.

Referenced by GetChi2(), GetChi2perNDF(), and SetChi2().

int KFPTrack::fId
private

Definition at line 120 of file KFPTrack.h.

Referenced by Id(), and SetId().

int KFPTrack::fNDF
private

Definition at line 118 of file KFPTrack.h.

Referenced by GetChi2perNDF(), GetNDF(), and SetNDF().

float KFPTrack::fP[6]
private
int KFPTrack::fQ
private

Definition at line 117 of file KFPTrack.h.

Referenced by Charge(), and SetCharge().

int KFPTrack::ID
private

Definition at line 109 of file KFPTrack.h.

Referenced by GetID(), and SetID().


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