LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Schedule.h"
Public Member Functions | |
Schedule (ScheduleID, PathManager &, fhicl::ParameterSet const &, TriggerNamesService const &, MasterProductRegistry &, ProductDescriptions &, ActionTable &, ActivityRegistry &) | |
template<typename T > | |
void | process (typename T::MyPrincipal &) |
void | beginJob () |
void | endJob () |
void | respondToOpenInputFile (FileBlock const &) |
void | respondToCloseInputFile (FileBlock const &) |
void | respondToOpenOutputFiles (FileBlock const &) |
void | respondToCloseOutputFiles (FileBlock const &) |
Private Member Functions | |
void | makeTriggerResultsInserter_ (fhicl::ParameterSet const &trig_pset, MasterProductRegistry &mpr, ProductDescriptions &productsToProduce, ActivityRegistry &areg) |
template<typename T > | |
bool | runTriggerPaths_ (typename T::MyPrincipal &) |
template<class F > | |
void | doForAllWorkers_ (F functor) |
template<class F > | |
void | doForAllEnabledPaths_ (F functor) |
Private Attributes | |
ScheduleID const | sID_ |
fhicl::ParameterSet | process_pset_ |
ActionTable * | act_table_ |
std::string | processName_ |
PathsInfo & | triggerPathsInfo_ |
std::vector< unsigned char > | pathsEnabled_ |
std::unique_ptr< Worker > | results_inserter_ {nullptr} |
Definition at line 62 of file Schedule.h.
art::Schedule::Schedule | ( | ScheduleID | sID, |
PathManager & | pm, | ||
fhicl::ParameterSet const & | proc_pset, | ||
TriggerNamesService const & | tns, | ||
MasterProductRegistry & | mpr, | ||
ProductDescriptions & | productsToProduce, | ||
ActionTable & | actions, | ||
ActivityRegistry & | areg | ||
) |
Definition at line 29 of file Schedule.cc.
References act_table_, makeTriggerResultsInserter_(), art::PathsInfo::pathPtrs(), pathsEnabled_, process_pset_, processName_, sID_, and triggerPathsInfo_.
void art::Schedule::beginJob | ( | ) |
|
private |
Definition at line 175 of file Schedule.h.
References art::PathsInfo::pathPtrs(), pathsEnabled_, and triggerPathsInfo_.
Referenced by runTriggerPaths_().
|
private |
Definition at line 162 of file Schedule.h.
References results_inserter_, triggerPathsInfo_, and art::PathsInfo::workers().
Referenced by beginJob(), endJob(), process(), respondToCloseInputFile(), respondToCloseOutputFiles(), respondToOpenInputFile(), and respondToOpenOutputFiles().
void art::Schedule::endJob | ( | ) |
Definition at line 51 of file Schedule.cc.
References doForAllWorkers_(), e, art::Worker::endJob(), art::errors::EndJobFailure, and w.
|
private |
Definition at line 110 of file Schedule.cc.
References act_table_, art::getReleaseVersion(), fhicl::ParameterSet::id(), art::PathsInfo::pathResults(), process_pset_, processName_, results_inserter_, art::ActivityRegistry::sPostModuleConstruction, art::ActivityRegistry::sPreModuleConstruction, and triggerPathsInfo_.
Referenced by Schedule().
void art::Schedule::process | ( | typename T::MyPrincipal & | principal | ) |
Definition at line 119 of file Schedule.h.
References act_table_, art::PathsInfo::addEvent(), art::PathsInfo::addPass(), doForAllWorkers_(), e, art::Event, art::actions::FailModule, art::actions::FailPath, art::ActionTable::find(), art::actions::IgnoreCompletely, art::PathsInfo::pathResults(), art::HLTGlobalStatus::reset(), results_inserter_, art::actions::Rethrow, art::actions::SkipEvent, triggerPathsInfo_, and w.
void art::Schedule::respondToCloseInputFile | ( | FileBlock const & | fb | ) |
Definition at line 86 of file Schedule.cc.
References doForAllWorkers_(), and w.
void art::Schedule::respondToCloseOutputFiles | ( | FileBlock const & | fb | ) |
Definition at line 98 of file Schedule.cc.
References doForAllWorkers_(), and w.
void art::Schedule::respondToOpenInputFile | ( | FileBlock const & | fb | ) |
Definition at line 80 of file Schedule.cc.
References doForAllWorkers_(), and w.
void art::Schedule::respondToOpenOutputFiles | ( | FileBlock const & | fb | ) |
Definition at line 92 of file Schedule.cc.
References doForAllWorkers_(), and w.
|
inlineprivate |
Definition at line 154 of file Schedule.h.
References art::HLTGlobalStatus::accept(), doForAllEnabledPaths_(), art::PathsInfo::pathResults(), and triggerPathsInfo_.
|
private |
Definition at line 110 of file Schedule.h.
Referenced by makeTriggerResultsInserter_(), process(), and Schedule().
|
private |
Definition at line 113 of file Schedule.h.
Referenced by doForAllEnabledPaths_(), and Schedule().
|
private |
Definition at line 109 of file Schedule.h.
Referenced by makeTriggerResultsInserter_(), and Schedule().
|
private |
Definition at line 111 of file Schedule.h.
Referenced by makeTriggerResultsInserter_(), and Schedule().
|
private |
Definition at line 114 of file Schedule.h.
Referenced by doForAllWorkers_(), makeTriggerResultsInserter_(), and process().
|
private |
Definition at line 108 of file Schedule.h.
Referenced by Schedule().
|
private |
Definition at line 112 of file Schedule.h.
Referenced by doForAllEnabledPaths_(), doForAllWorkers_(), makeTriggerResultsInserter_(), process(), runTriggerPaths_(), and Schedule().