ATLAS Offline Software
DummySeedFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKVERTEXSEEDFINDERTOOLS_DUMMYSEEDFINDER_H
6 #define TRKVERTEXSEEDFINDERTOOLS_DUMMYSEEDFINDER_H
7 
10 
11 namespace Trk
12 {
13  // @author N. Giacinto Piacquadio (Albert-Ludwigs-Universitaet Freiburg - Germany)
14  //
15  // @ATLAS software
16  //
17  // This class implements a dummy seed finder
18  //
19  // -----------------------------------------
20  // Changes:
21  //
22  // David Shope <david.richard.shope@cern.ch> (2016-04-19)
23  //
24  // EDM Migration to xAOD - from Trk::VxCandidate to xAOD::Vertex,
25  // from Trk::RecVertex to xAOD::Vertex,
26  // from Trk::Vertex to Amg::Vector3D
27 
28  class DummySeedFinder final: public extends<AthAlgTool, IVertexSeedFinder>
29  {
30  public:
31  // Standard Athena constructor.
32  DummySeedFinder (const std::string& t,
33  const std::string& n,
34  const IInterface* p);
35 
36 
37  virtual ~DummySeedFinder();
38 
39 
40  virtual StatusCode initialize() override;
41  virtual StatusCode finalize() override;
42 
43 
45 
46  // Interface for Tracks with starting seed/linearization point
47  virtual Amg::Vector3D
48  findSeed (const std::vector<const Trk::Track*> & vectorTrk,
49  const xAOD::Vertex * constraint=0) const override final;
50 
51 
53  virtual Amg::Vector3D
54  findSeed (const std::vector<const Trk::TrackParameters*> & perigeeList,
55  const xAOD::Vertex * constraint=0) const override final;
56 
57 
58  // Interface for finding vector of seeds from tracks
59  virtual std::vector<Amg::Vector3D>
60  findMultiSeeds (const std::vector<const Trk::Track*>& vectorTrk,
61  const xAOD::Vertex * constraint=0) const override final;
62 
63 
64  // Interface for finding vector of seeds from track parameters
65  virtual std::vector<Amg::Vector3D>
66  findMultiSeeds(const std::vector<const Trk::TrackParameters*>& perigeeList,
67  const xAOD::Vertex * constraint=0) const override final;
68 
69  };
70 }
71 #endif
Trk::Vertex
Definition: Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:26
IVertexSeedFinder.h
Trk::DummySeedFinder
Definition: DummySeedFinder.h:29
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::DummySeedFinder::DummySeedFinder
DummySeedFinder(const std::string &t, const std::string &n, const IInterface *p)
Definition: DummySeedFinder.cxx:21
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
Trk::DummySeedFinder::findMultiSeeds
virtual std::vector< Amg::Vector3D > findMultiSeeds(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const override final
Definition: DummySeedFinder.cxx:62
AthAlgTool.h
Trk::DummySeedFinder::findSeed
virtual Amg::Vector3D findSeed(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const override final
Definition: DummySeedFinder.cxx:46
Trk::ParametersBase
Definition: ParametersBase.h:55
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
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::DummySeedFinder::~DummySeedFinder
virtual ~DummySeedFinder()
Trk::DummySeedFinder::initialize
virtual StatusCode initialize() override
Definition: DummySeedFinder.cxx:31
Trk::DummySeedFinder::finalize
virtual StatusCode finalize() override
Definition: DummySeedFinder.cxx:38
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21