ATLAS Offline Software
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 
14 namespace Trk
15 {
16 
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
grepfile.info
info
Definition: grepfile.py:38
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Trk::Mode3dTo1dFinder::getMode
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)
Definition: Mode3dTo1dFinder.cxx:37
Trk::Mode3dTo1dFinder::initialize
virtual StatusCode initialize() override
Definition: Mode3dTo1dFinder.cxx:28
Trk::Mode3dTo1dFinder
Definition: Mode3dTo1dFinder.h:33
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::Mode3dTo1dFinder::m_mode1dfinder
ToolHandle< IMode1dFinder > m_mode1dfinder
Definition: Mode3dTo1dFinder.h:105
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
IMode3dFinder.h
Trk::Mode3dTo1dFinder::Mode3dTo1dFinder
Mode3dTo1dFinder(const std::string &t, const std::string &n, const IInterface *p)
Definition: Mode3dTo1dFinder.cxx:20