Analysis Software
Documentation for sPHENIX simulation software
|
The Material interaction volume struct It acts as a switch between detctor and tracking volume as long as those co-exist alongside. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Material/MaterialInteraction.hpp>
Public Member Functions | |
InteractionVolume ()=default | |
Empty constructor. | |
InteractionVolume (const TrackingVolume *tv) | |
InteractionVolume (const Experimental::DetectorVolume *dv) | |
GeometryIdentifier | geometryId () const |
Forward the geometry identifier. | |
bool | empty () const |
Check if the volume is valid. | |
Public Attributes | |
const TrackingVolume * | trackingVolume = nullptr |
The tracking volume. | |
const Experimental::DetectorVolume * | detectorVolume = nullptr |
The detector volume. | |
The Material interaction volume struct It acts as a switch between detctor and tracking volume as long as those co-exist alongside.
Definition at line 24 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 24 of file MaterialInteraction.hpp
|
default |
Empty constructor.
|
inline |
Constructor from tracking volume
tv | The tracking volume |
Definition at line 35 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 35 of file MaterialInteraction.hpp
|
inline |
Constructor from detector volume
dv | The detector volume |
Definition at line 39 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 39 of file MaterialInteraction.hpp
|
inline |
Check if the volume is valid.
Definition at line 54 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 54 of file MaterialInteraction.hpp
References detectorVolume, and trackingVolume.
|
inline |
Forward the geometry identifier.
Definition at line 43 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 43 of file MaterialInteraction.hpp
References detectorVolume, Acts::GeometryObject::geometryId(), Acts::Experimental::DetectorVolume::geometryId(), and trackingVolume.
const Experimental::DetectorVolume* Acts::InteractionVolume::detectorVolume = nullptr |
The detector volume.
Definition at line 28 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 28 of file MaterialInteraction.hpp
Referenced by empty(), and geometryId().
const TrackingVolume* Acts::InteractionVolume::trackingVolume = nullptr |
The tracking volume.
Definition at line 26 of file MaterialInteraction.hpp.
View newest version in sPHENIX GitHub at line 26 of file MaterialInteraction.hpp
Referenced by empty(), and geometryId().