Struct Acts::VolumeConfig¶
-
struct VolumeConfig
VolumeConfig struct to understand the layer config.
Public Functions
-
inline VolumeConfig()
Default constructor.
-
inline void adapt(const VolumeConfig &lConfig)
Adapt to the dimensions of another config it will take the maximum/minimum values and just overwrite them.
- Parameters
lConfig – [in] is the config to which it should be adapded
-
inline 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
lConfig – [in] is the config to which it should be adapded
-
inline 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
lConfig – [in] is the config to which it should be adapded
-
inline void attachZ(const VolumeConfig &lConfig)
Attach method - const it attaches the one volume config to the other one.
- Parameters
lConfig – [in] is the confit to which it should be attached
-
inline bool contains(const VolumeConfig &vConfig) const
Check if contained full set.
- Parameters
vConfig – [in] is the config against which is checked
-
inline bool containsInR(const VolumeConfig &vConfig) const
Check if contained radially.
- Parameters
vConfig – [in] is the config against which is checked
-
inline bool containsInZ(const VolumeConfig &vConfig) const
Check if contained longitudinally.
- Parameters
vConfig – [in] is the config against which is checked
-
inline 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 mid point is used
Note
lConfig will be changed
- Parameters
lConfig – [in] is the config to which it should be attached
-
inline operator bool() const
Conversion operator to bool.
-
inline bool overlapsInR(const VolumeConfig &vConfig) const
Overlap check radially.
- Parameters
vConfig – [in] is the config against which is checked
- Returns
boolean if the overlap in r exists
-
inline bool overlapsInZ(const VolumeConfig &vConfig) const
Overlap check longitudinally.
- Parameters
vConfig – [in] is the config against which is checked
- Returns
boolean if the overlap in z exists
-
inline std::string toString() const
Method for output formatting.
-
inline bool wraps(const VolumeConfig &vConfig) const
Compatibility check full set.
- Parameters
vConfig – [in] is the config against which is checked
- Returns
boolean if the current volume wraps the vConfig fully
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
-
inline VolumeConfig()