#include <TrigInDetTrackHelper.h>
Definition at line 12 of file TrigInDetTrackHelper.h.
◆ TrigInDetTrackHelper()
◆ ~TrigInDetTrackHelper()
TrigInDetTrackHelper::~TrigInDetTrackHelper |
( |
| ) |
|
|
inline |
◆ extrapolate()
void TrigInDetTrackHelper::extrapolate |
( |
double |
rC, |
|
|
double |
zC, |
|
|
double & |
phiC, |
|
|
double & |
etaC |
|
) |
| const |
Definition at line 10 of file TrigInDetTrackHelper.cxx.
31 double Rcurv{0},
r{0},
z{0}, xD{0}, xN{0}, dphi{0};
46 if (rC > 0 && fabs(zC) > 0 &&
pt != 0 && fabs(
z0) < zC) {
51 if (fabs(
z) > fabs(zC)) {
53 if (
z > 0)
z = fabs(zC);
else z = -fabs(zC);
65 if (fabs(
d0) <=
r) phiC =
phi0 - asin(fabs(
d0)/
r);
68 xD = 2. *
r*(Rcurv +
d0);
70 xN =
d0 *
d0 +
r *
r + 2. * Rcurv *
d0;
71 if (fabs(xN)/fabs(xD) > 1) {
80 phiC =
phi0 -
q*M_PI_2 + dphi;
86 while (phiC >
M_PI) phiC = phiC - 2. *
M_PI;
87 while (phiC < -
M_PI) phiC = phiC + 2. *
M_PI;
◆ m_param
The documentation for this class was generated from the following files: