#include <GlobalSchedule.h>
Classes | |
class | SendTerminationSignalIfException |
Public Types | |
typedef std::vector< Worker * > | AllWorkers |
typedef std::vector< std::string > | vstring |
typedef std::shared_ptr< Worker > | WorkerPtr |
typedef std::vector< Worker * > | Workers |
Public Member Functions | |
AllWorkers const & | allWorkers () const |
returns the collection of pointers to workers More... | |
void | beginJob (ProductRegistry const &, eventsetup::ESRecordsToProxyIndices const &) |
void | endJob (ExceptionCollector &collector) |
std::vector< ModuleDescription const * > | getAllModuleDescriptions () const |
void | getTriggerReport (TriggerReport &rep) const |
GlobalSchedule (std::shared_ptr< TriggerResultInserter > inserter, std::vector< edm::propagate_const< std::shared_ptr< PathStatusInserter >>> &pathStatusInserters, std::vector< edm::propagate_const< std::shared_ptr< EndPathStatusInserter >>> &endPathStatusInserters, std::shared_ptr< ModuleRegistry > modReg, std::vector< std::string > const &modulesToUse, ParameterSet &proc_pset, ProductRegistry &pregistry, PreallocationConfiguration const &prealloc, ExceptionToActionTable const &actions, std::shared_ptr< ActivityRegistry > areg, std::shared_ptr< ProcessConfiguration > processConfiguration, ProcessContext const *processContext) | |
GlobalSchedule (GlobalSchedule const &)=delete | |
template<typename T > | |
void | processOneGlobalAsync (WaitingTaskHolder holder, typename T::MyPrincipal &principal, EventSetupImpl const &eventSetup, ServiceToken const &token, bool cleaningUpAfterException=false) |
void | replaceModule (maker::ModuleHolder *iMod, std::string const &iLabel) |
clone the type of module with label iLabel but configure with iPSet. More... | |
bool | terminate () const |
Return whether each output module has reached its maximum count. More... | |
Private Member Functions | |
ExceptionToActionTable const & | actionTable () const |
returns the action table More... | |
Private Attributes | |
std::shared_ptr< ActivityRegistry > | actReg_ |
std::vector< edm::propagate_const< WorkerPtr > > | extraWorkers_ |
ProcessContext const * | processContext_ |
std::vector< WorkerManager > | workerManagers_ |
Definition at line 75 of file GlobalSchedule.h.
typedef std::vector<Worker*> edm::GlobalSchedule::AllWorkers |
Definition at line 78 of file GlobalSchedule.h.
typedef std::vector<std::string> edm::GlobalSchedule::vstring |
Definition at line 77 of file GlobalSchedule.h.
typedef std::shared_ptr<Worker> edm::GlobalSchedule::WorkerPtr |
Definition at line 79 of file GlobalSchedule.h.
typedef std::vector<Worker*> edm::GlobalSchedule::Workers |
Definition at line 80 of file GlobalSchedule.h.
edm::GlobalSchedule::GlobalSchedule | ( | std::shared_ptr< TriggerResultInserter > | inserter, |
std::vector< edm::propagate_const< std::shared_ptr< PathStatusInserter >>> & | pathStatusInserters, | ||
std::vector< edm::propagate_const< std::shared_ptr< EndPathStatusInserter >>> & | endPathStatusInserters, | ||
std::shared_ptr< ModuleRegistry > | modReg, | ||
std::vector< std::string > const & | modulesToUse, | ||
ParameterSet & | proc_pset, | ||
ProductRegistry & | pregistry, | ||
PreallocationConfiguration const & | prealloc, | ||
ExceptionToActionTable const & | actions, | ||
std::shared_ptr< ActivityRegistry > | areg, | ||
std::shared_ptr< ProcessConfiguration > | processConfiguration, | ||
ProcessContext const * | processContext | ||
) |
Definition at line 22 of file GlobalSchedule.cc.
References actions, actReg_, extraWorkers_, edm::get_underlying(), edm::ParameterSet::getPSetForUpdate(), mps_fire::i, HerwigMaxPtPartonFilter_cfi::moduleLabel, eostools::move(), edm::PreallocationConfiguration::numberOfLuminosityBlocks(), and workerManagers_.
|
delete |
|
inlineprivate |
returns the action table
Definition at line 149 of file GlobalSchedule.h.
|
inline |
returns the collection of pointers to workers
Definition at line 125 of file GlobalSchedule.h.
Referenced by getAllModuleDescriptions().
void edm::GlobalSchedule::beginJob | ( | ProductRegistry const & | iRegistry, |
eventsetup::ESRecordsToProxyIndices const & | iESIndices | ||
) |
Definition at line 93 of file GlobalSchedule.cc.
References workerManagers_.
void edm::GlobalSchedule::endJob | ( | ExceptionCollector & | collector | ) |
Definition at line 91 of file GlobalSchedule.cc.
References workerManagers_.
std::vector< ModuleDescription const * > edm::GlobalSchedule::getAllModuleDescriptions | ( | ) | const |
Return a vector allowing const access to all the ModuleDescriptions for this GlobalSchedule. *** N.B. *** Ownership of the ModuleDescriptions is not *** passed to the caller. Do not call delete on these *** pointers!
Definition at line 116 of file GlobalSchedule.cc.
References allWorkers(), AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and findQualityFiles::size.
void edm::GlobalSchedule::getTriggerReport | ( | TriggerReport & | rep | ) | const |
Return the trigger report information on paths, modules-in-path, modules-in-endpath, and modules.
void edm::GlobalSchedule::processOneGlobalAsync | ( | WaitingTaskHolder | holder, |
typename T::MyPrincipal & | principal, | ||
EventSetupImpl const & | eventSetup, | ||
ServiceToken const & | token, | ||
bool | cleaningUpAfterException = false |
||
) |
Definition at line 158 of file GlobalSchedule.h.
References edm::addContextAndPrintException(), cms::Exception::context(), edm::WaitingTaskHolder::doneWaiting(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, edm::ExceptionFromThisContext, edm::StreamID::invalidStreamID(), edm::make_waiting_task(), groupFilesInBlocks::reverse, unpackBuffers-CaloStage2::token, and edm::convertException::wrap().
void edm::GlobalSchedule::replaceModule | ( | maker::ModuleHolder * | iMod, |
std::string const & | iLabel | ||
) |
clone the type of module with label iLabel but configure with iPSet.
Definition at line 98 of file GlobalSchedule.cc.
References edm::Worker::beginJob(), newFWLiteAna::found, edm::maker::ModuleHolder::replaceModuleFor(), and workerManagers_.
bool edm::GlobalSchedule::terminate | ( | ) | const |
Return whether each output module has reached its maximum count.
|
private |
Definition at line 152 of file GlobalSchedule.h.
Referenced by GlobalSchedule().
|
private |
Definition at line 153 of file GlobalSchedule.h.
Referenced by GlobalSchedule().
|
private |
Definition at line 154 of file GlobalSchedule.h.
|
private |
Definition at line 151 of file GlobalSchedule.h.
Referenced by beginJob(), endJob(), GlobalSchedule(), and replaceModule().