EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::VolumeConfig Struct Reference

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

#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/CylinderVolumeBuilder.hpp>

+ Collaboration diagram for Acts::VolumeConfig:

Public Member Functions

 VolumeConfig ()
 Default constructor.
 
void adaptZ (const VolumeConfig &lConfig)
 
void adaptR (const VolumeConfig &lConfig)
 
void adapt (const VolumeConfig &lConfig)
 
void midPointAttachZ (VolumeConfig &lConfig)
 
void attachZ (const VolumeConfig &lConfig)
 
bool overlapsInR (const VolumeConfig &vConfig) const
 
bool overlapsInZ (const VolumeConfig &vConfig) const
 
bool wraps (const VolumeConfig &vConfig) const
 
bool contains (const VolumeConfig &vConfig) const
 
bool containsInR (const VolumeConfig &vConfig) const
 
bool containsInZ (const VolumeConfig &vConfig) const
 
std::string toString () const
 Method for output formatting.
 
 operator bool () const
 Conversion operator to bool.
 

Public Attributes

bool present {false}
 layers are present
 
bool wrapping {false}
 in what way they are binned
 
double rMin
 min parameter r
 
double rMax
 max parameter r
 
double zMin
 min parameter z
 
double zMax
 max parameter z
 
LayerVector layers
 the layers you have
 
MutableTrackingVolumeVector volumes
 the confined volumes you have
 

Detailed Description

VolumeConfig struct to understand the layer config.

Definition at line 43 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 43 of file CylinderVolumeBuilder.hpp

Constructor & Destructor Documentation

Acts::VolumeConfig::VolumeConfig ( )
inline

Default constructor.

Definition at line 54 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 54 of file CylinderVolumeBuilder.hpp

Member Function Documentation

void Acts::VolumeConfig::adapt ( const VolumeConfig lConfig)
inline

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 adapded

Definition at line 87 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 87 of file CylinderVolumeBuilder.hpp

References adaptR(), and adaptZ().

Referenced by Acts::WrappingConfig::configureContainerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Acts::VolumeConfig::adaptR ( const VolumeConfig lConfig)
inline

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 adapded

Definition at line 76 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 76 of file CylinderVolumeBuilder.hpp

References max, min, rMax, and rMin.

Referenced by adapt(), Acts::WrappingConfig::configureContainerVolume(), and Acts::WrappingConfig::wrapInsertAttach().

+ Here is the caller graph for this function:

void Acts::VolumeConfig::adaptZ ( const VolumeConfig lConfig)
inline

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 adapded

Definition at line 65 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 65 of file CylinderVolumeBuilder.hpp

References max, min, zMax, and zMin.

Referenced by adapt(), and Acts::WrappingConfig::wrapInsertAttach().

+ Here is the caller graph for this function:

void Acts::VolumeConfig::attachZ ( const VolumeConfig lConfig)
inline

Attach method - const it attaches the one volume config to the other one

Parameters
[in]lConfigis the confit to which it should be attached

Definition at line 114 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 114 of file CylinderVolumeBuilder.hpp

References zMax, and zMin.

Referenced by Acts::WrappingConfig::wrapInsertAttach().

+ Here is the caller graph for this function:

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

Check if contained full set

Parameters
[in]vConfigis the config against which is checked

Definition at line 158 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 158 of file CylinderVolumeBuilder.hpp

References containsInR(), and containsInZ().

Referenced by Acts::Test::BOOST_DATA_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Acts::VolumeConfig::containsInR ( const VolumeConfig vConfig) const
inline

Check if contained radially

Parameters
[in]vConfigis the config against which is checked

Definition at line 165 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 165 of file CylinderVolumeBuilder.hpp

References rMax, and rMin.

Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), contains(), and wraps().

+ Here is the caller graph for this function:

bool Acts::VolumeConfig::containsInZ ( const VolumeConfig vConfig) const
inline

Check if contained longitudinally

Parameters
[in]vConfigis the config against which is checked

Definition at line 172 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 172 of file CylinderVolumeBuilder.hpp

References zMax, and zMin.

Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), and contains().

+ Here is the caller graph for this function:

void Acts::VolumeConfig::midPointAttachZ ( VolumeConfig lConfig)
inline

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

Parameters
[in]lConfigis the config to which it should be attached
Note
lConfig will be changed

Definition at line 98 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 98 of file CylinderVolumeBuilder.hpp

References zMax, and zMin.

Referenced by Acts::WrappingConfig::configureContainerVolume().

+ Here is the caller graph for this function:

Acts::VolumeConfig::operator bool ( ) const
inline

Conversion operator to bool.

Definition at line 185 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 185 of file CylinderVolumeBuilder.hpp

References present.

bool Acts::VolumeConfig::overlapsInR ( const VolumeConfig vConfig) const
inline

Overlap check radially

Parameters
[in]vConfigis the config against which is checked
Returns
boolean if the overlap in r exists

Definition at line 126 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 126 of file CylinderVolumeBuilder.hpp

References max, min, present, rMax, and rMin.

Referenced by Acts::Test::BOOST_DATA_TEST_CASE().

+ Here is the caller graph for this function:

bool Acts::VolumeConfig::overlapsInZ ( const VolumeConfig vConfig) const
inline

Overlap check longitudinally

Parameters
[in]vConfigis the config against which is checked
Returns
boolean if the overlap in z exists

Definition at line 137 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 137 of file CylinderVolumeBuilder.hpp

References max, min, present, zMax, and zMin.

Referenced by Acts::Test::BOOST_DATA_TEST_CASE().

+ Here is the caller graph for this function:

std::string Acts::VolumeConfig::toString ( ) const
inline

Method for output formatting.

for screen output

Definition at line 177 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 177 of file CylinderVolumeBuilder.hpp

References rMax, rMin, zMax, and zMin.

Referenced by Acts::WrappingConfig::toString(), and Acts::CylinderVolumeBuilder::trackingVolume().

+ Here is the caller graph for this function:

bool Acts::VolumeConfig::wraps ( const VolumeConfig vConfig) const
inline

Compatibility check full set

Parameters
[in]vConfigis the config against which is checked
Returns
boolean if the current volume wraps the vConfig fully

Definition at line 148 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 148 of file CylinderVolumeBuilder.hpp

References containsInR(), zMax, and zMin.

Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), and Acts::WrappingConfig::wrapInsertAttach().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

LayerVector Acts::VolumeConfig::layers

the layers you have

Definition at line 50 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 50 of file CylinderVolumeBuilder.hpp

Referenced by Acts::CylinderVolumeBuilder::analyzeContent(), and Acts::CylinderVolumeBuilder::trackingVolume().

MutableTrackingVolumeVector Acts::VolumeConfig::volumes

the confined volumes you have

Definition at line 51 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 51 of file CylinderVolumeBuilder.hpp

Referenced by Acts::CylinderVolumeBuilder::analyzeContent(), and Acts::CylinderVolumeBuilder::trackingVolume().

bool Acts::VolumeConfig::wrapping {false}

in what way they are binned

Definition at line 45 of file CylinderVolumeBuilder.hpp.

View newest version in sPHENIX GitHub at line 45 of file CylinderVolumeBuilder.hpp


The documentation for this struct was generated from the following file: