![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/ProtoLayerHelper.hpp>
Collaboration diagram for Acts::ProtoLayerHelper:Classes | |
| struct | Config |
Public Types | |
| using | SortingConfig = std::pair< BinningValue, double > |
Public Member Functions | |
| ProtoLayerHelper (const Config &config, std::unique_ptr< const Logger > logger=getDefaultLogger("ProtoLayerHelper", Logging::INFO)) | |
| ~ProtoLayerHelper ()=default | |
| std::vector< ProtoLayer > | protoLayers (const GeometryContext &gctx, const std::vector< const Surface * > &surfaces, const SortingConfig &sorting) const |
| std::vector< ProtoLayer > | protoLayers (const GeometryContext &gctx, const std::vector< const Surface * > &surfaces, const std::vector< SortingConfig > &sortings) const |
Private Member Functions | |
| const Logger & | logger () const |
| Private access to logger. | |
Private Attributes | |
| std::unique_ptr< const Logger > | m_logger |
| Logging instance. | |
This class is designed to parse a vector of Surfaces and sort them into corresponding proto layers.
Definition at line 31 of file ProtoLayerHelper.hpp.
View newest version in sPHENIX GitHub at line 31 of file ProtoLayerHelper.hpp
| using Acts::ProtoLayerHelper::SortingConfig = std::pair<BinningValue, double> |
Definition at line 33 of file ProtoLayerHelper.hpp.
View newest version in sPHENIX GitHub at line 33 of file ProtoLayerHelper.hpp
|
inline |
Constructor with explicit config
| config | Explicit config struct |
| logger | logging instance |
Definition at line 41 of file ProtoLayerHelper.hpp.
View newest version in sPHENIX GitHub at line 41 of file ProtoLayerHelper.hpp
|
default |
|
inlineprivate |
Private access to logger.
Definition at line 76 of file ProtoLayerHelper.hpp.
View newest version in sPHENIX GitHub at line 76 of file ProtoLayerHelper.hpp
References m_logger.
| std::vector< Acts::ProtoLayer > Acts::ProtoLayerHelper::protoLayers | ( | const GeometryContext & | gctx, |
| const std::vector< const Surface * > & | surfaces, | ||
| const SortingConfig & | sorting | ||
| ) | const |
Sort the surfaces into ProtoLayers
| gctx | The geometry context (usually building context at this stage) |
| surfaces | The surfaces to be sorted into arrays |
| sorting | The sorting setup, one single sorting |
Helper function to find/create the cluster of surfaces where the Extent belongs to. In case none is found, a new one is inserted
| extent | The test extent for finding the cluster |
Definition at line 20 of file ProtoLayerHelper.cpp.
View newest version in sPHENIX GitHub at line 20 of file ProtoLayerHelper.cpp
References Acts::ACTS_VERBOSE(), and clusters.
Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< Acts::ProtoLayer > Acts::ProtoLayerHelper::protoLayers | ( | const GeometryContext & | gctx, |
| const std::vector< const Surface * > & | surfaces, | ||
| const std::vector< SortingConfig > & | sortings | ||
| ) | const |
Sort the surfaces into ProtoLayers, sequential sorting
| gctx | The geometry context (usually building context at this stage) |
| surfaces | The surfaces to be sorted into arrays |
| sortings | The sequential sorting setup |
Definition at line 62 of file ProtoLayerHelper.cpp.
View newest version in sPHENIX GitHub at line 62 of file ProtoLayerHelper.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), and Acts::binningValueNames().
Here is the call graph for this function:
|
private |
Logging instance.
Definition at line 73 of file ProtoLayerHelper.hpp.
View newest version in sPHENIX GitHub at line 73 of file ProtoLayerHelper.hpp
Referenced by logger().