ATLAS Offline Software
Loading...
Searching...
No Matches
Mode3dTo1dFinder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVERTEXSEEDFINDERUTILS_MODE3DTO1DFINDER_H
6#define TRKVERTEXSEEDFINDERUTILS_MODE3DTO1DFINDER_H
7
8
9#include "GaudiKernel/ToolHandle.h"
12
13
14namespace Trk
15{
16
29
30 class IMode1dFinder;
31
32 class Mode3dTo1dFinder final : public extends<AthAlgTool, IMode3dFinder>
33 {
34 public:
35 // Standard Athena constructor.
36 Mode3dTo1dFinder (const std::string& t,
37 const std::string& n,
38 const IInterface* p);
39
40
41 virtual StatusCode initialize() override;
42
43
51 virtual Amg::Vector3D
52 getMode (const double vx,
53 const double vy,
54 const std::vector<Trk::PositionAndWeight>& points) const override final;
55
56
67 virtual Amg::Vector3D
68 getMode (const double vx,
69 const double vy,
70 const std::vector<Trk::PositionAndWeight>& points,
71 std::unique_ptr<IMode3dInfo>& info) const override final;
72
73
81 virtual Amg::Vector3D
82 getMode (const double vx,
83 const double vy,
84 const std::vector<Amg::Vector3D>& points) const override final;
85
86
97 virtual Amg::Vector3D
98 getMode (const double vx,
99 const double vy,
100 const std::vector<Amg::Vector3D>& points,
101 std::unique_ptr<IMode3dInfo>& info) const override final;
102
103
104 private:
105 ToolHandle< IMode1dFinder > m_mode1dfinder;
106 };
107}
108#endif
ToolHandle< IMode1dFinder > m_mode1dfinder
virtual StatusCode initialize() override
virtual Amg::Vector3D getMode(const double vx, const double vy, const std::vector< Trk::PositionAndWeight > &points) const override final
Obtain the 3d-mode (position) from a list of positions (distribution in space)
Mode3dTo1dFinder(const std::string &t, const std::string &n, const IInterface *p)
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.