ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkGeometry
TrkGeometry
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
13
#include "
TrkGeometry/IApproachDescriptor.h
"
14
15
namespace
Trk
{
23
24
class
ApproachDescriptor
:
public
IApproachDescriptor
25
{
26
public
:
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
34
ApproachDescriptor
(
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
46
virtual
const
ApproachSurfaces
*
approachSurfaces
(
47
const
Amg::Vector3D
& pos,
48
const
Amg::Vector3D
& dir)
const
override
final
;
49
50
private
:
51
};
52
}
53
54
#endif
55
IApproachDescriptor.h
Trk::ApproachDescriptor::ApproachDescriptor
ApproachDescriptor(std::unique_ptr< BinnedArray< const ApproachSurfaces > > aSurfaceArray, std::unique_ptr< Surface > aSurfaceArraySurface=nullptr)
Definition
ApproachDescriptor.h:34
Trk::ApproachDescriptor::approachSurfaces
virtual const ApproachSurfaces * approachSurfaces(const Amg::Vector3D &pos, const Amg::Vector3D &dir) const override final
get the compatible surfaces
Definition
ApproachDescriptor.cxx:12
Trk::ApproachDescriptor::ApproachDescriptor
ApproachDescriptor(std::unique_ptr< ApproachSurfaces > aSurfaces, bool rebuild=true)
Definition
ApproachDescriptor.h:28
Trk::ApproachSurfaces
just implement the delete on the objects
Definition
IApproachDescriptor.h:25
Trk::BinnedArray
Binned Array for avoiding map searches/.
Definition
BinnedArray.h:36
Trk::IApproachDescriptor::rebuild
bool rebuild() const
Definition
IApproachDescriptor.h:96
Trk::IApproachDescriptor::IApproachDescriptor
IApproachDescriptor(std::unique_ptr< ApproachSurfaces > aSurfaces, bool rebuild=true)
Definition
IApproachDescriptor.h:48
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0