ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace 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}
#define ATH_MSG_INFO(x)
virtual StatusCode finalize() override
virtual ~DummySeedFinder()
virtual StatusCode initialize() override
DummySeedFinder(const std::string &t, const std::string &n, const IInterface *p)
virtual std::vector< Amg::Vector3D > findMultiSeeds(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const override final
virtual Amg::Vector3D findSeed(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const override final
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.