|
ACTS
Experiment-independent tracking
|
Classes | |
| struct | EtaThetaConversionTraits |
| struct | EtaThetaConversionTraits< double > |
| struct | EtaThetaConversionTraits< float > |
Functions | |
| template<typename Scalar> | |
| Scalar | etaFromTheta (Scalar theta) |
| Calculate the pseudorapidity from the polar angle theta. | |
| template<typename Scalar> | |
| Scalar | thetaFromEta (Scalar eta) |
| Calculate the polar angle theta from the pseudorapidity. | |
| Scalar Acts::AngleHelpers::etaFromTheta | ( | Scalar | theta | ) |
Calculate the pseudorapidity from the polar angle theta.
This function aims to be FPE safe and returns infinity for theta values outside the floating point precision range.
| theta | is the polar angle in radian towards the z-axis. |
| Scalar Acts::AngleHelpers::thetaFromEta | ( | Scalar | eta | ) |
Calculate the polar angle theta from the pseudorapidity.
This function aims to be FPE safe and returns 0/pi for eta values outside the floating point precision range.
| eta | is the pseudorapidity towards the z-axis. |