ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
A mockup service that rotates the modules in a simple tracking geometry. More...
Classes | |
struct | Config |
nested configuration struct More... | |
Public Types | |
using | LayerStore = std::vector< std::shared_ptr< AlignedDetectorElement >> |
using | DetectorStore = std::vector< LayerStore > |
Public Member Functions | |
AlignmentDecorator (const Config &cfg, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("AlignmentDecorator", Acts::Logging::INFO)) | |
virtual | ~AlignmentDecorator ()=default |
Virtual destructor. | |
ProcessCode | decorate (AlgorithmContext &context) finaloverride |
decorates (adds, modifies) the AlgorithmContext with a geometric rotation per event | |
const std::string & | name () const finaloverride |
decorator name() for screen output | |
Public Member Functions inherited from FW::IContextDecorator | |
virtual | ~IContextDecorator ()=default |
Virtual destructor. | |
Private Member Functions | |
const Acts::Logger & | logger () const |
Private access to the logging instance. | |
Private Attributes | |
Config | m_cfg |
the configuration class | |
std::unique_ptr< const Acts::Logger > | m_logger |
std::string | m_name = "AlignmentDecorator" |
!< the logging instance | |
std::mutex | m_alignmentMutex |
std::vector< bool > | m_iovStatus |
std::vector< bool > | m_flushStatus |
A mockup service that rotates the modules in a simple tracking geometry.
It acts on the PayloadDetectorElement, i.e. the geometry context carries the full transform store (payload)
Definition at line 30 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 30 of file AlignmentDecorator.hpp
using FW::Contextual::AlignmentDecorator::DetectorStore = std::vector<LayerStore> |
Definition at line 33 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 33 of file AlignmentDecorator.hpp
using FW::Contextual::AlignmentDecorator::LayerStore = std::vector<std::shared_ptr<AlignedDetectorElement>> |
Definition at line 32 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 32 of file AlignmentDecorator.hpp
FW::Contextual::AlignmentDecorator::AlignmentDecorator | ( | const Config & | cfg, |
std::unique_ptr< const Acts::Logger > | logger = Acts::getDefaultLogger("AlignmentDecorator", Acts::Logging::INFO) |
||
) |
Constructor
cfg | Configuration struct |
logger | The logging framework |
Definition at line 14 of file AlignmentDecorator.cpp.
View newest version in sPHENIX GitHub at line 14 of file AlignmentDecorator.cpp
|
virtualdefault |
Virtual destructor.
|
finaloverridevirtual |
decorates (adds, modifies) the AlgorithmContext with a geometric rotation per event
context | the bare (or at least non-const) Event context |
Implements FW::IContextDecorator.
Definition at line 19 of file AlignmentDecorator.cpp.
View newest version in sPHENIX GitHub at line 19 of file AlignmentDecorator.cpp
References ACTS_VERBOSE, FW::AlgorithmContext::eventNumber, gauss, FW::AlgorithmContext::geoContext, and SUCCESS.
|
inlineprivate |
Private access to the logging instance.
Definition at line 94 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 94 of file AlignmentDecorator.hpp
References m_logger.
|
inlinefinaloverridevirtual |
decorator name() for screen output
Implements FW::IContextDecorator.
Definition at line 81 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 81 of file AlignmentDecorator.hpp
References m_name.
|
private |
Definition at line 89 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 89 of file AlignmentDecorator.hpp
|
private |
the configuration class
Definition at line 84 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 84 of file AlignmentDecorator.hpp
|
private |
Definition at line 91 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 91 of file AlignmentDecorator.hpp
|
private |
Definition at line 90 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 90 of file AlignmentDecorator.hpp
|
private |
Definition at line 85 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 85 of file AlignmentDecorator.hpp
Referenced by logger().
|
private |
!< the logging instance
protect multiple alignments to be loaded at once
Definition at line 86 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 86 of file AlignmentDecorator.hpp
Referenced by name().