ATLAS Offline Software
ITrkDistanceFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITrkDistanceFinder.h, (c) ATLAS Detector software 2006
8 
9 #ifndef TRKVERTEXSEEDFINDERUTILS_ITRKDISTANCEFINDER_H
10 #define TRKVERTEXSEEDFINDERUTILS_ITRKDISTANCEFINDER_H
11 
12 #include "GaudiKernel/IAlgTool.h"
14 #include <optional>
15 
16 //Amg
18 
19 namespace Trk
20 {
21 
22  class Track;
23  class TrackParticleBase;
24 
36  class ITrkDistanceFinder : virtual public IAlgTool {
37 
38  public:
39  typedef std::pair<Amg::Vector3D,Amg::Vector3D> TwoPoints;
40 
42 
44  virtual ~ITrkDistanceFinder(){};
45 
48  virtual std::optional<TwoPoints>
49  CalculateMinimumDistance(const Trk::Perigee &, const Trk::Perigee &) const = 0;
50 
52  virtual std::optional<TwoPoints>
53  CalculateMinimumDistance(const Trk::Track &, const Trk::Track &) const = 0;
54  };
55 }
56 
57 #endif
58 
Trk::ITrkDistanceFinder::DeclareInterfaceID
DeclareInterfaceID(ITrkDistanceFinder, 1, 0)
TrackParameters.h
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
Trk::ITrkDistanceFinder::~ITrkDistanceFinder
virtual ~ITrkDistanceFinder()
Virtual destructor.
Definition: ITrkDistanceFinder.h:44
GeoPrimitives.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::ITrkDistanceFinder::CalculateMinimumDistance
virtual std::optional< TwoPoints > CalculateMinimumDistance(const Trk::Track &, const Trk::Track &) const =0
method to do the calculation starting from two tracks
Trk::ITrkDistanceFinder
Definition: ITrkDistanceFinder.h:36
Trk::ITrkDistanceFinder::CalculateMinimumDistance
virtual std::optional< TwoPoints > CalculateMinimumDistance(const Trk::Perigee &, const Trk::Perigee &) const =0
method to do the calculation starting from two MeasuredPerigees
Trk::ITrkDistanceFinder::TwoPoints
std::pair< Amg::Vector3D, Amg::Vector3D > TwoPoints
Definition: ITrkDistanceFinder.h:39
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21