Struct Acts::ProtoVolume¶
-
struct ProtoVolume
A proto volume description being used to define an overall structure of either a TrackingVolume or Experimental::DetectorVolume.
Public Functions
-
void constrainDown(const ProtoVolume &ptVolume)
Constrain the daughter volumes with this volume.
- Parameters
ptVolume – is the proto volume from which the constrain is taken
-
void extendUp(ProtoVolume &ptVolume)
Extend the tracking volume with its own constituents, upwards here means that extents are promoted to the mother.
- Parameters
ptVolume – the protoVolume
-
void harmonize(bool legacy = true)
Harmonize the detector information, this can run in two modes, steered by the.
The legacy mode prepares everything for
Acts::TrackingVolume
, if off it creates a description forActs::Detector
.- Parameters
legacy – boolean
-
bool operator==(const ProtoVolume &ptVolume) const
Define an operator==.
- Parameters
ptVolume – the proto volume to be checked
-
void propagateMaxDown(BinningValue bValue)
Extend the tracking volume with its own constituents.
- Parameters
bValue – the binning value that is propagated
-
void propagateMinDown(BinningValue bValue)
Extend the tracking volume with its own constituents.
- Parameters
bValue – the binning value that is propagated
-
std::string toString(const std::string &indent = "") const
Write the tracking volume to screen.
- Parameters
indent – the current indentation
Public Members
-
Experimental::DetectorBlockBuilder blockBuilder
An attached Detector volume Builder - new detector schema.
-
std::optional<ContainerStructure> container = std::nullopt
Information about container structure - legacy building.
-
Extent extent
The extent of this volume.
-
std::optional<InternalStructure> internal = std::nullopt
Information about internal structure - legacy building.
-
std::string name = ""
Name of the proto volume.
-
struct ContainerStructure
Public Members
-
std::vector<BinningData> constituentBinning = {}
The constituent binning if this a container.
-
std::vector<ProtoVolume> constituentVolumes = {}
Internal structure container.
-
bool layerContainer = false
Layer container flag.
-
std::vector<BinningData> constituentBinning = {}
-
struct InternalStructure
Public Members
-
Surface::SurfaceType layerType = Surface::SurfaceType::Other
Possibility to provide a layer type information.
-
std::vector<BinningData> surfaceBinning = {}
Possibility to provide a surface binning.
-
Surface::SurfaceType layerType = Surface::SurfaceType::Other
-
void constrainDown(const ProtoVolume &ptVolume)