ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/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 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 22 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 22 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 95 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 95 of file PassiveLayerBuilder.cpp
References ACTS_DEBUG, ACTS_VERBOSE, Acts::CylinderLayer::create(), material(), 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 50 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 50 of file PassiveLayerBuilder.cpp
References ACTS_DEBUG, ACTS_VERBOSE, Acts::DiscLayer::create(), material(), and Acts::UnitConstants::u.
|
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 | ist the geometry context under which the geometry is built |
Implements Acts::ILayerBuilder.
Definition at line 45 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 45 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 40 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 40 of file PassiveLayerBuilder.cpp
Set configuration method
plConfig | is a configuration struct it overwrites the current configuration |
<
Definition at line 29 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 29 of file PassiveLayerBuilder.cpp
Referenced by PassiveLayerBuilder().
Set logging instance
newLogger | the logger instance |
Definition at line 35 of file PassiveLayerBuilder.cpp.
View newest version in sPHENIX GitHub at line 35 of file PassiveLayerBuilder.cpp
|
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().