Struct Acts::Experimental::DetectorVolumesCollection

struct DetectorVolumesCollection

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.

Public Functions

inline const DetectorVolume *extract(const GeometryContext&, const NavigationState&, const SingleIndex &index) const

Extract a voume from a collection.


that geometry context and navigation state are ignored here


index – are access indices into the surfaces store


the extracted volume

Public Members

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

The volumes held by this collection.