EIC Software
Reference for
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 ActsExamples::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 ActsExamples::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
ActsExamples::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 395 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 395 of file ProtoLayerCreatorT.hpp
std::vector< ProtoLayerSurfaces > ActsExamples::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, Acts::binR, Acts::binZ, boost::const_pointer_cast(), cos(), Acts::ProtoLayer::envelope, Acts::Test::moduleBounds, and phi.
|
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 402 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 402 of file ProtoLayerCreatorT.hpp
References ACTS_DEBUG, ACTS_VERBOSE, Acts::binR, Acts::binZ, boost::const_pointer_cast(), cos(), Acts::ProtoLayer::envelope, 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 ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::m_logger.
std::vector< ProtoLayerSurfaces > ActsExamples::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 382 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 382 of file ProtoLayerCreatorT.hpp
std::vector< ProtoLayerSurfaces > ActsExamples::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 389 of file ProtoLayerCreatorT.hpp.
View newest version in sPHENIX GitHub at line 389 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 ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::logger().