ATLAS Offline Software
Loading...
Searching...
No Matches
ApproachDescriptor.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// ApproachDescriptor.h, (c) ATLAS Detector software
8
9#ifndef TRKGEOMETRY_APPROPACHDESCRIPTOR_H
10#define TRKGEOMETRY_APPROPACHDESCRIPTOR_H
11
12// Trk
14
15namespace Trk {
23
25{
26public:
27 // Default constructor
28 ApproachDescriptor(std::unique_ptr<ApproachSurfaces> aSurfaces,
29 bool rebuild = true)
30 : IApproachDescriptor(std::move(aSurfaces), rebuild)
31 {}
32
33 // Default constructor
35 std::unique_ptr<BinnedArray<const ApproachSurfaces>> aSurfaceArray,
36 std::unique_ptr<Surface> aSurfaceArraySurface = nullptr)
37 : IApproachDescriptor(std::move(aSurfaceArray), std::move(aSurfaceArraySurface))
38 {}
39
47 const Amg::Vector3D& pos,
48 const Amg::Vector3D& dir) const override final;
49
50private:
51};
52}
53
54#endif
55
ApproachDescriptor(std::unique_ptr< BinnedArray< const ApproachSurfaces > > aSurfaceArray, std::unique_ptr< Surface > aSurfaceArraySurface=nullptr)
virtual const ApproachSurfaces * approachSurfaces(const Amg::Vector3D &pos, const Amg::Vector3D &dir) const override final
get the compatible surfaces
ApproachDescriptor(std::unique_ptr< ApproachSurfaces > aSurfaces, bool rebuild=true)
just implement the delete on the objects
Binned Array for avoiding map searches/.
Definition BinnedArray.h:36
IApproachDescriptor(std::unique_ptr< ApproachSurfaces > aSurfaces, bool rebuild=true)
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
STL namespace.