EIC Software
Reference for
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 ActsExamples::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
Definition at line 33 of file AlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 33 of file AlignmentDecorator.hpp
using ActsExamples::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
ActsExamples::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 15 of file AlignmentDecorator.cpp.
View newest version in sPHENIX GitHub at line 15 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 ActsExamples::IContextDecorator.
Definition at line 21 of file AlignmentDecorator.cpp.
View newest version in sPHENIX GitHub at line 21 of file AlignmentDecorator.cpp
References ACTS_VERBOSE, ActsExamples::AlgorithmContext::eventNumber, Acts::Test::gauss(), ActsExamples::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 ActsExamples::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.
Referenced by eicpy.verify.PythiaHistograms::__init__(), and eicpy.verify.DjangohHistograms::__init__().
|
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().