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 Member Functions | |
PayloadDecorator (const Config &cfg, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("PayloadDecorator", Acts::Logging::INFO)) | |
virtual | ~PayloadDecorator ()=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. | |
void | parseGeometry (const Acts::TrackingGeometry &tGeometry) |
Private Attributes | |
Config | m_cfg |
the configuration class | |
std::unique_ptr< const Acts::Logger > | m_logger |
std::string | m_name = "PayloadDecorator" |
!< the logging instance | |
std::vector< Acts::Transform3D > | m_nominalStore |
Map of nominal transforms. | |
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 32 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 32 of file PayloadDecorator.hpp
FW::Contextual::PayloadDecorator::PayloadDecorator | ( | const Config & | cfg, |
std::unique_ptr< const Acts::Logger > | logger = Acts::getDefaultLogger("PayloadDecorator", Acts::Logging::INFO) |
||
) |
Constructor
cfg | Configuration struct |
logger | The logging framework |
Definition at line 14 of file PayloadDecorator.cpp.
View newest version in sPHENIX GitHub at line 14 of file PayloadDecorator.cpp
References m_cfg, parseGeometry(), and FW::Contextual::PayloadDecorator::Config::trackingGeometry.
|
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 24 of file PayloadDecorator.cpp.
View newest version in sPHENIX GitHub at line 24 of file PayloadDecorator.cpp
References ACTS_VERBOSE, FW::Contextual::PayloadDetectorElement::ContextType::alignmentStore, FW::AlgorithmContext::eventNumber, FW::AlgorithmContext::geoContext, and SUCCESS.
|
inlineprivate |
Private access to the logging instance.
Definition at line 79 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 79 of file PayloadDecorator.hpp
References m_logger.
|
inlinefinaloverridevirtual |
decorator name() for screen output
Implements FW::IContextDecorator.
Definition at line 68 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 68 of file PayloadDecorator.hpp
References m_name.
|
private |
Populate the nominal transforms this parses the TrackingGeometry and fills the nominal store
tGeometry | the tracking geometry |
Definition at line 44 of file PayloadDecorator.cpp.
View newest version in sPHENIX GitHub at line 44 of file PayloadDecorator.cpp
References surface(), and Acts::TrackingGeometry::visitSurfaces().
Referenced by PayloadDecorator().
|
private |
the configuration class
Definition at line 71 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 71 of file PayloadDecorator.hpp
Referenced by PayloadDecorator().
|
private |
Definition at line 72 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 72 of file PayloadDecorator.hpp
Referenced by logger().
|
private |
!< the logging instance
Definition at line 73 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 73 of file PayloadDecorator.hpp
Referenced by name().
|
private |
Map of nominal transforms.
Definition at line 76 of file PayloadDecorator.hpp.
View newest version in sPHENIX GitHub at line 76 of file PayloadDecorator.hpp