VolumeConfig struct to understand the layer config.
More...
#include <Acts/Geometry/CylinderVolumeBuilder.hpp>
|
|
| 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.
|
| 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.
|
| 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.
|
| void | attachZ (const VolumeConfig &lConfig) |
| | Attach method - const it attaches the one volume config to the other one.
|
| bool | contains (const VolumeConfig &vConfig) const |
| | Check if contained full set.
|
| bool | containsInR (const VolumeConfig &vConfig) const |
| | Check if contained radially.
|
| bool | containsInZ (const VolumeConfig &vConfig) const |
| | Check if contained longitudinally.
|
| 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.
|
| bool | overlapsInR (const VolumeConfig &vConfig) const |
| | Overlap check radially.
|
| bool | overlapsInZ (const VolumeConfig &vConfig) const |
| | Overlap check longitudinally.
|
| std::string | toString () const |
| | Method for output formatting.
|
| bool | wraps (const VolumeConfig &vConfig) const |
| | Compatibility check full set.
|
|
|
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
|
VolumeConfig struct to understand the layer config.
◆ adapt()
| void Acts::VolumeConfig::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 adapted |
◆ adaptR()
| void Acts::VolumeConfig::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 adapted |
◆ adaptZ()
| void Acts::VolumeConfig::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 adapted |
◆ attachZ()
| void Acts::VolumeConfig::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 |
◆ contains()
| bool Acts::VolumeConfig::contains |
( |
const VolumeConfig & | vConfig | ) |
const |
Check if contained full set.
- Parameters
-
| [in] | vConfig | is the config against which is checked |
- Returns
- True if the given config is fully contained by this one
◆ containsInR()
| bool Acts::VolumeConfig::containsInR |
( |
const VolumeConfig & | vConfig | ) |
const |
Check if contained radially.
- Parameters
-
| [in] | vConfig | is the config against which is checked |
- Returns
- True if the given config is contained radially
◆ containsInZ()
| bool Acts::VolumeConfig::containsInZ |
( |
const VolumeConfig & | vConfig | ) |
const |
Check if contained longitudinally.
- Parameters
-
| [in] | vConfig | is the config against which is checked |
- Returns
- True if the given config is contained longitudinally
◆ midPointAttachZ()
| void Acts::VolumeConfig::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
- Parameters
-
| [in] | lConfig | is the config to which it should be attached |
- Note
- lConfig will be changed
◆ overlapsInR()
| bool Acts::VolumeConfig::overlapsInR |
( |
const VolumeConfig & | vConfig | ) |
const |
Overlap check radially.
- Parameters
-
| [in] | vConfig | is the config against which is checked |
- Returns
- boolean if the overlap in r exists
◆ overlapsInZ()
| bool Acts::VolumeConfig::overlapsInZ |
( |
const VolumeConfig & | vConfig | ) |
const |
Overlap check longitudinally.
- Parameters
-
| [in] | vConfig | is the config against which is checked |
- Returns
- boolean if the overlap in z exists
◆ toString()
| std::string Acts::VolumeConfig::toString |
( |
| ) |
const |
Method for output formatting.
- Returns
- String representation of this volume config
◆ wraps()
| bool Acts::VolumeConfig::wraps |
( |
const VolumeConfig & | vConfig | ) |
const |
Compatibility check full set.
- Parameters
-
| [in] | vConfig | is the config against which is checked |
- Returns
- boolean if the current volume wraps the vConfig fully