Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Experimental::IndexedDetectorVolumeExtractor Struct Reference

A helper struct that allows to extrace a volume from the detector by its index. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Navigation/DetectorVolumeFinders.hpp>

Static Public Member Functions

static const DetectorVolumeextract ([[maybe_unused]] const GeometryContext &gctx, const NavigationState &nState, size_t index) noexcept(false)
 

Detailed Description

A helper struct that allows to extrace a volume from the detector by its index.

Definition at line 95 of file DetectorVolumeFinders.hpp.

View newest version in sPHENIX GitHub at line 95 of file DetectorVolumeFinders.hpp

Member Function Documentation

static const DetectorVolume* Acts::Experimental::IndexedDetectorVolumeExtractor::extract ( [[maybe_unused] ] const GeometryContext gctx,
const NavigationState nState,
size_t  index 
)
inlinestaticnoexcept

Extract the surfaces from the volume

Parameters
gctxthe geometry contextfor this extraction call
nStateis the current navigation state
indexis the index in the global detector volume store
Returns
a raw DetectorVolume pointer

Definition at line 103 of file DetectorVolumeFinders.hpp.

View newest version in sPHENIX GitHub at line 103 of file DetectorVolumeFinders.hpp

References Acts::Experimental::NavigationState::currentDetector, index, nState, volumes, and Acts::Experimental::Detector::volumes().

+ Here is the call graph for this function:


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