ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::VolumeConfig Struct Reference

VolumeConfig struct to understand the layer config. More...

#include <Acts/Geometry/CylinderVolumeBuilder.hpp>

Collaboration diagram for Acts::VolumeConfig:
[legend]

Public Member 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.
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.

Public Attributes

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

Detailed Description

VolumeConfig struct to understand the layer config.

Constructor & Destructor Documentation

◆ VolumeConfig()

Acts::VolumeConfig::VolumeConfig ( )

Default constructor.

Member Function Documentation

◆ 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]lConfigis 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]lConfigis 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]lConfigis 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]lConfigis the confit to which it should be attached

◆ contains()

bool Acts::VolumeConfig::contains ( const VolumeConfig & vConfig) const

Check if contained full set.

Parameters
[in]vConfigis 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]vConfigis 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]vConfigis 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]lConfigis 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]vConfigis 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]vConfigis 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]vConfigis the config against which is checked
Returns
boolean if the current volume wraps the vConfig fully

Member Data Documentation

◆ layers

LayerVector Acts::VolumeConfig::layers

the layers you have

◆ present

bool Acts::VolumeConfig::present {false}

layers are present

◆ rMax

double Acts::VolumeConfig::rMax

max parameter r

◆ rMin

double Acts::VolumeConfig::rMin

min parameter r

◆ volumes

MutableTrackingVolumeVector Acts::VolumeConfig::volumes

the confined volumes you have

◆ wrapping

bool Acts::VolumeConfig::wrapping {false}

in what way they are binned

◆ zMax

double Acts::VolumeConfig::zMax

max parameter z

◆ zMin

double Acts::VolumeConfig::zMin

min parameter z