ATLAS Offline Software
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 
15 namespace Trk {
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
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 
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
Definition: ApproachDescriptor.h:25
Trk::ApproachSurfaces
Definition: IApproachDescriptor.h:25
IApproachDescriptor.h
Trk::IApproachDescriptor
Definition: IApproachDescriptor.h:45
beamspotman.dir
string dir
Definition: beamspotman.py:623
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
Trk::BinnedArray
Definition: BinnedArray.h:38
Trk::ApproachDescriptor::ApproachDescriptor
ApproachDescriptor(std::unique_ptr< BinnedArray< const ApproachSurfaces >> aSurfaceArray, std::unique_ptr< Surface > aSurfaceArraySurface=nullptr)
Definition: ApproachDescriptor.h:34
Trk::ApproachDescriptor::ApproachDescriptor
ApproachDescriptor(std::unique_ptr< ApproachSurfaces > aSurfaces, bool rebuild=true)
Definition: ApproachDescriptor.h:28
Trk::IApproachDescriptor::rebuild
bool rebuild() const
Definition: IApproachDescriptor.h:96