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 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 ActsExamples::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
ActsExamples::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 ActsExamples::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 ActsExamples::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, ActsExamples::Contextual::PayloadDetectorElement::ContextType::alignmentStore, ActsExamples::AlgorithmContext::eventNumber, ActsExamples::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 ActsExamples::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.
Referenced by eicpy.verify.PythiaHistograms::__init__(), and eicpy.verify.DjangohHistograms::__init__().
|
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