![]() |
PandaRoot
|
#include <PndCATrackParam.h>
Classes | |
struct | PndCATrackFitParam |
Public Member Functions | |
PndCATrackParam () | |
PndCATrackParam (const TrackParamVector &v, int i) | |
float | X () const |
float | Y () const |
float | Z () const |
float | SinPhi () const |
float | DzDs () const |
float | QPt () const |
float | QMomentum () const |
float | SignCosPhi () const |
float | Chi2 () const |
int | NDF () const |
float | Err2Y () const |
float | Err2Z () const |
float | Err2SinPhi () const |
float | Err2DzDs () const |
float | Err2QPt () const |
float | Angle () const |
int | ISec () const |
float | GetX () const |
float | GetY () const |
float | GetZ () const |
float | GetSinPhi () const |
float | GetDzDs () const |
float | GetQPt () const |
float | GetSignCosPhi () const |
float | GetChi2 () const |
int | GetNDF () const |
float | GetKappa (float Bz) const |
float | GetCosPhiPositive () const |
float | GetCosPhi () const |
float | GetErr2Y () const |
float | GetErr2Z () const |
float | GetErr2SinPhi () const |
float | GetErr2DzDs () const |
float | GetErr2QPt () const |
float | Err2X1 () const |
float | Err2X2 () const |
float | Err2QMomentum () const |
const float * | Par () const |
const float * | Cov () const |
const float * | GetPar () const |
const float * | GetCov () const |
void | SetPar (int i, float v) |
void | SetCov (int i, float v) |
void | SetX (float v) |
void | SetY (float v) |
void | SetZ (float v) |
void | SetSinPhi (float v) |
void | SetDzDs (float v) |
void | SetQPt (float v) |
void | SetSignCosPhi (float v) |
void | SetChi2 (float v) |
void | SetNDF (int v) |
void | SetAngle (float v) |
void | SetISec (int v) |
void | SetErr2QPt (float v) |
void | InitDirection (float r0, float r1, float r2) |
float | GetDist2 (const PndCATrackParam &t) const |
float | GetDistXZ2 (const PndCATrackParam &t) const |
float | GetS (float x, float y, float Bz) const |
void | GetDCAPoint (float x, float y, float z, float &px, float &py, float &pz, float Bz) const |
bool | TransportToX (float x, float Bz, float maxSinPhi=.999) |
bool | TransportToXWithMaterial (float x, float Bz, float maxSinPhi=.999) |
bool | TransportToX (float x, PndCATrackLinearisation &t0, float Bz, float maxSinPhi=.999, float *DL=nullptr) |
bool | TransportToX (float x, float sinPhi0, float cosPhi0, float Bz, float maxSinPhi=.999) |
bool | TransportToXWithMaterial (float x, PndCATrackLinearisation &t0, PndCATrackFitParam &par, float Bz, float maxSinPhi=.999) |
bool | TransportToXWithMaterial (float x, PndCATrackFitParam &par, float Bz, float maxSinPhi=.999) |
void | CalculateFitParameters (PndCATrackFitParam &par, float mass=0.13957) |
bool | CorrectForMeanMaterial (float xOverX0, float xTimesRho, const PndCATrackFitParam &par) |
bool | Rotate (float alpha, float maxSinPhi=.999) |
bool | Rotate (float alpha, PndCATrackLinearisation &t0, float maxSinPhi=.999) |
void | RotateXY (float alpha, float &x, float &y, float &sin) const |
bool | Filter (float y, float z, float err2Y, float errYZ, float err2Z, float maxSinPhi=.999) |
void | Print () const |
void | ResetCovMatrix () |
PndCATrackParam | GetGlobalParam (float alpha) const |
void | Reset () |
bool | Transport (const PndCAHit &hit, float Bz) |
bool | Filter (const PndCAHit &hit) |
bool | IsValid () const |
void | SetAsInvalid () |
Static Public Member Functions | |
static float | ApproximateBetheBloch (float beta2) |
static float | BetheBlochGeant (float bg, float kp0=2.33, float kp1=0.20, float kp2=3.00, float kp3=173e-9, float kp4=0.49848) |
static float | BetheBlochSolid (float bg) |
static float | BetheBlochGas (float bg) |
PndCATrackParam class describes the track parametrisation which is used by the PndCATracker slice tracker.
Definition at line 27 of file PndCATrackParam.h.
|
inline |
|
inline |
Definition at line 32 of file PndCATrackParam.h.
References PndCATrackParamVector::Cov(), i, and PndCATrackParamVector::Par().
|
inline |
Definition at line 74 of file PndCATrackParam.h.
|
inlinestatic |
Definition at line 308 of file PndCATrackParam.h.
References log().
Referenced by CalculateFitParameters(), and InitDirection().
|
static |
Referenced by InitDirection().
|
static |
Referenced by InitDirection().
|
static |
Referenced by InitDirection().
|
inline |
Definition at line 326 of file PndCATrackParam.h.
References ApproximateBetheBloch(), PndCATrackParam::PndCATrackFitParam::fBethe, PndCATrackParam::PndCATrackFitParam::fE, PndCATrackParam::PndCATrackFitParam::fEP2, PndCATrackParam::PndCATrackFitParam::fK22, PndCATrackParam::PndCATrackFitParam::fK33, PndCATrackParam::PndCATrackFitParam::fK43, PndCATrackParam::PndCATrackFitParam::fK44, PndCATrackParam::PndCATrackFitParam::fSigmadE2, PndCATrackParam::PndCATrackFitParam::fTheta2, and CAMath::Sqrt().
Referenced by InitDirection(), and Transport().
|
inline |
Definition at line 65 of file PndCATrackParam.h.
Referenced by PndCATrack::Fit().
|
inline |
Definition at line 495 of file PndCATrackParam.h.
References CAMath::Abs(), PndCATrackParam::PndCATrackFitParam::fBethe, PndCATrackParam::PndCATrackFitParam::fE, PndCATrackParam::PndCATrackFitParam::fEP2, PndCATrackParam::PndCATrackFitParam::fK22, PndCATrackParam::PndCATrackFitParam::fK33, PndCATrackParam::PndCATrackFitParam::fK43, PndCATrackParam::PndCATrackFitParam::fK44, PndCATrackParam::PndCATrackFitParam::fSigmadE2, and PndCATrackParam::PndCATrackFitParam::fTheta2.
Referenced by InitDirection().
|
inline |
Definition at line 102 of file PndCATrackParam.h.
|
inline |
Definition at line 56 of file PndCATrackParam.h.
|
inline |
Definition at line 71 of file PndCATrackParam.h.
|
inline |
Definition at line 99 of file PndCATrackParam.h.
Referenced by PndCANPlet::QMomentumErr(), and PndCANPlet::QMomentumErr2().
|
inline |
Definition at line 72 of file PndCATrackParam.h.
|
inline |
Definition at line 70 of file PndCATrackParam.h.
|
inline |
Definition at line 97 of file PndCATrackParam.h.
|
inline |
Definition at line 98 of file PndCATrackParam.h.
|
inline |
Definition at line 68 of file PndCATrackParam.h.
|
inline |
Definition at line 69 of file PndCATrackParam.h.
|
inline |
Definition at line 231 of file PndCATrackParam.h.
References CAMath::Abs(), f, and ISUNLIKELY.
Referenced by Filter(), InitDirection(), and Reset().
|
inline |
Definition at line 577 of file PndCATrackParam.h.
References PndCAHit::Err2X1(), PndCAHit::Err2X2(), PndCAHit::ErrX12(), Filter(), PndCAHit::X1(), and PndCAHit::X2().
|
inline |
Definition at line 84 of file PndCATrackParam.h.
|
inline |
Definition at line 89 of file PndCATrackParam.h.
References SinPhi(), and CAMath::Sqrt().
Referenced by RotateXY().
|
inline |
|
inline |
Definition at line 105 of file PndCATrackParam.h.
void PndCATrackParam::GetDCAPoint | ( | float | x, |
float | y, | ||
float | z, | ||
float & | px, | ||
float & | py, | ||
float & | pz, | ||
float | Bz | ||
) | const |
Referenced by InitDirection().
float PndCATrackParam::GetDist2 | ( | const PndCATrackParam & | t | ) | const |
Referenced by InitDirection().
float PndCATrackParam::GetDistXZ2 | ( | const PndCATrackParam & | t | ) | const |
Referenced by InitDirection().
|
inline |
Definition at line 81 of file PndCATrackParam.h.
|
inline |
Definition at line 94 of file PndCATrackParam.h.
|
inline |
Definition at line 95 of file PndCATrackParam.h.
|
inline |
Definition at line 93 of file PndCATrackParam.h.
|
inline |
Definition at line 91 of file PndCATrackParam.h.
|
inline |
Definition at line 92 of file PndCATrackParam.h.
PndCATrackParam PndCATrackParam::GetGlobalParam | ( | float | alpha | ) | const |
Referenced by ResetCovMatrix().
|
inline |
Definition at line 87 of file PndCATrackParam.h.
|
inline |
Definition at line 85 of file PndCATrackParam.h.
|
inline |
Definition at line 104 of file PndCATrackParam.h.
|
inline |
Definition at line 82 of file PndCATrackParam.h.
float PndCATrackParam::GetS | ( | float | x, |
float | y, | ||
float | Bz | ||
) | const |
Referenced by InitDirection().
|
inline |
Definition at line 83 of file PndCATrackParam.h.
|
inline |
Definition at line 80 of file PndCATrackParam.h.
|
inline |
Definition at line 77 of file PndCATrackParam.h.
|
inline |
Definition at line 78 of file PndCATrackParam.h.
|
inline |
Definition at line 79 of file PndCATrackParam.h.
|
inline |
Definition at line 125 of file PndCATrackParam.h.
References alpha, ApproximateBetheBloch(), BetheBlochGas(), BetheBlochGeant(), BetheBlochSolid(), CalculateFitParameters(), CorrectForMeanMaterial(), Filter(), GetDCAPoint(), GetDist2(), GetDistXZ2(), GetS(), Print(), pz, Rotate(), RotateXY(), SetDzDs(), SetSignCosPhi(), SetSinPhi(), sign(), sin(), sqrt(), TransportToX(), and TransportToXWithMaterial().
|
inline |
Definition at line 75 of file PndCATrackParam.h.
|
inline |
Definition at line 204 of file PndCATrackParam.h.
|
inline |
Definition at line 66 of file PndCATrackParam.h.
Referenced by PndCATrack::Fit().
|
inline |
Definition at line 101 of file PndCATrackParam.h.
void PndCATrackParam::Print | ( | ) | const |
Referenced by InitDirection().
|
inline |
Definition at line 58 of file PndCATrackParam.h.
Referenced by PndCANPlet::QMomentum().
|
inline |
Definition at line 57 of file PndCATrackParam.h.
|
inline |
Definition at line 188 of file PndCATrackParam.h.
References Filter(), i, and Transport().
Referenced by PndCATrackParam().
|
inline |
Definition at line 167 of file PndCATrackParam.h.
References GetGlobalParam().
bool PndCATrackParam::Rotate | ( | float | alpha, |
float | maxSinPhi = .999 |
||
) |
Referenced by InitDirection(), and Transport().
bool PndCATrackParam::Rotate | ( | float | alpha, |
PndCATrackLinearisation & | t0, | ||
float | maxSinPhi = .999 |
||
) |
|
inline |
Definition at line 219 of file PndCATrackParam.h.
References CAMath::Cos(), GetCosPhi(), CAMath::Sin(), SinPhi(), X(), and Y().
Referenced by InitDirection().
|
inline |
|
inline |
Definition at line 205 of file PndCATrackParam.h.
|
inline |
|
inline |
Definition at line 108 of file PndCATrackParam.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 107 of file PndCATrackParam.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
The sign of cos phi is always positive in the slice tracker. Only after coordinate transformation can the sign change to negative.
Definition at line 64 of file PndCATrackParam.h.
|
inline |
Definition at line 55 of file PndCATrackParam.h.
Referenced by GetCosPhi(), GetCosPhiPositive(), and RotateXY().
|
inline |
Definition at line 565 of file PndCATrackParam.h.
References PndCAHit::Angle(), CalculateFitParameters(), Rotate(), TransportToXWithMaterial(), and PndCAHit::X0().
Referenced by Reset().
bool PndCATrackParam::TransportToX | ( | float | x, |
float | Bz, | ||
float | maxSinPhi = .999 |
||
) |
Referenced by InitDirection(), and TransportToXWithMaterial().
|
inline |
Definition at line 357 of file PndCATrackParam.h.
References CAMath::Abs(), CAMath::ASin(), PndCATrackLinearisation::CosPhi(), PndCATrackLinearisation::DzDs(), f, PndCATrackLinearisation::QPt(), PndCATrackLinearisation::SetCosPhi(), PndCATrackLinearisation::SetSinPhi(), PndCATrackLinearisation::SinPhi(), CAMath::Sqrt(), X(), Y(), and Z().
bool PndCATrackParam::TransportToX | ( | float | x, |
float | sinPhi0, | ||
float | cosPhi0, | ||
float | Bz, | ||
float | maxSinPhi = .999 |
||
) |
bool PndCATrackParam::TransportToXWithMaterial | ( | float | x, |
float | Bz, | ||
float | maxSinPhi = .999 |
||
) |
Referenced by InitDirection(), Transport(), and TransportToXWithMaterial().
|
inline |
Definition at line 539 of file PndCATrackParam.h.
References TransportToX().
|
inline |
Definition at line 557 of file PndCATrackParam.h.
References TransportToXWithMaterial().
|
inline |
Definition at line 52 of file PndCATrackParam.h.
Referenced by RotateXY(), and TransportToX().
|
inline |
Definition at line 53 of file PndCATrackParam.h.
Referenced by RotateXY(), and TransportToX().
|
inline |