Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/TrackingGeometryBuilder.hpp>
Classes | |
struct | Config |
Public Member Functions | |
TrackingGeometryBuilder (const Config &cgbConfig, std::unique_ptr< const Logger > logger=getDefaultLogger("TrackingGeometryBuilder", Logging::INFO)) | |
~TrackingGeometryBuilder () override=default | |
Destructor. | |
std::unique_ptr< const TrackingGeometry > | trackingGeometry (const GeometryContext &gctx) const final |
void | setConfiguration (const Config &cgbConfig) |
const Config & | getConfiguration () const |
void | setLogger (std::unique_ptr< const Logger > newLogger) |
Public Member Functions inherited from Acts::ITrackingGeometryBuilder | |
virtual | ~ITrackingGeometryBuilder ()=default |
Virtual destructor. | |
Private Member Functions | |
const Logger & | logger () const |
Private access method to the logger. | |
Private Attributes | |
Config | m_cfg |
Configuration member. | |
std::unique_ptr< const Logger > | m_logger |
the logging instance | |
The Acts::TrackingGeometry Builder for volumes that wrap around another
It retrieves an array of std::functions that build the TrackingGeometry sequentially in order, with the following options:
The returned volume of each step must be processable by the previous step
Definition at line 36 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 36 of file TrackingGeometryBuilder.hpp
Acts::TrackingGeometryBuilder::TrackingGeometryBuilder | ( | const Config & | cgbConfig, |
std::unique_ptr< const Logger > | logger = getDefaultLogger("TrackingGeometryBuilder", Logging::INFO) |
||
) |
Constructor
[in] | cgbConfig | is the configuration struct for this builder |
[in] | logger | logging instance |
Definition at line 17 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 17 of file TrackingGeometryBuilder.cpp
References setConfiguration().
|
overridedefault |
Destructor.
const Acts::TrackingGeometryBuilder::Config & Acts::TrackingGeometryBuilder::getConfiguration | ( | ) | const |
Get configuration method
Definition at line 25 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 25 of file TrackingGeometryBuilder.cpp
References m_cfg().
|
inlineprivate |
Private access method to the logger.
Definition at line 96 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 96 of file TrackingGeometryBuilder.hpp
References m_logger.
void Acts::TrackingGeometryBuilder::setConfiguration | ( | const Config & | cgbConfig | ) |
Set configuration method
cgbConfig | is the new configuration struct |
Definition at line 29 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 29 of file TrackingGeometryBuilder.cpp
References m_cfg(), and Acts::TrackingGeometryBuilder::Config::trackingVolumeBuilders.
Referenced by TrackingGeometryBuilder().
void Acts::TrackingGeometryBuilder::setLogger | ( | std::unique_ptr< const Logger > | newLogger | ) |
set logging instance
newLogger | the new logging instance |
Definition at line 37 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 37 of file TrackingGeometryBuilder.cpp
References m_logger, and testing::internal::move().
|
finalvirtual |
TrackingGeometry Interface method
gctx | geometry context of that building call |
Implements Acts::ITrackingGeometryBuilder.
Definition at line 43 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 43 of file TrackingGeometryBuilder.cpp
References ACTS_INFO, logger(), m_cfg(), and testing::internal::move().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::EventDataView3DTest::createDetector(), and Acts::Test::makeToyDetector().
|
private |
Configuration member.
Definition at line 93 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 93 of file TrackingGeometryBuilder.hpp
|
private |
the logging instance
Definition at line 99 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 99 of file TrackingGeometryBuilder.hpp
Referenced by logger().