Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | Config |
Public Member Functions | |
LayerBuilderT (const Config &cfg, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("LayerBuilderT", Acts::Logging::INFO)) | |
const Acts::LayerVector | negativeLayers (const Acts::GeometryContext &gctx) const override |
LayerBuilder interface method - returning the layers at negative side. | |
const Acts::LayerVector | centralLayers (const Acts::GeometryContext &gctx) const override |
LayerBuilder interface method - returning the central layers. | |
const Acts::LayerVector | positiveLayers (const Acts::GeometryContext &gctx) const override |
LayerBuilder interface method - returning the layers at positive side. | |
const std::string & | identification () const override |
ILayerBuilder method. | |
Public Member Functions inherited from Acts::ILayerBuilder | |
virtual | ~ILayerBuilder ()=default |
Virtual destructor. | |
Private Member Functions | |
const Acts::LayerVector | constructEndcapLayers (const Acts::GeometryContext &gctx, int side) const |
const Acts::Logger & | logger () const |
Private access to the logging instance. | |
Private Attributes | |
Config | m_cfg |
Configuration member. | |
std::unique_ptr< const Acts::Logger > | m_logger |
the logging instance | |
The LayerBuilderT is able to build cylinder & disc layers from hard-coded input. This is meant for the simple detector examples.
Definition at line 44 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 44 of file LayerBuilderT.hpp
ActsExamples::Generic::LayerBuilderT< detector_element_t >::LayerBuilderT | ( | const Config & | cfg, |
std::unique_ptr< const Acts::Logger > | logger = Acts::getDefaultLogger("LayerBuilderT< detector_element_t >", Acts::Logging::INFO) |
||
) |
Constructor
glbConfig | is the configuration class |
Definition at line 183 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 183 of file LayerBuilderT.hpp
|
overridevirtual |
LayerBuilder interface method - returning the central layers.
Implements Acts::ILayerBuilder.
Definition at line 123 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 123 of file LayerBuilderT.hpp
References ACTS_VERBOSE, Acts::Surface::assignSurfaceMaterial(), and m_cfg().
|
private |
the layer is created
Definition at line 190 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 190 of file LayerBuilderT.hpp
References ACTS_VERBOSE, Acts::Surface::assignSurfaceMaterial(), and m_cfg().
|
inlineoverridevirtual |
ILayerBuilder method.
Implements Acts::ILayerBuilder.
Definition at line 104 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 104 of file LayerBuilderT.hpp
References ActsExamples::Generic::LayerBuilderT< detector_element_t >::Config::layerIdentification, and ActsExamples::Generic::LayerBuilderT< detector_element_t >::m_cfg.
|
inlineprivate |
Private access to the logging instance.
Definition at line 116 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 116 of file LayerBuilderT.hpp
References ActsExamples::Generic::LayerBuilderT< detector_element_t >::m_logger.
|
overridevirtual |
LayerBuilder interface method - returning the layers at negative side.
Implements Acts::ILayerBuilder.
Definition at line 171 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 171 of file LayerBuilderT.hpp
|
overridevirtual |
LayerBuilder interface method - returning the layers at positive side.
Implements Acts::ILayerBuilder.
Definition at line 177 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 177 of file LayerBuilderT.hpp
|
private |
Configuration member.
Definition at line 113 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 113 of file LayerBuilderT.hpp
Referenced by ActsExamples::Generic::LayerBuilderT< detector_element_t >::identification().
|
private |
the logging instance
Definition at line 119 of file LayerBuilderT.hpp.
View newest version in sPHENIX GitHub at line 119 of file LayerBuilderT.hpp
Referenced by ActsExamples::Generic::LayerBuilderT< detector_element_t >::logger().