EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#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) |
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 ITrackingVolumeBuilder tools that are configured to be built in sequence, where the output of one volume builder is provided to the next volume volume builder and accordingly
The returned volume of each step must be processable by the previous step
Definition at line 37 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 37 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 23 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 23 of file TrackingGeometryBuilder.cpp
References setConfiguration().
|
overridedefault |
Destructor.
|
inline |
Get configuration method
Definition at line 100 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 100 of file TrackingGeometryBuilder.hpp
References m_cfg.
|
inlineprivate |
Private access method to the logger.
Definition at line 93 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 93 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 30 of file TrackingGeometryBuilder.cpp.
View newest version in sPHENIX GitHub at line 30 of file TrackingGeometryBuilder.cpp
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
|
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::trackingGeometry().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::EventDataView3DTest::testMultiTrajectory().
|
private |
Configuration member.
Definition at line 90 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 90 of file TrackingGeometryBuilder.hpp
Referenced by getConfiguration().
|
private |
the logging instance
Definition at line 96 of file TrackingGeometryBuilder.hpp.
View newest version in sPHENIX GitHub at line 96 of file TrackingGeometryBuilder.hpp
Referenced by logger().