Analysis Software
Documentation for sPHENIX simulation software
|
A generic detector volume builder that uses an external builder for shape and portals and an internal structure builder for volume internals. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Detector/DetectorVolumeBuilder.hpp>
Classes | |
struct | Config |
Nested configuration object. More... | |
Public Member Functions | |
DetectorVolumeBuilder (const Config &cfg, std::unique_ptr< const Logger > mlogger=getDefaultLogger("DetectorVolumeBuilder", 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 generic detector volume builder that uses an external builder for shape and portals and an internal structure builder for volume internals.
Definition at line 33 of file DetectorVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 33 of file DetectorVolumeBuilder.hpp
Acts::Experimental::DetectorVolumeBuilder::DetectorVolumeBuilder | ( | const Config & | cfg, |
std::unique_ptr< const Logger > | mlogger = getDefaultLogger("DetectorVolumeBuilder", Logging::INFO) |
||
) |
Constructor with configuration arguments
cfg | is the configuration struct |
mlogger | logging instance for screen output |
Definition at line 26 of file DetectorVolumeBuilder.cpp.
View newest version in sPHENIX GitHub at line 26 of file DetectorVolumeBuilder.cpp
References Acts::Experimental::DetectorVolumeBuilder::Config::externalsBuilder, and m_cfg.
|
finalvirtual |
Final implementation of a volume builder that is purely defined by an internal and external structure builder
gctx | The geometry context for this call |
Implements Acts::Experimental::IDetectorComponentBuilder.
Definition at line 37 of file DetectorVolumeBuilder.cpp.
View newest version in sPHENIX GitHub at line 37 of file DetectorVolumeBuilder.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), bounds, Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), m_cfg(), testing::internal::move(), merge_hashes::p, portalGenerator, Acts::Test::transform, Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), testSigmaEff::v, and volumes.
|
inlineprivate |
Private access method to the logger.
Definition at line 73 of file DetectorVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 73 of file DetectorVolumeBuilder.hpp
References m_logger.
|
private |
configuration object
Definition at line 70 of file DetectorVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 70 of file DetectorVolumeBuilder.hpp
Referenced by DetectorVolumeBuilder().
|
private |
logging instance
Definition at line 76 of file DetectorVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 76 of file DetectorVolumeBuilder.hpp
Referenced by logger().