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

This holds and extracts a collection of detector volumes. Alternatively an extractor could also use the detector and its associated detector volume container for volume extraction. More...

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

+ Collaboration diagram for Acts::Experimental::DetectorVolumesCollection:

Public Member Functions

const DetectorVolumeextract (const GeometryContext &, const NavigationState &, const SingleIndex &index) const
 

Public Attributes

std::vector< const
DetectorVolume * > 
dVolumes = {}
 The volumes held by this collection.
 

Detailed Description

This holds and extracts a collection of detector volumes. Alternatively an extractor could also use the detector and its associated detector volume container for volume extraction.

Definition at line 80 of file DetectorVolumeUpdators.hpp.

View newest version in sPHENIX GitHub at line 80 of file DetectorVolumeUpdators.hpp

Member Function Documentation

const DetectorVolume* Acts::Experimental::DetectorVolumesCollection::extract ( const GeometryContext ,
const NavigationState ,
const SingleIndex index 
) const
inline

Extract a voume from a collection

Note
that geometry context and navigation state are ignored here
Parameters
indexare access indices into the surfaces store
Returns
the extracted volume

Definition at line 90 of file DetectorVolumeUpdators.hpp.

View newest version in sPHENIX GitHub at line 90 of file DetectorVolumeUpdators.hpp

References dVolumes, and index.

Member Data Documentation

std::vector<const DetectorVolume*> Acts::Experimental::DetectorVolumesCollection::dVolumes = {}

The volumes held by this collection.

Definition at line 82 of file DetectorVolumeUpdators.hpp.

View newest version in sPHENIX GitHub at line 82 of file DetectorVolumeUpdators.hpp

Referenced by extract().


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