ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Classes | |
struct | Config |
Public Types | |
using | LayerStore = std::vector< std::shared_ptr< detector_element_t >> |
using | DetectorStore = std::vector< LayerStore > |
Public Member Functions | |
ProtoLayerCreatorT (const Config &glbConfig, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("ProtoLayerCreatorT", Acts::Logging::INFO)) | |
std::vector< ProtoLayerSurfaces > | negativeProtoLayers (const Acts::GeometryContext &gctx, DetectorStore &detectorStore) const |
construct the negative side layers | |
std::vector< ProtoLayerSurfaces > | centralProtoLayers (const Acts::GeometryContext &gctx, DetectorStore &detectorStore) const |
construct the central layers | |
std::vector< ProtoLayerSurfaces > | positiveProtoLayers (const Acts::GeometryContext &gctx, DetectorStore &detectorStore) const |
construct the positive side layers | |
Private Member Functions | |
std::vector< ProtoLayerSurfaces > | createProtoLayers (const Acts::GeometryContext &gctx, DetectorStore &detectorStore, int side) const |
private helper method to create the proto layers on the left respectively right side | |
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 ProtoLayerCreatorT is the first setp in creating a geometry from code input, it creates the ProtoLayer and returns the created detector elements for the DetectorStore emulation
Definition at line 62 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 62 of file ProtoLayerCreatorT.hpp
using FW::Generic::ProtoLayerCreatorT< detector_element_t >::DetectorStore = std::vector<LayerStore> |
Definition at line 66 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 66 of file ProtoLayerCreatorT.hpp
using FW::Generic::ProtoLayerCreatorT< detector_element_t >::LayerStore = std::vector<std::shared_ptr<detector_element_t>> |
Definition at line 64 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 64 of file ProtoLayerCreatorT.hpp
FW::Generic::ProtoLayerCreatorT< detector_element_t >::ProtoLayerCreatorT | ( | const Config & | glbConfig, |
std::unique_ptr< const Acts::Logger > | logger = Acts::getDefaultLogger("ProtoLayerCreatorT< detector_element_t >", Acts::Logging::INFO) |
||
) |
Constructor
glbConfig | is the configuration class |
logger | is the logging class for screen output |
Definition at line 394 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 394 of file ProtoLayerCreatorT.hpp
std::vector< ProtoLayerSurfaces > FW::Generic::ProtoLayerCreatorT< detector_element_t >::centralProtoLayers | ( | const Acts::GeometryContext & | gctx, |
DetectorStore & | detectorStore | ||
) | const |
construct the central layers
gctx | The geometry context for this construction call |
detectorStore | The reference store for the detector elements |
Definition at line 201 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 201 of file ProtoLayerCreatorT.hpp
References ACTS_DEBUG, ACTS_VERBOSE, ACTS_WARNING, boost::const_pointer_cast(), Acts::ProtoLayer::envR, Acts::ProtoLayer::envZ, Acts::Test::moduleBounds, phi, and readPY::pl.
|
private |
private helper method to create the proto layers on the left respectively right side
gctx | The geometry context for this construction call |
detectorStore | The reference store for the detector elements |
side | is the indiciator whether to build on negative/positive |
this is the loop over th elayer positions
some preparation work
Definition at line 401 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 401 of file ProtoLayerCreatorT.hpp
References ACTS_DEBUG, ACTS_VERBOSE, boost::const_pointer_cast(), Acts::ProtoLayer::envR, Acts::ProtoLayer::envZ, Acts::Test::moduleBounds, and phi.
|
inlineprivate |
Private access to the logging instance.
Definition at line 196 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 196 of file ProtoLayerCreatorT.hpp
References FW::Generic::ProtoLayerCreatorT< detector_element_t >::m_logger.
std::vector< ProtoLayerSurfaces > FW::Generic::ProtoLayerCreatorT< detector_element_t >::negativeProtoLayers | ( | const Acts::GeometryContext & | gctx, |
DetectorStore & | detectorStore | ||
) | const |
construct the negative side layers
gctx | The geometry context for this construction call |
detectorStore | The reference store for the detector elements |
Definition at line 381 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 381 of file ProtoLayerCreatorT.hpp
std::vector< ProtoLayerSurfaces > FW::Generic::ProtoLayerCreatorT< detector_element_t >::positiveProtoLayers | ( | const Acts::GeometryContext & | gctx, |
DetectorStore & | detectorStore | ||
) | const |
construct the positive side layers
gctx | The geometry context for this construction call |
detectorStore | The reference store for the detector elements |
Definition at line 388 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 388 of file ProtoLayerCreatorT.hpp
|
private |
Configuration member.
Definition at line 190 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 190 of file ProtoLayerCreatorT.hpp
|
private |
the logging instance
Definition at line 193 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 193 of file ProtoLayerCreatorT.hpp
Referenced by FW::Generic::ProtoLayerCreatorT< detector_element_t >::logger().