Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/ApproachDescriptor.hpp>
Public Member Functions | |
ApproachDescriptor ()=default | |
virtual | ~ApproachDescriptor ()=default |
virtual void | registerLayer (const Layer &lay)=0 |
Register Layer Links the layer to the approach surfaces. | |
virtual SurfaceIntersection | approachSurface (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const BoundaryCheck &bcheck, double pLimit, double oLimit, double tolerance) const =0 |
Get the surface on approach. | |
virtual const std::vector < const Surface * > & | containedSurfaces () const =0 |
virtual std::vector< const Surface * > & | containedSurfaces ()=0 |
Non-const version. | |
Virtual base class to decide and return which approaching surface to be taken, the surfaces are std::shared_ptr, as they can be the boundary surfaces of the representingVolume of the Layer
Definition at line 29 of file ApproachDescriptor.hpp.
View newest version in sPHENIX GitHub at line 29 of file ApproachDescriptor.hpp
|
default |
|
virtualdefault |
|
pure virtual |
Get the surface on approach.
gctx | The current geometry context object, e.g. alignment |
position | is the position from start of the search |
direction | is the direction at the start of the search |
bcheck | is the boundary check directive |
pLimit | The path limit |
oLimit | The overstep limit |
tolerance | The surface tolerance |
Implemented in Acts::GenericApproachDescriptor.
|
pure virtual |
Get all the contained surfaces
Implemented in Acts::GenericApproachDescriptor.
Referenced by Acts::addLayerProtoMaterial(), and ActsExamples::RootMaterialWriter::collectMaterial().
|
pure virtual |
Non-const version.
Implemented in Acts::GenericApproachDescriptor.
|
pure virtual |
Register Layer Links the layer to the approach surfaces.
lay | is the layer to be assigned |
Implemented in Acts::GenericApproachDescriptor.
Referenced by Acts::CylinderLayer::CylinderLayer(), Acts::DiscLayer::DiscLayer(), and Acts::PlaneLayer::PlaneLayer().