Struct VolumeConfig¶
Defined in File CylinderVolumeBuilder.hpp
Struct Documentation¶
-
struct
Acts
::
VolumeConfig
¶ VolumeConfig struct to understand the layer config.
Public Functions
-
VolumeConfig
()¶ Default constructor.
-
void
adapt
(const VolumeConfig &lConfig)¶ Adapt to the dimensions of another config it will take the maximum/minimum values and just overwrite them.
- Parameters
[in] lConfig
: is the config to which it should be adapded
-
void
adaptR
(const VolumeConfig &lConfig)¶ Adapt to the dimensions of another config in R it will take the maximum/minimum values and just overwrite them.
- Parameters
[in] lConfig
: is the config to which it should be adapded
-
void
adaptZ
(const VolumeConfig &lConfig)¶ Adapt to the dimensions of another config in Z it will take the maximum/minimum values and just overwrite them.
- Parameters
[in] lConfig
: is the config to which it should be adapded
-
void
attachZ
(const VolumeConfig &lConfig)¶ Attach method - const it attaches the one volume config to the other one.
- Parameters
[in] lConfig
: is the confit to which it should be attached
-
bool
contains
(const VolumeConfig &vConfig) const¶ Check if contained full set.
- Parameters
[in] vConfig
: is the config against which is checked
-
bool
containsInR
(const VolumeConfig &vConfig) const¶ Check if contained radially.
- Parameters
[in] vConfig
: is the config against which is checked
-
bool
containsInZ
(const VolumeConfig &vConfig) const¶ Check if contained longitudinally.
- Parameters
[in] vConfig
: is the config against which is checked
-
void
midPointAttachZ
(VolumeConfig &lConfig)¶ Attach method - non-const it attaches the one volume config to the other one in Z this is the non-cost method, i.e.
the mit point is is used
- Note
lConfig will be changed
- Parameters
[in] lConfig
: is the config to which it should be attached
-
operator bool
() const¶ Conversion operator to bool.
-
bool
overlapsInR
(const VolumeConfig &vConfig) const¶ Overlap check radially.
- Return
boolean if the overlap in r exists
- Parameters
[in] vConfig
: is the config against which is checked
-
bool
overlapsInZ
(const VolumeConfig &vConfig) const¶ Overlap check longitudinally.
- Return
boolean if the overlap in z exists
- Parameters
[in] vConfig
: is the config against which is checked
-
std::string
toString
() const¶ Method for output formatting.
-
bool
wraps
(const VolumeConfig &vConfig) const¶ Compatibility check full set.
- Return
boolean if the current volume wraps the vConfig fully
- Parameters
[in] vConfig
: is the config against which is checked
Public Members
-
LayerVector
layers
¶ the layers you have
-
bool
present
= {false}¶ layers are present
-
double
rMax
¶ max parameter r
-
double
rMin
¶ min parameter r
-
MutableTrackingVolumeVector
volumes
¶ the confined volumes you have
-
bool
wrapping
= {false}¶ in what way they are binned
-
double
zMax
¶ max parameter z
-
double
zMin
¶ min parameter z
-