Struct Acts::InteractionVolume

struct InteractionVolume

The Material interaction volume struct It acts as a switch between detctor and tracking volume as long as those co-exist alongside.

Public Functions

InteractionVolume() = default

Empty constructor.

inline InteractionVolume(const Experimental::DetectorVolume *dv)

Constructor from detector volume.

Parameters

dv – The detector volume

inline InteractionVolume(const TrackingVolume *tv)

Constructor from tracking volume.

Parameters

tv – The tracking volume

inline bool empty() const

Check if the volume is valid.

inline GeometryIdentifier geometryId() const

Forward the geometry identifier.

Public Members

const Experimental::DetectorVolume *detectorVolume = nullptr

The detector volume.

const TrackingVolume *trackingVolume = nullptr

The tracking volume.