ATLAS Offline Software
DummySeedFinder.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*********************************************************************
6  DummySeedFinder.cxx - Description in header file
7 *********************************************************************/
8 
12 #include "TrkTrack/Track.h"
13 #include <cmath>
14 
15 
16 namespace Trk
17 {
18 
19  DummySeedFinder::DummySeedFinder(const std::string& t, const std::string& n, const IInterface* p) :
20  base_class(t,n,p)
21  {
22  }
23 
24 
26  = default;
27 
28 
30  {
31  ATH_MSG_INFO( "Initialize successful" );
32  return StatusCode::SUCCESS;
33  }
34 
35 
37  {
38  ATH_MSG_INFO( "Finalize successful" );
39  return StatusCode::SUCCESS;
40  }
41 
42 
44  DummySeedFinder::findSeed(const std::vector<const Trk::Track*> & /* VectorTrk */,
45  const xAOD::Vertex * /* constraint */) const
46  {
47  return Amg::Vector3D(0.,0.,0.);
48  }
49 
50 
52  DummySeedFinder::findSeed(const std::vector<const Trk::TrackParameters*> & /* perigeeList */,
53  const xAOD::Vertex * /* constraint */) const
54  {
55  return Amg::Vector3D(0.,0.,0.);
56  }
57 
58 
59  std::vector<Amg::Vector3D>
60  DummySeedFinder::findMultiSeeds (const std::vector<const Trk::Track*>& /* vectorTrk */,
61  const xAOD::Vertex * /* constraint */) const
62  {
63  std::vector<Amg::Vector3D> retvec;
64  retvec.emplace_back(0.,0.,0. );
65  return retvec;
66  }
67 
68 
69  std::vector<Amg::Vector3D>
70  DummySeedFinder::findMultiSeeds(const std::vector<const Trk::TrackParameters*>& /* vectorTrk */,
71  const xAOD::Vertex * /* constraint */) const
72  {
73  std::vector<Amg::Vector3D> retvec;
74  retvec.emplace_back(0.,0.,0. );
75  return retvec;
76  }
77 
78 
79 }
DummySeedFinder.h
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ParamDefs.h
Trk::DummySeedFinder::DummySeedFinder
DummySeedFinder(const std::string &t, const std::string &n, const IInterface *p)
Definition: DummySeedFinder.cxx:21
Track.h
GeoPrimitives.h
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
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
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
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
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