Analysis Software
Documentation for sPHENIX simulation software
|
A mockup service that rotates the modules in a simple tracking geometry. More...
Classes | |
struct | Config |
nested configuration struct More... | |
struct | IovStatus |
Public Types | |
using | LayerStore = std::vector< std::shared_ptr< InternallyAlignedDetectorElement >> |
using | DetectorStore = std::vector< LayerStore > |
Public Member Functions | |
InternalAlignmentDecorator (const Config &cfg, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("AlignmentDecorator", Acts::Logging::INFO)) | |
~InternalAlignmentDecorator () override=default | |
Virtual destructor. | |
ProcessCode | decorate (AlgorithmContext &context) override |
decorates (adds, modifies) the AlgorithmContext with a geometric rotation per event | |
const std::string & | name () const override |
decorator name() for screen output | |
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::unordered_map< unsigned int, IovStatus > | m_activeIovs |
size_t | m_eventsSeen {0} |
Additional Inherited Members | |
Static Protected Member Functions inherited from ActsExamples::Contextual::AlignmentDecorator | |
static void | applyTransform (Acts::Transform3 &trf, const Config &cfg, RandomEngine &rng, unsigned int iov) |
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 38 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 38 of file InternalAlignmentDecorator.hpp
using ActsExamples::Contextual::InternalAlignmentDecorator::DetectorStore = std::vector<LayerStore> |
Definition at line 42 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 42 of file InternalAlignmentDecorator.hpp
using ActsExamples::Contextual::InternalAlignmentDecorator::LayerStore = std::vector<std::shared_ptr<InternallyAlignedDetectorElement>> |
Definition at line 41 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 41 of file InternalAlignmentDecorator.hpp
ActsExamples::Contextual::InternalAlignmentDecorator::InternalAlignmentDecorator | ( | 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 22 of file InternalAlignmentDecorator.cpp.
View newest version in sPHENIX GitHub at line 22 of file InternalAlignmentDecorator.cpp
|
overridedefault |
Virtual destructor.
|
overridevirtual |
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 27 of file InternalAlignmentDecorator.cpp.
View newest version in sPHENIX GitHub at line 27 of file InternalAlignmentDecorator.cpp
References ACTS_DEBUG, ACTS_VERBOSE, ActsExamples::AlgorithmContext::eventNumber, ActsExamples::AlgorithmContext::geoContext, it, m_cfg(), conftest::rng(), utils::status, and SUCCESS.
|
inlineprivate |
Private access to the logging instance.
Definition at line 88 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 88 of file InternalAlignmentDecorator.hpp
References m_logger.
|
inlineoverridevirtual |
decorator name() for screen output
Implements ActsExamples::IContextDecorator.
Definition at line 72 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 72 of file InternalAlignmentDecorator.hpp
References m_name.
|
private |
Definition at line 84 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 84 of file InternalAlignmentDecorator.hpp
|
private |
Definition at line 80 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 80 of file InternalAlignmentDecorator.hpp
|
private |
the configuration class
Definition at line 75 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 75 of file InternalAlignmentDecorator.hpp
|
private |
Definition at line 85 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 85 of file InternalAlignmentDecorator.hpp
|
private |
Definition at line 76 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 76 of file InternalAlignmentDecorator.hpp
Referenced by logger().
|
private |
!< the logging instance
Protect multiple alignments to be loaded at once
Definition at line 77 of file InternalAlignmentDecorator.hpp.
View newest version in sPHENIX GitHub at line 77 of file InternalAlignmentDecorator.hpp
Referenced by name().