ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::ITrackingVolumeArrayCreator Class Referenceabstract

Interface class ITrackingVolumeArrayCreators It inherits from IAlgTool. More...

#include <Acts/Geometry/ITrackingVolumeArrayCreator.hpp>

Inheritance diagram for Acts::ITrackingVolumeArrayCreator:
[legend]

Public Member Functions

virtual ~ITrackingVolumeArrayCreator ()=default
 Virtual destructor.
virtual std::shared_ptr< const TrackingVolumeArraytrackingVolumeArray (const GeometryContext &gctx, const TrackingVolumeVector &vols, AxisDirection aDir) const =0
 TrackingVolumeArrayCreator interface method - creates array depending on the binning type.

Detailed Description

Interface class ITrackingVolumeArrayCreators It inherits from IAlgTool.

It is designed to centralize the code to create Arrays of Tracking Volumes for both:

  • confinement in another TrackingVolume
  • navigation and glueing

Arrays for glueing and confinement are often the same, therefore the newly created TrackingVolumeArray is done by a shared_ptr

Constructor & Destructor Documentation

◆ ~ITrackingVolumeArrayCreator()

virtual Acts::ITrackingVolumeArrayCreator::~ITrackingVolumeArrayCreator ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ trackingVolumeArray()

virtual std::shared_ptr< const TrackingVolumeArray > Acts::ITrackingVolumeArrayCreator::trackingVolumeArray ( const GeometryContext & gctx,
const TrackingVolumeVector & vols,
AxisDirection aDir ) const
pure virtual

TrackingVolumeArrayCreator interface method - creates array depending on the binning type.

Parameters
[in]gctxthe geometry context for this building
volsare the TrackingVolumes ordered in a tracker
aDiris the axis direction for the volume binning
Returns
shared pointer to a new TrackingVolumeArray

Implemented in Acts::TrackingVolumeArrayCreator.