ATLAS Offline Software
IVertexSeedFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IVertSeedFinder.h, (c) ATLAS Detector software 2005
8 
9 #ifndef TRKVERTEXFITTERINTERFACE_IVERTEXSEEDFINDER_H
10 #define TRKVERTEXFITTERINTERFACE_IVERTEXSEEDFINDER_H
11 
12 #include "GaudiKernel/IAlgTool.h"
14 #include "xAODTracking/Vertex.h"
15 
41 namespace Trk
42 {
43  class Track;
44  class IMode3dInfo;
45 
46  class IVertexSeedFinder : virtual public IAlgTool
47  {
48  public:
50 
51 
57  virtual Amg::Vector3D
58  findSeed (const std::vector<const Trk::Track*>& vectorTrk,
59  const xAOD::Vertex * constraint=0) const = 0;
60 
61 
67  virtual Amg::Vector3D
68  findSeed (const std::vector<const Trk::TrackParameters*>& perigeeList,
69  const xAOD::Vertex * constraint=0) const = 0;
70 
71 
78  virtual Amg::Vector3D
79  findSeed(const double /*vx*/,
80  const double /*vy*/,
81  const std::vector<const Trk::TrackParameters*>& perigeeList,
82  const xAOD::Vertex * constraint=0) const
83  {
84  return findSeed (perigeeList, constraint);
85  }
86 
87 
95  virtual Amg::Vector3D
96  findSeed(const double /*vx*/,
97  const double /*vy*/,
98  std::unique_ptr<Trk::IMode3dInfo>& /*info*/,
99  const std::vector<const Trk::TrackParameters*>& perigeeList,
100  const xAOD::Vertex * constraint=0) const
101  {
102  return findSeed (perigeeList, constraint);
103  }
104 
105 
111  virtual std::vector<Amg::Vector3D>
112  findMultiSeeds (const std::vector<const Trk::Track*>& vectorTrk,
113  const xAOD::Vertex * constraint=0) const = 0;
114 
115 
122  virtual std::vector<Amg::Vector3D>
123  findMultiSeeds(const std::vector<const Trk::TrackParameters*>& perigeeList,
124  const xAOD::Vertex * constraint=0) const = 0;
125 
126  };
127 }
128 
129 #endif
TrackParameters.h
Trk::IVertexSeedFinder
Definition: IVertexSeedFinder.h:47
Trk::IVertexSeedFinder::findMultiSeeds
virtual std::vector< Amg::Vector3D > findMultiSeeds(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const =0
Finds full vector of linearization points from a vector of tracks and returns it as an Amg::Vector3D ...
Trk::IVertexSeedFinder::findSeed
virtual Amg::Vector3D findSeed(const double, const double, std::unique_ptr< Trk::IMode3dInfo > &, const std::vector< const Trk::TrackParameters * > &perigeeList, const xAOD::Vertex *constraint=0) const
Finds a linearization point out of a vector of TrackParameters and returns it as an Amg::Vector3D obj...
Definition: IVertexSeedFinder.h:96
Trk::IVertexSeedFinder::findSeed
virtual Amg::Vector3D findSeed(const std::vector< const Trk::TrackParameters * > &perigeeList, const xAOD::Vertex *constraint=0) const =0
Finds a linearization point out of a vector of TrackParameters and returns it as an Amg::Vector3D obj...
Trk::IVertexSeedFinder::DeclareInterfaceID
DeclareInterfaceID(IVertexSeedFinder, 1, 0)
Trk::IVertexSeedFinder::findMultiSeeds
virtual std::vector< Amg::Vector3D > findMultiSeeds(const std::vector< const Trk::TrackParameters * > &perigeeList, const xAOD::Vertex *constraint=0) const =0
Finds full vector of linearization points from a vector of TrackParameters and returns it as an Amg::...
Vertex.h
Trk::IVertexSeedFinder::findSeed
virtual Amg::Vector3D findSeed(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const =0
Finds a linearization point out of a vector of tracks and returns it as an Amg::Vector3D object.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
Trk::IVertexSeedFinder::findSeed
virtual Amg::Vector3D findSeed(const double, const double, const std::vector< const Trk::TrackParameters * > &perigeeList, const xAOD::Vertex *constraint=0) const
Finds a linearization point out of a vector of TrackParameters and returns it as an Amg::Vector3D obj...
Definition: IVertexSeedFinder.h:79
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21