ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ApproachDescriptor Class Referenceabstract

#include <acts/blob/master/Core/include/Acts/Geometry/ApproachDescriptor.hpp>

+ Inheritance diagram for Acts::ApproachDescriptor:

Public Member Functions

 ApproachDescriptor ()=default
 Default constructor.
 
virtual ~ApproachDescriptor ()=default
 Virtual destructor.
 
virtual void registerLayer (const Layer &lay)=0
 Register Layer Links the layer to the approach surfaces.
 
virtual ObjectIntersection
< Surface
approachSurface (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const BoundaryCheck &bcheck) 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.
 

Detailed Description

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 35 of file ApproachDescriptor.hpp.

View newest version in sPHENIX GitHub at line 35 of file ApproachDescriptor.hpp

Constructor & Destructor Documentation

Acts::ApproachDescriptor::ApproachDescriptor ( )
default

Default constructor.

virtual Acts::ApproachDescriptor::~ApproachDescriptor ( )
virtualdefault

Virtual destructor.

Member Function Documentation

virtual ObjectIntersection<Surface> Acts::ApproachDescriptor::approachSurface ( const GeometryContext gctx,
const Vector3D position,
const Vector3D direction,
const BoundaryCheck bcheck 
) const
pure virtual

Get the surface on approach.

Parameters
gctxThe current geometry context object, e.g. alignment
positionis the position from start of the search
directionis the direction at the start of the search
bcheckis the boundary check directive
Returns
is a surface intersection

Implemented in Acts::GenericApproachDescriptor.

virtual const std::vector<const Surface*>& Acts::ApproachDescriptor::containedSurfaces ( ) const
pure virtual

Get all the contained surfaces

Returns
all contained surfaces of this approach descriptor

Implemented in Acts::GenericApproachDescriptor.

Referenced by Acts::addLayerProtoMaterial(), FW::RootMaterialWriter::collectMaterial(), and Acts::JsonGeometryConverter::convertToRep().

+ Here is the caller graph for this function:

virtual std::vector<const Surface*>& Acts::ApproachDescriptor::containedSurfaces ( )
pure virtual

Non-const version.

Implemented in Acts::GenericApproachDescriptor.

virtual void Acts::ApproachDescriptor::registerLayer ( const Layer lay)
pure virtual

Register Layer Links the layer to the approach surfaces.

Parameters
layis the layer to be assigned

Implemented in Acts::GenericApproachDescriptor.

Referenced by Acts::CylinderLayer::CylinderLayer(), Acts::DiscLayer::DiscLayer(), and Acts::PlaneLayer::PlaneLayer().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: