![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/PassiveLayerBuilder.hpp>
Inheritance diagram for Acts::PassiveLayerBuilder:
Collaboration diagram for Acts::PassiveLayerBuilder:Classes | |
| struct | Config |
Public Member Functions | |
| PassiveLayerBuilder (const Config &plConfig, std::unique_ptr< const Logger > logger=getDefaultLogger("PassiveLayerBuilder", Logging::INFO)) | |
| ~PassiveLayerBuilder () override=default | |
| Destructor. | |
| const LayerVector | negativeLayers (const GeometryContext &gctx) const override |
| const LayerVector | centralLayers (const GeometryContext &gctx) const override |
| const LayerVector | positiveLayers (const GeometryContext &gctx) const override |
| const std::string & | identification () const override |
| void | setConfiguration (const Config &plConfig) |
| Config | getConfiguration () const |
| Get configuration method. | |
| void | setLogger (std::unique_ptr< const Logger > newLogger) |
Public Member Functions inherited from Acts::ILayerBuilder | |
| virtual | ~ILayerBuilder ()=default |
| Virtual destructor. | |
Protected Attributes | |
| Config | m_cfg |
| configuration | |
Private Member Functions | |
| const LayerVector | endcapLayers (const GeometryContext &gctx, int side) const |
| const Logger & | logger () const |
Private Attributes | |
| std::unique_ptr< const Logger > | m_logger |
| logging instance | |
The PassiveLayerBuilder is able to build cylinder & disc layers with given dimensions and material. The specifications of the layers have to be given by the configuration struct.
Definition at line 29 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 29 of file PassiveLayerBuilder.hpp
| Acts::PassiveLayerBuilder::PassiveLayerBuilder | ( | const Config & | plConfig, |
| std::unique_ptr< const Logger > | logger = getDefaultLogger( "PassiveLayerBuilder", Logging::INFO) |
||
| ) |
Constructor
| plConfig | is the ocnfiguration struct that steers behavior |
| logger | logging instance |
Definition at line 28 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 28 of file PassiveLayerBuilder.cpp
References setConfiguration().
Here is the call graph for this function:
|
overridedefault |
Destructor.
|
overridevirtual |
LayerBuilder interface method
| gctx | is the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 100 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 100 of file PassiveLayerBuilder.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), Acts::CylinderLayer::create(), m_cfg(), material, and physmon_ckf_tracking::u.
Here is the call graph for this function:
|
private |
Helper interface method
| gctx | is the geometry context under which the geometry is built |
| side | is the side of the layer to be built |
Definition at line 56 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 56 of file PassiveLayerBuilder.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), Acts::DiscLayer::create(), m_cfg(), material, and physmon_ckf_tracking::u.
Here is the call graph for this function:
|
inline |
Get configuration method.
Definition at line 127 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 127 of file PassiveLayerBuilder.hpp
References m_cfg.
|
inlineoverridevirtual |
Name identification
Implements Acts::ILayerBuilder.
Definition at line 90 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 90 of file PassiveLayerBuilder.hpp
References Acts::PassiveLayerBuilder::Config::layerIdentification, and m_cfg.
|
inlineprivate |
Definition at line 121 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 121 of file PassiveLayerBuilder.hpp
References m_logger.
|
overridevirtual |
LayerBuilder interface method
| gctx | is the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 51 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 51 of file PassiveLayerBuilder.cpp
|
overridevirtual |
LayerBuilder interface method
| gctx | is the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 46 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 46 of file PassiveLayerBuilder.cpp
| void Acts::PassiveLayerBuilder::setConfiguration | ( | const Config & | plConfig | ) |
Set configuration method
| plConfig | is a configuration struct it overwrites the current configuration |
<
Definition at line 35 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 35 of file PassiveLayerBuilder.cpp
References m_cfg().
Referenced by PassiveLayerBuilder().
Here is the call graph for this function:
Here is the caller graph for this function:| void Acts::PassiveLayerBuilder::setLogger | ( | std::unique_ptr< const Logger > | newLogger | ) |
Set logging instance
| newLogger | the logger instance |
Definition at line 41 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 41 of file PassiveLayerBuilder.cpp
References m_logger, and testing::internal::move().
Here is the call graph for this function:
|
protected |
configuration
Definition at line 109 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 109 of file PassiveLayerBuilder.hpp
Referenced by getConfiguration(), and identification().
|
private |
logging instance
Definition at line 124 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 124 of file PassiveLayerBuilder.hpp
Referenced by logger().