32 float co = TMath::Abs(
o.getPt());
33 float c = TMath::Abs(getPt());
47 float f1 = getSnp(), r1 = TMath::Sqrt((1. -
f1) * (1. +
f1));
48 float xt = getX(), yt = getY();
49 float sn = TMath::Sin(getAlpha()), cs = TMath::Cos(getAlpha());
50 float a =
x * cs +
y * sn;
56 float rp4 = getCurvature(bz);
58 ip[0] = -(xt *
f1 - yt * r1);
59 ip[1] = getZ() + (ip[0] *
f1 - xt) / r1 * getTgl() -
z;
65 a = 2 * (xt *
f1 - yt * r1) - rp4 * (xt * xt + yt * yt);
66 float rr = TMath::Sqrt(sn * sn + cs * cs);
67 ip[0] = -
a / (1 +
rr);
68 float f2 = -sn /
rr, r2 = TMath::Sqrt((1. -
f2) * (1. +
f2));
69 ip[1] = getZ() + getTgl() / rp4 * TMath::ASin(
f2 * r1 -
f1 * r2) -
z;
75 if (propagateTo(
x, bz)) {
96 int ncl = getNumberOfClusters();
97 int nclb = best.getNumberOfClusters();
100 float chi2 = getChi2();
101 if (chi2 < maxChi2) {
102 if (ncl > nclb || chi2 < best.getChi2()) {
114 auto lastClus = firstClus + getNClusters();
115 for (
auto iCl{firstClus}; iCl < lastClus; ++iCl) {
Definition of the ITS track.
bool operator<(const TrackITS &o) const
bool hasHitOnLayer(uint32_t i) const
uint32_t getFirstClusterLayer() const
int getNFakeClusters() const
void getImpactParams(float x, float y, float z, float bz, float ip[2]) const
bool isFakeOnLayer(uint32_t i) const
bool propagate(float alpha, float x, float bz)
bool isBetter(const TrackITS &best, float maxChi2) const
bool update(const Cluster &c, float chi2)
Cluster class for the ITSMFT.
GLfloat GLfloat GLfloat alpha
GLboolean GLboolean GLboolean GLboolean a
GLdouble GLdouble GLdouble z