Analysis Software
Documentation for sPHENIX simulation software
|
A dedicated container builder for cylindrical detector containers. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Detector/CylindricalContainerBuilder.hpp>
Classes | |
struct | Config |
Nested configuration object. More... | |
Public Member Functions | |
CylindricalContainerBuilder (const Config &cfg, std::unique_ptr< const Logger > logger=getDefaultLogger("CylindricalContainerBuilder", Logging::INFO)) | |
CylindricalContainerBuilder (const Acts::Experimental::Blueprint::Node &bpNode, Acts::Logging::Level logLevel=Acts::Logging::INFO) | |
DetectorComponent | construct (const GeometryContext &gctx) const final |
Public Member Functions inherited from Acts::Experimental::IDetectorComponentBuilder | |
virtual | ~IDetectorComponentBuilder ()=default |
Private Member Functions | |
const Logger & | logger () const |
Private access method to the logger. | |
Private Attributes | |
Config | m_cfg |
configuration object | |
std::unique_ptr< const Logger > | m_logger |
logging instance | |
A dedicated container builder for cylindrical detector containers.
It relies on the detailed implementation of the CylindricalDetectorHelper and allows for DetectorVolume attachment in z/r/phi, such as wrapping of bevelled cylinder objects in z/r
There exists an option to create this container builder (recursively) from a blueprint tree, which attempts to fill in the gap volumes accordingly.
Definition at line 44 of file CylindricalContainerBuilder.hpp.
View newest version in sPHENIX GitHub at line 44 of file CylindricalContainerBuilder.hpp
Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder | ( | const Config & | cfg, |
std::unique_ptr< const Logger > | logger = getDefaultLogger("CylindricalContainerBuilder", Logging::INFO) |
||
) |
Constructor with configuration struct
cfg | is the configuration struct |
logger | logging instance for screen output |
Definition at line 84 of file CylindricalContainerBuilder.cpp.
View newest version in sPHENIX GitHub at line 84 of file CylindricalContainerBuilder.cpp
References KFPMath::b, Acts::Experimental::CylindricalContainerBuilder::Config::binning, Acts::binPhi, Acts::binR, Acts::binZ, Acts::Experimental::CylindricalContainerBuilder::Config::builders, m_cfg, and physmon_ckf_tracking::u.
Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder | ( | const Acts::Experimental::Blueprint::Node & | bpNode, |
Acts::Logging::Level | logLevel = Acts::Logging::INFO |
||
) |
Constructor from blueprint and logging level
It will create recursively the builders of sub volumes
bpNode | is the entry blue print node |
logLevel | is the logging output level for the builder tools |
Definition at line 119 of file CylindricalContainerBuilder.cpp.
View newest version in sPHENIX GitHub at line 119 of file CylindricalContainerBuilder.cpp
References Acts::Experimental::VolumeStructureBuilder::Config::auxiliary, Acts::Experimental::CylindricalContainerBuilder::Config::auxiliary, Acts::Experimental::CylindricalContainerBuilder::Config::binning, Acts::Experimental::Blueprint::Node::binning, Acts::Experimental::VolumeStructureBuilder::Config::boundsType, Acts::Experimental::Blueprint::Node::boundsType, Acts::Experimental::VolumeStructureBuilder::Config::boundValues, Acts::Experimental::CylindricalContainerBuilder::Config::builders, gtest_filter_unittest::child, Acts::Experimental::Blueprint::Node::children, Acts::Experimental::CylindricalContainerBuilder::Config::geoIdGenerator, Acts::Experimental::Blueprint::Node::geoIdGenerator, Acts::getDefaultLogger(), m_cfg, Acts::Experimental::DetectorVolumeBuilder::Config::name, Acts::Experimental::CylindricalContainerBuilder::Config::rootVolumeFinderBuilder, Acts::Experimental::Blueprint::Node::rootVolumeFinderBuilder, and Acts::Experimental::VolumeStructureBuilder::Config::transform.
|
finalvirtual |
The final implementation of the cylindrical container builder
gctx | The geometry context for this call |
Implements Acts::Experimental::IDetectorComponentBuilder.
Definition at line 164 of file CylindricalContainerBuilder.cpp.
View newest version in sPHENIX GitHub at line 164 of file CylindricalContainerBuilder.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), physmon_simulation::level, logger(), m_cfg(), Acts::Experimental::tryRootVolumes(), physmon_ckf_tracking::u, testSigmaEff::v, and volumes.
|
inlineprivate |
Private access method to the logger.
Definition at line 102 of file CylindricalContainerBuilder.hpp.
View newest version in sPHENIX GitHub at line 102 of file CylindricalContainerBuilder.hpp
References m_logger.
|
private |
configuration object
Definition at line 99 of file CylindricalContainerBuilder.hpp.
View newest version in sPHENIX GitHub at line 99 of file CylindricalContainerBuilder.hpp
Referenced by CylindricalContainerBuilder().
|
private |
logging instance
Definition at line 105 of file CylindricalContainerBuilder.hpp.
View newest version in sPHENIX GitHub at line 105 of file CylindricalContainerBuilder.hpp
Referenced by logger().