Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Detector/VolumeStructureBuilder.hpp>
Classes | |
struct | Config |
Nexted configuration struct. More... | |
Public Member Functions | |
VolumeStructureBuilder (const Config &cfg, std::unique_ptr< const Logger > mlogger=getDefaultLogger("VolumeStructureBuilder", Logging::INFO)) | |
ExternalStructure | construct (const GeometryContext &gctx) const final |
Public Member Functions inherited from Acts::Experimental::IExternalStructureBuilder | |
virtual | ~IExternalStructureBuilder ()=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 | |
This class provides the external detector volume structure, configured either from:
Acts::Extent
object, the transform steming from the extent definition will be applied on top of the provided starting transform. In case of volume bounds construction from an array of values, the starting transform is already the final volume placement. Definition at line 37 of file VolumeStructureBuilder.hpp.
View newest version in sPHENIX GitHub at line 37 of file VolumeStructureBuilder.hpp
Acts::Experimental::VolumeStructureBuilder::VolumeStructureBuilder | ( | const Config & | cfg, |
std::unique_ptr< const Logger > | mlogger = getDefaultLogger("VolumeStructureBuilder", Logging::INFO) |
||
) |
Constructor
cfg | is the configuration struct |
mlogger | logging instance for screen output |
Definition at line 22 of file VolumeStructureBuilder.cpp.
View newest version in sPHENIX GitHub at line 22 of file VolumeStructureBuilder.cpp
References Acts::Experimental::VolumeStructureBuilder::Config::boundsType, Acts::Experimental::VolumeStructureBuilder::Config::boundValues, Acts::Experimental::VolumeStructureBuilder::Config::extent, and m_cfg.
|
finalvirtual |
The interface definition for internal structure creation
gctx | the geometry context at the creation of the internal structure |
Implements Acts::Experimental::IExternalStructureBuilder.
Definition at line 39 of file VolumeStructureBuilder.cpp.
View newest version in sPHENIX GitHub at line 39 of file VolumeStructureBuilder.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), Acts::binPhi, Acts::binR, Acts::binX, Acts::binY, Acts::binZ, Acts::Experimental::defaultPortalGenerator(), Acts::GenericCuboidVolumeBounds::BoundValues::eSize, m_cfg(), testing::internal::move(), to_string(), Acts::toString(), and physmon_ckf_tracking::u.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlineprivate |
Private access method to the logger.
Definition at line 74 of file VolumeStructureBuilder.hpp.
View newest version in sPHENIX GitHub at line 74 of file VolumeStructureBuilder.hpp
References m_logger.
|
private |
configuration object
Definition at line 71 of file VolumeStructureBuilder.hpp.
View newest version in sPHENIX GitHub at line 71 of file VolumeStructureBuilder.hpp
Referenced by VolumeStructureBuilder().
|
private |
logging instance
Definition at line 77 of file VolumeStructureBuilder.hpp.
View newest version in sPHENIX GitHub at line 77 of file VolumeStructureBuilder.hpp
Referenced by logger().