ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GlueVolumesDescriptor Class Reference

Descriptor class to hold GlueVolumes of a TrackingGeometry object. More...

#include <Acts/Geometry/GlueVolumesDescriptor.hpp>

Public Member Functions

 GlueVolumesDescriptor ()=default
 Constructor.
 GlueVolumesDescriptor (const std::map< BoundarySurfaceFace, std::shared_ptr< const TrackingVolumeArray > > &gvs)
 Constructor - with arguments.
 ~GlueVolumesDescriptor ()=default
 Destructor.
const std::vector< BoundarySurfaceFace > & glueFaces () const
 Retrieve the available Glue Faces.
std::shared_ptr< const TrackingVolumeArrayglueVolumes (BoundarySurfaceFace bsf) const
 Retrieve the glue volumes.
void registerGlueVolumes (Acts::BoundarySurfaceFace bsf, std::shared_ptr< const TrackingVolumeArray > gvs)
 Register the volumes.
std::string screenOutput () const
 Dump it to the screen.

Detailed Description

Descriptor class to hold GlueVolumes of a TrackingGeometry object.

Should ease the wrapping of a TrackingGeometry object describing one Detector by another one.

Constructor & Destructor Documentation

◆ GlueVolumesDescriptor() [1/2]

Acts::GlueVolumesDescriptor::GlueVolumesDescriptor ( )
default

Constructor.

◆ GlueVolumesDescriptor() [2/2]

Acts::GlueVolumesDescriptor::GlueVolumesDescriptor ( const std::map< BoundarySurfaceFace, std::shared_ptr< const TrackingVolumeArray > > & gvs)
explicit

Constructor - with arguments.

Parameters
gvsare the glue volume arrays mapped to the volume faces

◆ ~GlueVolumesDescriptor()

Acts::GlueVolumesDescriptor::~GlueVolumesDescriptor ( )
default

Destructor.

Member Function Documentation

◆ glueFaces()

const std::vector< BoundarySurfaceFace > & Acts::GlueVolumesDescriptor::glueFaces ( ) const

Retrieve the available Glue Faces.

Returns
the list of faces for which glue information is there

◆ glueVolumes()

std::shared_ptr< const TrackingVolumeArray > Acts::GlueVolumesDescriptor::glueVolumes ( BoundarySurfaceFace bsf) const

Retrieve the glue volumes.

Parameters
bsfis the boundary surface face for which you want to get the array
Returns
the shared pointer to the TrackingVolume array

◆ registerGlueVolumes()

void Acts::GlueVolumesDescriptor::registerGlueVolumes ( Acts::BoundarySurfaceFace bsf,
std::shared_ptr< const TrackingVolumeArray > gvs )

Register the volumes.

Parameters
bsfis the boundary surface face where the volume array is attached
gvsis the array of volumes to be attached

◆ screenOutput()

std::string Acts::GlueVolumesDescriptor::screenOutput ( ) const

Dump it to the screen.

Returns
String representation of the glue volumes descriptor