Class to decide and return which approaching surface to be taken.
More...
#include <ApproachDescriptor.h>
Class to decide and return which approaching surface to be taken.
- Author
- Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Definition at line 24 of file ApproachDescriptor.h.
◆ ApproachDescriptor() [1/2]
| Trk::ApproachDescriptor::ApproachDescriptor |
( |
std::unique_ptr< ApproachSurfaces > | aSurfaces, |
|
|
bool | rebuild = true ) |
|
inline |
Definition at line 28 of file ApproachDescriptor.h.
31 {}
IApproachDescriptor(std::unique_ptr< ApproachSurfaces > aSurfaces, bool rebuild=true)
◆ ApproachDescriptor() [2/2]
| Trk::ApproachDescriptor::ApproachDescriptor |
( |
std::unique_ptr< BinnedArray< const ApproachSurfaces > > | aSurfaceArray, |
|
|
std::unique_ptr< Surface > | aSurfaceArraySurface = nullptr ) |
|
inline |
◆ approachSurfaces()
get the compatible surfaces
- return : a boolean indicating if an actual intersection had been tried
- fill vector of intersections
- primary bin surface : sf
- position & direction : pos, dir
Implements Trk::IApproachDescriptor.
Definition at line 12 of file ApproachDescriptor.cxx.
13 {
14
16
18 Trk::Intersection asInter =
22 }
23
25}
std::unique_ptr< ApproachSurfaces > m_approachSurfaces
std::unique_ptr< BinnedArray< const ApproachSurfaces > > m_approachSurfaceArray
std::unique_ptr< Surface > m_approachSurfaceArraySurface
◆ rebuild()
| bool Trk::IApproachDescriptor::rebuild |
( |
| ) |
const |
|
inlineinherited |
◆ registerLayer()
| void Trk::IApproachDescriptor::registerLayer |
( |
const Layer & | lay | ) |
|
|
inlineinherited |
Definition at line 98 of file IApproachDescriptor.h.
98 {
103 }
105 std::span<ApproachSurfaces const * const> aSurfaceObjects =
107 for (auto& aSurfaces : aSurfaceObjects) {
109 }
110 }
111}
void registerLayerToSurfaces(const Layer &lay, const ApproachSurfaces &aSurfaces)
◆ registerLayerToSurfaces()
| void Trk::IApproachDescriptor::registerLayerToSurfaces |
( |
const Layer & | lay, |
|
|
const ApproachSurfaces & | aSurfaces ) |
|
inlineprivateinherited |
Definition at line 113 of file IApproachDescriptor.h.
114 {
115 for (Trk::Surface* aSurface : aSurfaces) {
116 aSurface->associateLayer(lay);
118 }
119}
◆ m_approachSurfaceArray
◆ m_approachSurfaceArraySurface
| std::unique_ptr<Surface> Trk::IApproachDescriptor::m_approachSurfaceArraySurface |
|
protectedinherited |
◆ m_approachSurfaces
◆ m_rebuild
| bool Trk::IApproachDescriptor::m_rebuild |
|
protectedinherited |
The documentation for this class was generated from the following files: