|
actions
|
Handles run begin/end callbacks and creates the per-thread run object. More...
#include <gRunAction.h>
Public Member Functions | |
| GRunAction (std::shared_ptr< GOptions > gopts, std::shared_ptr< gdynamicdigitization::dRoutinesMap > digi_map) | |
| Constructs the run action. | |
| auto | get_digitization_routines_map () const -> std::shared_ptr< gdynamicdigitization::dRoutinesMap > |
| Returns the shared digitization routines map. | |
| auto | get_streamer_map () const -> std::shared_ptr< const gstreamer::gstreamersMap > |
| Returns the per-thread streamer map, if it has been created. | |
Public Member Functions inherited from GBase< GRunAction > | |
| GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="") | |
| GBase (const std::shared_ptr< GLogger > &logger) | |
| GBase (const GBase &)=default | |
| GBase (GBase &&) noexcept=default | |
| virtual | ~GBase () |
| GBase & | operator= (const GBase &)=default |
| GBase & | operator= (GBase &&) noexcept=default |
Additional Inherited Members | |
Protected Attributes inherited from GBase< GRunAction > | |
| std::shared_ptr< GLogger > | log |
Responsibilities:
Threading:
Definition at line 54 of file gRunAction.h.
| GRunAction::GRunAction | ( | std::shared_ptr< GOptions > | gopts, |
| std::shared_ptr< gdynamicdigitization::dRoutinesMap > | digi_map ) |
| gopts | Shared configuration used by the run action and by the created run object. |
| digi_map | Shared digitization routines map to be passed into the created run object. |
Definition at line 12 of file gRunAction.cc.
|
inline |
This map is used by event-level logic to select the correct digitization routine for each hit collection.
Definition at line 72 of file gRunAction.h.
|
inline |
The map is instantiated lazily for worker threads at the beginning of a run.
Definition at line 83 of file gRunAction.h.