|
ATLAS Offline Software
|
Go to the documentation of this file.
30 m_2ddistanceseeder(
"Trk::Trk2dDistanceSeeder"),
31 m_numberOfMinimizationFailures(0)
33 declareProperty(
"Trk2dDistanceSeeder", m_2ddistanceseeder);
47 return StatusCode::SUCCESS;
53 return StatusCode::SUCCESS;
59 std::optional<ITrkDistanceFinder::TwoPoints>
63 std::pair<PointOnTrack,PointOnTrack> minpoints;
75 #ifdef SEEDNEWTONTRKDISTANCEFINDER_DEBUG
76 ATH_MSG_DEBUG(
"Returned a_phi " << minpoints.first.getPhiPoint() );
77 ATH_MSG_DEBUG(
"Returned b_phi " << minpoints.second.getPhiPoint() );
85 std::optional<ITrkDistanceFinder::TwoPoints>
89 if (std::isnan(
a.perigeeParameters()->parameters()[
Trk::d0])||std::isnan(
b.perigeeParameters()->parameters()[
Trk::d0])) {
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
std::pair< Amg::Vector3D, Amg::Vector3D > TwoPoints
virtual ~Trk2DDistanceFinder()
std::atomic< int > m_numberOfMinimizationFailures
virtual StatusCode initialize() override
virtual std::optional< TwoPoints > CalculateMinimumDistance(const Trk::Perigee &, const Trk::Perigee &) const override final
method to do the calculation starting from two MeasuredPerigees
::StatusCode StatusCode
StatusCode definition for legacy code.
Ensure that the ATLAS eigen extensions are properly loaded.
virtual StatusCode finalize() override
Trk2DDistanceFinder(const std::string &t, const std::string &n, const IInterface *p)
#define ATH_MSG_WARNING(x)
ToolHandle< Trk2dDistanceSeeder > m_2ddistanceseeder