15#ifndef GPUTPCTRACKPARAM_H
16#define GPUTPCTRACKPARAM_H
24class GPUTPCTrackLinearisation;
44 GPUd()
float X()
const {
return mParam.X(); }
45 GPUd() float Y()
const {
return mParam.Y(); }
46 GPUd() float Z()
const {
return mParam.Z(); }
47 GPUd() float SinPhi()
const {
return mParam.SinPhi(); }
48 GPUd() float DzDs()
const {
return mParam.DzDs(); }
49 GPUd() float QPt()
const {
return mParam.QPt(); }
50 GPUd() float ZOffset()
const {
return mParam.ZOffset(); }
51 GPUd() float SignCosPhi()
const {
return mSignCosPhi; }
52 GPUd() float Chi2()
const {
return mChi2; }
53 GPUd() int32_t NDF()
const {
return mNDF; }
55 GPUd() float Err2Y()
const {
return mParam.Err2Y(); }
56 GPUd() float Err2Z()
const {
return mParam.Err2Z(); }
57 GPUd() float Err2SinPhi()
const {
return mParam.Err2SinPhi(); }
58 GPUd() float Err2DzDs()
const {
return mParam.Err2DzDs(); }
59 GPUd() float Err2QPt()
const {
return mParam.Err2QPt(); }
61 GPUd() float GetX()
const {
return mParam.GetX(); }
62 GPUd() float GetY()
const {
return mParam.GetY(); }
63 GPUd() float GetZ()
const {
return mParam.GetZ(); }
64 GPUd() float GetSinPhi()
const {
return mParam.GetSinPhi(); }
65 GPUd() float GetDzDs()
const {
return mParam.GetDzDs(); }
66 GPUd() float GetQPt()
const {
return mParam.GetQPt(); }
67 GPUd() float GetSignCosPhi()
const {
return mSignCosPhi; }
68 GPUd() float GetChi2()
const {
return mChi2; }
69 GPUd() int32_t GetNDF()
const {
return mNDF; }
71 GPUd() float GetKappa(
float Bz)
const {
return mParam.GetKappa(
Bz); }
72 GPUd() float GetCosPhi()
const {
return mSignCosPhi * CAMath::Sqrt(1 - SinPhi() * SinPhi()); }
74 GPUhd()
const float* Par()
const {
return mParam.Par(); }
75 GPUhd()
const float* Cov()
const {
return mParam.Cov(); }
77 GPUd()
const float* GetPar()
const {
return mParam.GetPar(); }
78 GPUd() float GetPar(int32_t
i)
const {
return (mParam.GetPar(
i)); }
79 GPUd() float GetCov(int32_t
i)
const {
return mParam.GetCov(
i); }
90 GPUd()
void SetZOffset(
float v) { mParam.SetZOffset(
v); }
91 GPUd()
void SetSignCosPhi(
float v) { mSignCosPhi =
v >= 0 ? 1 : -1; }
113 GPUd() static
float ApproximateBetheBloch(
float beta2);
114 GPUd() static
float BetheBlochGeant(
float bg,
float kp0 = 2.33
f,
float kp1 = 0.20
f,
float kp2 = 3.00
f,
float kp3 = 173e-9
f,
float kp4 = 0.49848
f);
115 GPUd() static
float BetheBlochSolid(
float bg);
116 GPUd() static
float BetheBlochGas(
float bg);
133 if (GetSinPhi() > limit) {
135 }
else if (GetSinPhi() < -limit) {
156GPUdi()
void GPUTPCTrackParam::InitParam()
#define GPUCA_MAX_SIN_PHI
float float float float & py
GPUhd() const float *Cov() const
float float float float float & pz
GPUd() const GPUTPCBaseTrackParam &GetParam() const
GPUd() float GetCov(int32_t i) const
GPUd() float Err2DzDs() const
GPUhd() const float *Par() const
float float float float kp3
GPUd() float Err2Y() const
GPUd() float GetZ() const
GPUd() float Chi2() const
GPUd() void SetParam(const GPUTPCBaseTrackParam &v)
float float float float bz
GPUd() void SetZOffset(float v)
GPUd() void SetX(float v)
GPUhd() void SetCov(int32_t i
float float float float float kp4
GPUd() float GetY() const
GPUd() void SetSinPhi(float v)
GPUd() float DzDs() const
GPUd() int32_t NDF() const
GPUd() void SetChi2(float v)
GPUdi() void ConstrainSinPhi(float limit
GPUd() float GetKappa(float Bz) const
float float float float float defaultZOffsetOverR
GPUd() void SetQPt(float v)
GPUd() float SignCosPhi() const
GPUd() const float *GetPar() const
GPUd() float GetX() const
GPUTPCTrackLinearisation float float float * DL
GPUd() float GetCosPhi() const
GPUd() float GetDist2(const GPUTPCTrackParam &t) const
GPUd() void SetDzDs(float v)
GPUd() float Err2Z() const
GPUd() int32_t GetNDF() const
GPUd() void SetZ(float v)
GPUd() float Err2SinPhi() const
GPUhd() void SetPar(int32_t i
GPUd() void SetY(float v)
GPUd() float GetDzDs() const
float float float float bool paramOnly
GPUd() float GetChi2() const
GPUd() void SetSignCosPhi(float v)
GPUd() float SinPhi() const
int32_t float float & lastZ
GPUTPCTrackLinearisation GPUTPCTrackFitParam & par
GPUd() float GetSignCosPhi() const
GPUd() float GetPar(int32_t i) const
GPUd() float GetSinPhi() const
GPUd() float ZOffset() const
GPUd() float GetQPt() const
GPUd() float Err2QPt() const
GPUd() void SetNDF(int32_t v)
GLfloat GLfloat GLfloat alpha
GLuint GLfloat GLfloat GLfloat x1
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t0
GLdouble GLdouble GLdouble z