ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::TrackingGeometryBuilder Class Reference

#include <acts/blob/master/Core/include/Acts/Geometry/TrackingGeometryBuilder.hpp>

+ Inheritance diagram for Acts::TrackingGeometryBuilder:
+ Collaboration diagram for Acts::TrackingGeometryBuilder:

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 Loggerlogger () const
 Private access method to the logger.
 

Private Attributes

Config m_cfg
 Configuration member.
 
std::unique_ptr< const Loggerm_logger
 the logging instance
 

Detailed Description

Definition at line 41 of file TrackingGeometryBuilder.hpp.

View newest version in sPHENIX GitHub at line 41 of file TrackingGeometryBuilder.hpp

Constructor & Destructor Documentation

Acts::TrackingGeometryBuilder::TrackingGeometryBuilder ( const Config cgbConfig,
std::unique_ptr< const Logger logger = getDefaultLogger("TrackingGeometryBuilder",                                               Logging::INFO) 
)

Constructor

Parameters
[in]cgbConfigis the configuration struct for this builder
[in]loggerlogging instance

Definition at line 22 of file TrackingGeometryBuilder.cpp.

View newest version in sPHENIX GitHub at line 22 of file TrackingGeometryBuilder.cpp

References setConfiguration().

+ Here is the call graph for this function:

Acts::TrackingGeometryBuilder::~TrackingGeometryBuilder ( )
overridedefault

Destructor.

Member Function Documentation

TrackingGeometryBuilder::Config Acts::TrackingGeometryBuilder::getConfiguration ( ) const
inline

Get configuration method

Returns
the current configuration

Definition at line 104 of file TrackingGeometryBuilder.hpp.

View newest version in sPHENIX GitHub at line 104 of file TrackingGeometryBuilder.hpp

References m_cfg.

const Logger& Acts::TrackingGeometryBuilder::logger ( ) const
inlineprivate

Private access method to the logger.

Definition at line 97 of file TrackingGeometryBuilder.hpp.

View newest version in sPHENIX GitHub at line 97 of file TrackingGeometryBuilder.hpp

References m_logger.

void Acts::TrackingGeometryBuilder::setConfiguration ( const Config cgbConfig)

Set configuration method

Parameters
cgbConfigis 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

Referenced by TrackingGeometryBuilder().

+ Here is the caller graph for this function:

void Acts::TrackingGeometryBuilder::setLogger ( std::unique_ptr< const Logger newLogger)

set logging instance

Parameters
newLoggerthe new logging instance

Definition at line 36 of file TrackingGeometryBuilder.cpp.

View newest version in sPHENIX GitHub at line 36 of file TrackingGeometryBuilder.cpp

std::unique_ptr< const Acts::TrackingGeometry > Acts::TrackingGeometryBuilder::trackingGeometry ( const GeometryContext gctx) const
finalvirtual

TrackingGeometry Interface method

Parameters
gctxgeometry context of that building call
Returns
a unique pointer to a TrackingGeometry

Implements Acts::ITrackingGeometryBuilder.

Definition at line 42 of file TrackingGeometryBuilder.cpp.

View newest version in sPHENIX GitHub at line 42 of file TrackingGeometryBuilder.cpp

References Acts::trackingGeometry().

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Config Acts::TrackingGeometryBuilder::m_cfg
private

Configuration member.

Definition at line 94 of file TrackingGeometryBuilder.hpp.

View newest version in sPHENIX GitHub at line 94 of file TrackingGeometryBuilder.hpp

Referenced by getConfiguration().

std::unique_ptr<const Logger> Acts::TrackingGeometryBuilder::m_logger
private

the logging instance

Definition at line 100 of file TrackingGeometryBuilder.hpp.

View newest version in sPHENIX GitHub at line 100 of file TrackingGeometryBuilder.hpp

Referenced by logger().


The documentation for this class was generated from the following files: