EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/PassiveLayerBuilder.hpp>
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 the layers have to be given by the configuration struct.
Definition at line 25 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 25 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 19 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 19 of file PassiveLayerBuilder.cpp
References setConfiguration().
|
overridedefault |
Destructor.
|
overridevirtual |
LayerBuilder interface method
gctx | ist the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 91 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 91 of file PassiveLayerBuilder.cpp
References ACTS_DEBUG, ACTS_VERBOSE, Acts::CylinderLayer::create(), material(), Acts::s_idTransform, and Acts::UnitConstants::u.
|
private |
Helper interface method
gctx | ist the geometry context under which the geometry is built |
side | is the side of the layer to be built |
Definition at line 47 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 47 of file PassiveLayerBuilder.cpp
References ACTS_DEBUG, ACTS_VERBOSE, Acts::DiscLayer::create(), material(), and Acts::UnitConstants::u.
|
inline |
Get configuration method.
Definition at line 123 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 123 of file PassiveLayerBuilder.hpp
References m_cfg.
|
inlineoverridevirtual |
Name identification
Implements Acts::ILayerBuilder.
Definition at line 86 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 86 of file PassiveLayerBuilder.hpp
References Acts::PassiveLayerBuilder::Config::layerIdentification, and m_cfg.
|
inlineprivate |
Definition at line 117 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 117 of file PassiveLayerBuilder.hpp
References m_logger.
|
overridevirtual |
LayerBuilder interface method
gctx | ist the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 42 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 42 of file PassiveLayerBuilder.cpp
|
overridevirtual |
LayerBuilder interface method
gctx | ist the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 37 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 37 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 26 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 26 of file PassiveLayerBuilder.cpp
Referenced by PassiveLayerBuilder().
void Acts::PassiveLayerBuilder::setLogger | ( | std::unique_ptr< const Logger > | newLogger | ) |
Set logging instance
newLogger | the logger instance |
Definition at line 32 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 32 of file PassiveLayerBuilder.cpp
|
protected |
configuration
Definition at line 105 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 105 of file PassiveLayerBuilder.hpp
Referenced by getConfiguration(), and identification().
|
private |
logging instance
Definition at line 120 of file PassiveLayerBuilder.hpp.
View newest version in sPHENIX GitHub at line 120 of file PassiveLayerBuilder.hpp
Referenced by logger().