ATLAS Offline Software
|
#include <Trk2DDistanceFinder.h>
Public Member Functions | |
Trk2DDistanceFinder (const std::string &t, const std::string &n, const IInterface *p) | |
virtual | ~Trk2DDistanceFinder () |
virtual StatusCode | initialize () override |
virtual StatusCode | finalize () override |
virtual std::optional< TwoPoints > | CalculateMinimumDistance (const Trk::Perigee &, const Trk::Perigee &) const override final |
method to do the calculation starting from two MeasuredPerigees More... | |
virtual std::optional< TwoPoints > | CalculateMinimumDistance (const Trk::Track &, const Trk::Track &) const override final |
method to do the calculation starting from two tracks More... | |
Private Attributes | |
ToolHandle< Trk2dDistanceSeeder > | m_2ddistanceseeder |
std::atomic< int > | m_numberOfMinimizationFailures |
Algotool which calculates the distance between the two tracks in 2d only, re-using the Trk2dDistanceSeeder tool, which is based on the analytic solution of the minimum distance between two circles.
Of the two possible solutions, in Trk2dDistanceSeeder the one which minimizes the distance in z is used. (not sure this is what we want to find an approximate beam spot position event by event during primary vertex finding).
Definition at line 38 of file Trk2DDistanceFinder.h.
Trk::Trk2DDistanceFinder::Trk2DDistanceFinder | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
Definition at line 30 of file Trk2DDistanceFinder.cxx.
|
virtualdefault |
|
finaloverridevirtual |
method to do the calculation starting from two MeasuredPerigees
If successful, returns the points on the two tracks at minimum distance.
return value is true if calculation is successfull
Definition at line 62 of file Trk2DDistanceFinder.cxx.
|
finaloverridevirtual |
|
overridevirtual |
Definition at line 52 of file Trk2DDistanceFinder.cxx.
|
overridevirtual |
Definition at line 40 of file Trk2DDistanceFinder.cxx.
|
private |
Definition at line 61 of file Trk2DDistanceFinder.h.
|
mutableprivate |
Definition at line 62 of file Trk2DDistanceFinder.h.