![]() |
Belle II Software release-09-00-03
|
Helper class representing a helical track. More...
#include <HelixHelper.h>

Public Member Functions | |
| HelixHelper (float z0, float d0, float omega, float cotTheta, float phi) | |
| construct a helix with given helix parameters, as defined for Track objects | |
| HelixHelper (const ROOT::Math::XYZVector &poca, const ROOT::Math::XYZVector &momentum_in_poca, int charge) | |
| construct a helix at an arbitrary position 'poca' (helices built at different points are not comparable) | |
| double | pathLengthToPoint (const ROOT::Math::XYZVector &p) const |
| returns the path length (along the helix) to the helix point closest to p. | |
| double | pathLengthToLine (const ROOT::Math::XYZVector &a, const ROOT::Math::XYZVector &b) const |
| returns the path length (along the helix) to the helix point closest to the line going through points a and b. | |
| ROOT::Math::XYZVector | momentum (double s=0) const |
| momentum of the particle, at the helix point corresponding to a flown path length s (from poca). | |
| ROOT::Math::XYZVector | position (double s) const |
| point on helix corresponding to a flown path length s (from poca) | |
Static Private Member Functions | |
| static double | distanceToPoint (double s) |
| minimization function, calculates distance to minimize_distance_to_point | |
| static double | distanceToLine (double s) |
| same as distanceToPoint, but ignoring z coordinate | |
Private Attributes | |
| float | m_z0 |
| minimal z distance of point of closest approach to origin | |
| float | m_d0 |
| minimal r distance of point of closest approach to origin | |
| float | m_omega |
| signed curvature | |
| float | m_cotTheta |
| cotangens of polar angle | |
| float | m_phi |
| Phi at the perigee [-pi, pi]. | |
| ROOT::Math::XYZVector | m_poca |
| point of closest approach to origin | |
Static Private Attributes | |
| static constexpr double | c_cTimesB = (1.5 * 0.00299792458) |
| magnetic filed times speed of light | |
| static constexpr double | c_maxFlightLength = 150.0 |
| maximal path length (from origin) considered for extrapolation | |
| static ROOT::Math::XYZVector | minimize_distance_to_point |
| user supplied point we're trying to find the nearest helix point to | |
| static ROOT::Math::XYZVector | minimize_distance_to_line_a |
| first user supplied line we're trying to find the nearest helix point to | |
| static ROOT::Math::XYZVector | minimize_distance_to_line_b |
| second user supplied line we're trying to find the nearest helix point to | |
| static HelixHelper const * | helix_object |
| keep a 'this' pointer around for minimization | |
Helper class representing a helical track.
It is used as an alternative to Genfit's track representation and provides much faster replacements for its extrapolateToLine/ extrapolateToPoint() methods.
Definition at line 28 of file HelixHelper.h.
|
inline |
construct a helix with given helix parameters, as defined for Track objects
Definition at line 34 of file HelixHelper.h.
|
inline |
construct a helix at an arbitrary position 'poca' (helices built at different points are not comparable)
Definition at line 41 of file HelixHelper.h.
|
inlinestaticprivate |
same as distanceToPoint, but ignoring z coordinate
Definition at line 153 of file HelixHelper.h.
|
inlinestaticprivate |
minimization function, calculates distance to minimize_distance_to_point
Definition at line 147 of file HelixHelper.h.
|
inline |
momentum of the particle, at the helix point corresponding to a flown path length s (from poca).
Definition at line 109 of file HelixHelper.h.
|
inline |
returns the path length (along the helix) to the helix point closest to the line going through points a and b.
Definition at line 87 of file HelixHelper.h.
|
inline |
returns the path length (along the helix) to the helix point closest to p.
a path length of 0 corresponds to p = poca
Definition at line 68 of file HelixHelper.h.
|
inline |
point on helix corresponding to a flown path length s (from poca)
Definition at line 120 of file HelixHelper.h.
|
staticconstexprprivate |
magnetic filed times speed of light
Definition at line 29 of file HelixHelper.h.
|
staticconstexprprivate |
maximal path length (from origin) considered for extrapolation
Definition at line 30 of file HelixHelper.h.
|
private |
cotangens of polar angle
Definition at line 139 of file HelixHelper.h.
|
private |
minimal r distance of point of closest approach to origin
Definition at line 135 of file HelixHelper.h.
|
private |
signed curvature
Definition at line 137 of file HelixHelper.h.
|
private |
Phi at the perigee [-pi, pi].
Definition at line 141 of file HelixHelper.h.
|
private |
point of closest approach to origin
Definition at line 144 of file HelixHelper.h.
|
private |
minimal z distance of point of closest approach to origin
Definition at line 133 of file HelixHelper.h.