EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::Generic::LayerBuilderT< detector_element_t > Class Template Reference

#include <acts/blob/sPHENIX/Examples/Detectors/GenericDetector/include/ActsExamples/GenericDetector/LayerBuilderT.hpp>

+ Inheritance diagram for ActsExamples::Generic::LayerBuilderT< detector_element_t >:
+ Collaboration diagram for ActsExamples::Generic::LayerBuilderT< detector_element_t >:

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 finaloverride
 LayerBuilder interface method - returning the layers at negative side.
 
const Acts::LayerVector centralLayers (const Acts::GeometryContext &gctx) const finaloverride
 LayerBuilder interface method - returning the central layers.
 
const Acts::LayerVector positiveLayers (const Acts::GeometryContext &gctx) const finaloverride
 LayerBuilder interface method - returning the layers at positive side.
 
const std::string & identification () const finaloverride
 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::Loggerlogger () 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
 

Detailed Description

template<typename detector_element_t>
class ActsExamples::Generic::LayerBuilderT< detector_element_t >

The LayerBuilderT is able to build cylinder & disc layers from hard-coded input. This is ment for the simple detector examples.

Definition at line 45 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 45 of file LayerBuilderT.hpp

Constructor & Destructor Documentation

template<typename detector_element_t >
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

Parameters
glbConfigis the configuration class

Definition at line 184 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 184 of file LayerBuilderT.hpp

Member Function Documentation

template<typename detector_element_t >
const Acts::LayerVector ActsExamples::Generic::LayerBuilderT< detector_element_t >::centralLayers ( const Acts::GeometryContext gctx) const
finaloverridevirtual

LayerBuilder interface method - returning the central layers.

Implements Acts::ILayerBuilder.

Definition at line 124 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 124 of file LayerBuilderT.hpp

References ACTS_VERBOSE, and Acts::Surface::assignSurfaceMaterial().

+ Here is the call graph for this function:

template<typename detector_element_t >
const Acts::LayerVector ActsExamples::Generic::LayerBuilderT< detector_element_t >::constructEndcapLayers ( const Acts::GeometryContext gctx,
int  side 
) const
private

the layer is created

Definition at line 191 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 191 of file LayerBuilderT.hpp

References ACTS_VERBOSE, and Acts::Surface::assignSurfaceMaterial().

+ Here is the call graph for this function:

template<typename detector_element_t >
const std::string& ActsExamples::Generic::LayerBuilderT< detector_element_t >::identification ( ) const
inlinefinaloverridevirtual

ILayerBuilder method.

Implements Acts::ILayerBuilder.

Definition at line 105 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 105 of file LayerBuilderT.hpp

References ActsExamples::Generic::LayerBuilderT< detector_element_t >::Config::layerIdentification, and ActsExamples::Generic::LayerBuilderT< detector_element_t >::m_cfg.

template<typename detector_element_t >
const Acts::Logger& ActsExamples::Generic::LayerBuilderT< detector_element_t >::logger ( ) const
inlineprivate

Private access to the logging instance.

Definition at line 117 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 117 of file LayerBuilderT.hpp

References ActsExamples::Generic::LayerBuilderT< detector_element_t >::m_logger.

template<typename detector_element_t >
const Acts::LayerVector ActsExamples::Generic::LayerBuilderT< detector_element_t >::negativeLayers ( const Acts::GeometryContext gctx) const
finaloverridevirtual

LayerBuilder interface method - returning the layers at negative side.

Implements Acts::ILayerBuilder.

Definition at line 172 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 172 of file LayerBuilderT.hpp

template<typename detector_element_t >
const Acts::LayerVector ActsExamples::Generic::LayerBuilderT< detector_element_t >::positiveLayers ( const Acts::GeometryContext gctx) const
finaloverridevirtual

LayerBuilder interface method - returning the layers at positive side.

Implements Acts::ILayerBuilder.

Definition at line 178 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 178 of file LayerBuilderT.hpp

Member Data Documentation

template<typename detector_element_t >
Config ActsExamples::Generic::LayerBuilderT< detector_element_t >::m_cfg
private

Configuration member.

Definition at line 114 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 114 of file LayerBuilderT.hpp

Referenced by ActsExamples::Generic::LayerBuilderT< detector_element_t >::identification().

template<typename detector_element_t >
std::unique_ptr<const Acts::Logger> ActsExamples::Generic::LayerBuilderT< detector_element_t >::m_logger
private

the logging instance

Definition at line 120 of file LayerBuilderT.hpp.

View newest version in sPHENIX GitHub at line 120 of file LayerBuilderT.hpp

Referenced by ActsExamples::Generic::LayerBuilderT< detector_element_t >::logger().


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