#include <SubProcess.h>
Public Types | |
using | ProcessBlockType = PrincipalCache::ProcessBlockType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
void | clearCounters () |
Clear all the counters in the trigger report. More... | |
void | clearProcessBlockPrincipal (ProcessBlockType) |
void | closeOutputFiles () |
void | deleteLumiFromCache (LuminosityBlockPrincipal &) |
void | deleteRunFromCache (ProcessHistoryID const &parentPhID, int runNumber) |
void | doBeginJob () |
void | doBeginLuminosityBlockAsync (WaitingTaskHolder iHolder, LumiTransitionInfo const &iTransitionInfo) |
template<typename Traits > | |
void | doBeginProcessBlockAsync (WaitingTaskHolder iHolder, ProcessBlockTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException) |
template<> | |
void | doBeginProcessBlockAsync (WaitingTaskHolder iHolder, ProcessBlockTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException) |
template<> | |
void | doBeginProcessBlockAsync (WaitingTaskHolder iHolder, ProcessBlockTransitionInfo const &iTransitionInfo, bool) |
void | doBeginRunAsync (WaitingTaskHolder iHolder, RunTransitionInfo const &iTransitionInfo) |
void | doBeginStream (unsigned int) |
void | doEndJob () |
void | doEndLuminosityBlockAsync (WaitingTaskHolder iHolder, LumiTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException) |
void | doEndProcessBlockAsync (WaitingTaskHolder iHolder, ProcessBlockTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException) |
void | doEndRunAsync (WaitingTaskHolder iHolder, RunTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException) |
void | doEndStream (unsigned int) |
void | doEventAsync (WaitingTaskHolder iHolder, EventPrincipal const &principal, std::vector< std::shared_ptr< const EventSetupImpl >> const *) |
void | doStreamBeginLuminosityBlockAsync (WaitingTaskHolder iHolder, unsigned int iID, LumiTransitionInfo const &) |
void | doStreamBeginRunAsync (WaitingTaskHolder iHolder, unsigned int iID, RunTransitionInfo const &) |
void | doStreamEndLuminosityBlockAsync (WaitingTaskHolder iHolder, unsigned int iID, LumiTransitionInfo const &, bool cleaningUpAfterException) |
void | doStreamEndRunAsync (WaitingTaskHolder iHolder, unsigned int iID, RunTransitionInfo const &, bool cleaningUpAfterException) |
void | enableEndPaths (bool active) |
bool | endPathsEnabled () const |
Return true if end_paths are active, and false if they are inactive. More... | |
std::vector< ModuleDescription const * > | getAllModuleDescriptions () const |
Return a vector allowing const access to all the ModuleDescriptions for this SubProcess. More... | |
void | getTriggerReport (TriggerReport &rep) const |
std::vector< ModuleProcessName > | keepOnlyConsumedUnscheduledModules (bool deleteModules) |
SelectedProductsForBranchType const & | keptProducts () const |
void | openOutputFiles (FileBlock &fb) |
SubProcess & | operator= (SubProcess &&)=delete |
SubProcess & | operator= (SubProcess const &)=delete |
void | respondToCloseInputFile (FileBlock const &fb) |
void | respondToOpenInputFile (FileBlock const &fb) |
void | selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &parentThinnedAssociationsHelper, std::map< BranchID, bool > &keepAssociation) |
bool | shouldWeCloseOutput () const |
SubProcess (ParameterSet ¶meterSet, ParameterSet const &topLevelParameterSet, std::shared_ptr< ProductRegistry const > parentProductRegistry, std::shared_ptr< BranchIDListHelper const > parentBranchIDListHelper, ProcessBlockHelperBase const &parentProcessBlockHelper, ThinnedAssociationsHelper const &parentThinnedAssociationsHelper, SubProcessParentageHelper const &parentSubProcessParentageHelper, eventsetup::EventSetupsController &esController, ActivityRegistry &parentActReg, ServiceToken const &token, serviceregistry::ServiceLegacy iLegacy, PreallocationConfiguration const &preallocConfig, ProcessContext const *parentProcessContext) | |
SubProcess (SubProcess &&)=default | |
SubProcess (SubProcess const &)=delete | |
bool | terminate () const |
int | totalEvents () const |
int | totalEventsFailed () const |
int | totalEventsPassed () const |
Return the number of events which have been passed by one or more trigger paths. More... | |
void | updateBranchIDListHelper (BranchIDLists const &) |
void | writeLumiAsync (WaitingTaskHolder, LuminosityBlockPrincipal &) |
void | writeProcessBlockAsync (edm::WaitingTaskHolder task, ProcessBlockType) |
void | writeRunAsync (WaitingTaskHolder, ProcessHistoryID const &parentPhID, int runNumber, MergeableRunProductMetadata const *) |
~SubProcess () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase &&)=default | |
EDConsumerBase (EDConsumerBase const &)=delete | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Additional Inherited Members | |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 52 of file SubProcess.h.
Definition at line 134 of file SubProcess.h.
edm::SubProcess::SubProcess | ( | ParameterSet & | parameterSet, |
ParameterSet const & | topLevelParameterSet, | ||
std::shared_ptr< ProductRegistry const > | parentProductRegistry, | ||
std::shared_ptr< BranchIDListHelper const > | parentBranchIDListHelper, | ||
ProcessBlockHelperBase const & | parentProcessBlockHelper, | ||
ThinnedAssociationsHelper const & | parentThinnedAssociationsHelper, | ||
SubProcessParentageHelper const & | parentSubProcessParentageHelper, | ||
eventsetup::EventSetupsController & | esController, | ||
ActivityRegistry & | parentActReg, | ||
ServiceToken const & | token, | ||
serviceregistry::ServiceLegacy | iLegacy, | ||
PreallocationConfiguration const & | preallocConfig, | ||
ProcessContext const * | parentProcessContext | ||
) |
Definition at line 50 of file SubProcess.cc.
References act_table_, actReg_, branchIDListHelper(), branchIDListHelper_, edm::detail::configureEventSelector(), edm::ActivityRegistry::connectToSubProcess(), edm::EDConsumerBase::consumesCollector(), droppedBranchIDToKeptBranchID_, SiStripBadComponentsDQMServiceTemplate_cfg::ep, esp_, edm::ParameterSet::exists(), edm::getAllTriggerNames(), edm::ParameterSet::getUntrackedParameterSet(), historyAppenders_, historyLumiOffset_, historyRunOffset_, edm::PrincipalCache::insert(), edm::PrincipalCache::insertForInput(), inUseLumiPrincipals_, mps_monitormerge::items, edm::eventsetup::EventSetupsController::makeProvider(), Data_TkAlMinBias_Run2018C_PromptReco_v3_cff::maxEvents, eostools::move(), edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfStreams(), edm::parameterSet(), edm::ParameterSet::popParameterSet(), edm::popSubProcessVParameterSet(), preg_, principalCache_, processBlockHelper_, processConfiguration_, processContext_, processHistoryRegistries_, processParameterSet_, edm::ParameterSet::registerIt(), edm::detail::registerProperSelectionInfo(), schedule_, selector_config_id_, selectors_, selectProducts(), serviceToken_, edm::PrincipalCache::setNumberOfConcurrentPrincipals(), edm::ProcessContext::setParentProcessContext(), edm::ProcessContext::setProcessConfiguration(), edm::PrincipalCache::setProcessHistoryRegistry(), AlCaHLTBitMon_QueryRunRegistry::string, subProcesses_, subProcessParentageHelper_, thinnedAssociationsHelper(), thinnedAssociationsHelper_, unpackBuffers-CaloStage2::token, updateBranchIDListHelper(), edm::validateTopLevelParameterSets(), and wantAllEvents_.
|
override |
Definition at line 229 of file SubProcess.cc.
|
delete |
|
default |
|
private |
Definition at line 290 of file SubProcess.cc.
References actReg_, droppedBranchIDToKeptBranchID(), esp_, fixBranchIDListsForEDAliases(), edm::for_all(), edm::InEvent, parentPreg_, pathsAndConsumesOfModules_, preg_, processBlockHelper_, processContext_, schedule_, serviceToken_, subProcesses_, and edm::EDConsumerBase::updateLookup().
Referenced by doBeginJob().
|
inlineprivate |
Definition at line 276 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
|
inlineprivate |
Definition at line 273 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
Referenced by SubProcess().
|
inline |
Clear all the counters in the trigger report.
Definition at line 248 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::clearProcessBlockPrincipal | ( | ProcessBlockType | processBlockType | ) |
Definition at line 660 of file SubProcess.cc.
References edm::Principal::clearPrincipal(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), alignCSCRings::s, and subProcesses_.
|
inline |
Definition at line 147 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::deleteLumiFromCache | ( | LuminosityBlockPrincipal & | principal | ) |
Definition at line 721 of file SubProcess.cc.
References edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, eostools::move(), alignCSCRings::s, and subProcesses_.
void edm::SubProcess::deleteRunFromCache | ( | ProcessHistoryID const & | parentPhID, |
int | runNumber | ||
) |
Definition at line 651 of file SubProcess.cc.
References cms::cuda::assert(), edm::PrincipalCache::deleteRun(), edm::for_all(), parentToChildPhID_, principalCache_, convertSQLiteXML::runNumber, and subProcesses_.
void edm::SubProcess::doBeginJob | ( | ) |
void edm::SubProcess::doBeginLuminosityBlockAsync | ( | WaitingTaskHolder | iHolder, |
LumiTransitionInfo const & | iTransitionInfo | ||
) |
Definition at line 668 of file SubProcess.cc.
References printConversionInfo::aux, edm::LuminosityBlockPrincipal::aux(), esp_, edm::LumiTransitionInfo::eventSetupImpls(), edm::PrincipalCache::getAvailableLumiPrincipalPtr(), historyLumiOffset_, edm::LuminosityBlockPrincipal::index(), edm::InLumi, inUseLumiPrincipals_, eostools::move(), edm::LumiTransitionInfo::principal(), principalCache_, edm::Principal::processHistory(), edm::Principal::processHistoryID(), processHistoryRegistries_, propagateProducts(), edm::Principal::reader(), edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalBeginTransitionAsync().
void edm::SubProcess::doBeginProcessBlockAsync | ( | WaitingTaskHolder | iHolder, |
ProcessBlockTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Referenced by edm::subProcessDoGlobalBeginTransitionAsync().
void edm::SubProcess::doBeginProcessBlockAsync | ( | WaitingTaskHolder | iHolder, |
ProcessBlockTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 473 of file SubProcess.cc.
References edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), edm::InProcess, eostools::move(), edm::ProcessBlockPrincipal::processName(), and edm::Principal::reader().
void edm::SubProcess::doBeginProcessBlockAsync | ( | WaitingTaskHolder | iHolder, |
ProcessBlockTransitionInfo const & | iTransitionInfo, | ||
bool | |||
) |
Definition at line 489 of file SubProcess.cc.
References edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), edm::InProcess, and eostools::move().
void edm::SubProcess::doBeginRunAsync | ( | WaitingTaskHolder | iHolder, |
RunTransitionInfo const & | iTransitionInfo | ||
) |
Definition at line 562 of file SubProcess.cc.
References printConversionInfo::aux, edm::RunPrincipal::aux(), esp_, historyAppenders_, historyRunOffset_, edm::RunPrincipal::index(), edm::InRun, edm::PrincipalCache::insert(), eostools::move(), parentToChildPhID_, preg_, edm::RunTransitionInfo::principal(), principalCache_, processConfiguration_, edm::Principal::processHistory(), edm::Principal::processHistoryID(), processHistoryRegistries_, propagateProducts(), edm::Principal::reader(), edm::RunPrincipal::reducedProcessHistoryID(), edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalBeginTransitionAsync().
void edm::SubProcess::doBeginStream | ( | unsigned int | iID | ) |
Definition at line 730 of file SubProcess.cc.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doEndJob | ( | ) |
Definition at line 288 of file SubProcess.cc.
References endJob().
Referenced by edm::EventProcessor::endJob().
void edm::SubProcess::doEndLuminosityBlockAsync | ( | WaitingTaskHolder | iHolder, |
LumiTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 690 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), edm::LuminosityBlockPrincipal::index(), edm::InLumi, inUseLumiPrincipals_, eostools::move(), edm::LumiTransitionInfo::principal(), propagateProducts(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalEndTransitionAsync().
void edm::SubProcess::doEndProcessBlockAsync | ( | WaitingTaskHolder | iHolder, |
ProcessBlockTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 503 of file SubProcess.cc.
References edm::Principal::clearPrincipal(), edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), edm::WaitingTaskHolder::group(), info(), edm::InProcess, edm::PrincipalCache::Input, edm::PrincipalCache::inputProcessBlockPrincipal(), edm::make_waiting_task(), eostools::move(), parentProducedProductIsKept(), edm::ProcessBlockTransitionInfo::principal(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), edm::ProcessBlockPrincipal::processName(), propagateProducts(), edm::Principal::reader(), alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and writeProcessBlockAsync().
Referenced by edm::subProcessDoGlobalEndTransitionAsync().
void edm::SubProcess::doEndRunAsync | ( | WaitingTaskHolder | iHolder, |
RunTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 592 of file SubProcess.cc.
References esp_, edm::InRun, eostools::move(), edm::RunTransitionInfo::principal(), principalCache_, propagateProducts(), edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalEndTransitionAsync().
void edm::SubProcess::doEndStream | ( | unsigned int | iID | ) |
Definition at line 736 of file SubProcess.cc.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doEventAsync | ( | WaitingTaskHolder | iHolder, |
EventPrincipal const & | principal, | ||
std::vector< std::shared_ptr< const EventSetupImpl >> const * | iEventSetupImpls | ||
) |
Definition at line 398 of file SubProcess.cc.
References MillePedeFileConverter_cfg::e, SiStripBadComponentsDQMServiceTemplate_cfg::ep, eostools::move(), processAsync(), selectors_, serviceToken_, wantAllEvents_, and edm::detail::TriggerResultsBasedEventSelector::wantEvent().
void edm::SubProcess::doStreamBeginLuminosityBlockAsync | ( | WaitingTaskHolder | iHolder, |
unsigned int | iID, | ||
LumiTransitionInfo const & | iTransitionInfo | ||
) |
Definition at line 764 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, eostools::move(), edm::LumiTransitionInfo::principal(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamBeginTransitionAsync().
void edm::SubProcess::doStreamBeginRunAsync | ( | WaitingTaskHolder | iHolder, |
unsigned int | iID, | ||
RunTransitionInfo const & | |||
) |
Definition at line 742 of file SubProcess.cc.
References esp_, eostools::move(), principalCache_, edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamBeginTransitionAsync().
void edm::SubProcess::doStreamEndLuminosityBlockAsync | ( | WaitingTaskHolder | iHolder, |
unsigned int | iID, | ||
LumiTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 776 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, eostools::move(), edm::LumiTransitionInfo::principal(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamEndTransitionAsync().
void edm::SubProcess::doStreamEndRunAsync | ( | WaitingTaskHolder | iHolder, |
unsigned int | iID, | ||
RunTransitionInfo const & | , | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 752 of file SubProcess.cc.
References esp_, eostools::move(), principalCache_, edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamEndTransitionAsync().
|
inlineprivate |
Definition at line 269 of file SubProcess.h.
References droppedBranchIDToKeptBranchID_.
Referenced by beginJob(), and fixBranchIDListsForEDAliases().
|
inline |
Turn end_paths "off" if "active" is false; Turn end_paths "on" if "active" is true.
Definition at line 213 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
|
private |
Definition at line 306 of file SubProcess.cc.
References c, schedule_, serviceToken_, and subProcesses_.
Referenced by doEndJob().
|
inline |
Return true if end_paths are active, and false if they are inactive.
Definition at line 220 of file SubProcess.h.
References schedule_, and serviceToken_.
|
private |
Definition at line 380 of file SubProcess.cc.
References branchIDListHelper_, droppedBranchIDToKeptBranchID(), edm::for_all(), and subProcesses_.
Referenced by beginJob().
std::vector<ModuleDescription const*> edm::SubProcess::getAllModuleDescriptions | ( | ) | const |
Return a vector allowing const access to all the ModuleDescriptions for this SubProcess.
*** N.B. *** Ownership of the ModuleDescriptions is not *** passed to the caller. Do not call delete on these *** pointers!
|
inline |
Return the trigger report information on paths, modules-in-path, modules-in-endpath, and modules.
Definition at line 227 of file SubProcess.h.
References cuy::rep, schedule_, and serviceToken_.
std::vector< ModuleProcessName > edm::SubProcess::keepOnlyConsumedUnscheduledModules | ( | bool | deleteModules | ) |
Definition at line 231 of file SubProcess.cc.
References actReg_, edm::PathsAndConsumesOfModulesBase::allModules(), c, edm::checkForModuleDependencyCorrectness(), edmLumisInFiles::description, edm::for_all(), edm::PathsAndConsumesOfModules::initialize(), cmsLHEtoEOSManager::l, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, MatrixUtil::merge(), edm::ModuleProcessName::moduleLabel(), edm::PathsAndConsumesOfModules::modulesInPreviousProcessesWhoseProductsAreConsumedBy(), edm::nonConsumedUnscheduledModules(), pathsAndConsumesOfModules_, preg_, processConfiguration_, edm::PathsAndConsumesOfModules::removeModules(), schedule_, subProcesses_, std::swap(), and createJobs::tmp.
|
private |
Definition at line 361 of file SubProcess.cc.
References edm::ProductSelector::checkForDuplicateKeptBranch(), edm::EDConsumerBase::consumes(), submitPVResolutionJobs::desc, edm::InEvent, keptProducts_, edm::PRODUCT_TYPE, and unpackBuffers-CaloStage2::token.
Referenced by selectProducts().
|
inline |
Definition at line 80 of file SubProcess.h.
References keptProducts_.
Referenced by parentProducedProductIsKept(), propagateProducts(), and edm::ScheduleItems::ScheduleItems().
|
inline |
Definition at line 154 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
|
delete |
|
delete |
|
private |
Definition at line 803 of file SubProcess.cc.
References cms::cuda::assert(), submitPVResolutionJobs::desc, edm::Principal::getModifiableProductResolver(), edm::Principal::getProductResolver(), edm::InProcess, B2GTnPMonitor_cfi::item, and keptProducts().
Referenced by doEndProcessBlockAsync().
|
private |
Definition at line 414 of file SubProcess.cc.
References edm::ProductRegistry::anyProductProduced(), printConversionInfo::aux, edm::EventPrincipal::aux(), branchIDListHelper_, edm::EventPrincipal::branchListIndexes(), edm::WaitingTaskHolder::doneWaiting(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, esp_, edm::PrincipalCache::eventPrincipal(), edm::EventPrincipal::eventSelectionIDs(), edm::EventPrincipal::eventToProcessBlockIndexes(), edm::WaitingTaskHolder::group(), edm::LuminosityBlockPrincipal::index(), edm::InEvent, info(), inUseLumiPrincipals_, edm::EventPrincipal::luminosityBlockPrincipal(), edm::make_waiting_task(), eostools::move(), principalCache_, edm::Principal::processHistory(), edm::Principal::processHistoryID(), processHistoryRegistries_, edm::EventPrincipal::productProvenanceRetrieverPtr(), edm::Principal::productRegistry(), propagateProducts(), edm::Principal::reader(), groupFilesInBlocks::reverse, schedule_, selector_config_id_, serviceToken_, edm::EventPrincipal::streamID(), subProcesses_, edm::StreamID::value(), and wantAllEvents_.
Referenced by doEventAsync().
|
private |
Definition at line 788 of file SubProcess.cc.
References edm::ProductResolverBase::connectTo(), submitPVResolutionJobs::desc, edm::Principal::getModifiableProductResolver(), edm::Principal::getProductResolver(), B2GTnPMonitor_cfi::item, and keptProducts().
Referenced by doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), and processAsync().
|
inline |
Definition at line 166 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::respondToOpenInputFile | ( | FileBlock const & | fb | ) |
Definition at line 828 of file SubProcess.cc.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::selectProducts | ( | ProductRegistry const & | preg, |
ThinnedAssociationsHelper const & | parentThinnedAssociationsHelper, | ||
std::map< BranchID, bool > & | keepAssociation | ||
) |
Definition at line 319 of file SubProcess.cc.
References edm::ProductRegistry::allBranchDescriptions(), submitPVResolutionJobs::desc, droppedBranchIDToKeptBranchID_, edm::ProductSelector::fillDroppedToKept(), edm::ProductSelector::initialize(), edm::ProductSelector::initialized(), keepThisBranch(), edm::ProductRegistry::productList(), productSelector_, productSelectorRules_, edm::ThinnedAssociationsHelper::selectAssociationProducts(), and edm::ProductSelector::selected().
Referenced by SubProcess().
|
inline |
Definition at line 173 of file SubProcess.h.
References schedule_, serviceToken_, and subProcesses_.
|
inline |
Return whether each output module has reached its maximum count. If there is a subprocess, get this information from the subprocess.
Definition at line 234 of file SubProcess.h.
References schedule_, serviceToken_, and subProcesses_.
|
inlineprivate |
Definition at line 280 of file SubProcess.h.
References edm::get_underlying_safe(), and thinnedAssociationsHelper_.
|
inlineprivate |
Definition at line 277 of file SubProcess.h.
References edm::get_underlying_safe(), and thinnedAssociationsHelper_.
Referenced by SubProcess().
|
inline |
Return the number of events this SubProcess has tried to process (inclues both successes and failures, including failures due to exceptions during processing).
Definition at line 196 of file SubProcess.h.
References schedule_.
|
inline |
Return the number of events that have not passed any trigger. (N.B. totalEventsFailed() + totalEventsPassed() == totalEvents()
Definition at line 206 of file SubProcess.h.
References schedule_, and serviceToken_.
|
inline |
Return the number of events which have been passed by one or more trigger paths.
Definition at line 199 of file SubProcess.h.
References schedule_, and serviceToken_.
void edm::SubProcess::updateBranchIDListHelper | ( | BranchIDLists const & | branchIDLists | ) |
Definition at line 821 of file SubProcess.cc.
References branchIDListHelper_, edm::for_all(), and subProcesses_.
Referenced by SubProcess().
void edm::SubProcess::writeLumiAsync | ( | WaitingTaskHolder | task, |
LuminosityBlockPrincipal & | principal | ||
) |
Definition at line 704 of file SubProcess.cc.
References actReg_, edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, cmsLHEtoEOSManager::l, edm::make_waiting_task(), processContext_, alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
void edm::SubProcess::writeProcessBlockAsync | ( | edm::WaitingTaskHolder | task, |
ProcessBlockType | processBlockType | ||
) |
Definition at line 605 of file SubProcess.cc.
References actReg_, edm::make_waiting_task(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), processContext_, alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
Referenced by doEndProcessBlockAsync().
void edm::SubProcess::writeRunAsync | ( | edm::WaitingTaskHolder | task, |
ProcessHistoryID const & | parentPhID, | ||
int | runNumber, | ||
MergeableRunProductMetadata const * | mergeableRunProductMetadata | ||
) |
Definition at line 624 of file SubProcess.cc.
References actReg_, cms::cuda::assert(), edm::make_waiting_task(), parentToChildPhID_, principalCache_, processContext_, convertSQLiteXML::runNumber, edm::PrincipalCache::runPrincipal(), alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
|
private |
Definition at line 292 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 284 of file SubProcess.h.
Referenced by beginJob(), keepOnlyConsumedUnscheduledModules(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 288 of file SubProcess.h.
Referenced by branchIDListHelper(), fixBranchIDListsForEDAliases(), processAsync(), SubProcess(), and updateBranchIDListHelper().
|
private |
Definition at line 326 of file SubProcess.h.
Referenced by droppedBranchIDToKeptBranchID(), selectProducts(), and SubProcess().
|
private |
Definition at line 305 of file SubProcess.h.
Referenced by beginJob(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndLuminosityBlockAsync(), doEndRunAsync(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), processAsync(), and SubProcess().
|
private |
Definition at line 301 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 298 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), and SubProcess().
|
private |
Definition at line 299 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 304 of file SubProcess.h.
Referenced by deleteLumiFromCache(), doBeginLuminosityBlockAsync(), doEndLuminosityBlockAsync(), doStreamBeginLuminosityBlockAsync(), doStreamEndLuminosityBlockAsync(), processAsync(), SubProcess(), and writeLumiAsync().
|
private |
Definition at line 315 of file SubProcess.h.
Referenced by keepThisBranch(), and keptProducts().
|
private |
Definition at line 286 of file SubProcess.h.
Referenced by beginJob().
|
private |
Definition at line 307 of file SubProcess.h.
Referenced by deleteRunFromCache(), doBeginRunAsync(), and writeRunAsync().
|
private |
Definition at line 295 of file SubProcess.h.
Referenced by beginJob(), and keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 287 of file SubProcess.h.
Referenced by beginJob(), doBeginRunAsync(), keepOnlyConsumedUnscheduledModules(), and SubProcess().
|
private |
Definition at line 302 of file SubProcess.h.
Referenced by clearProcessBlockPrincipal(), deleteRunFromCache(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doStreamBeginRunAsync(), doStreamEndRunAsync(), processAsync(), SubProcess(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 289 of file SubProcess.h.
Referenced by beginJob(), and SubProcess().
|
private |
Definition at line 293 of file SubProcess.h.
Referenced by doBeginRunAsync(), keepOnlyConsumedUnscheduledModules(), and SubProcess().
|
private |
Definition at line 294 of file SubProcess.h.
Referenced by beginJob(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 300 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), doBeginRunAsync(), processAsync(), and SubProcess().
|
private |
Definition at line 309 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 317 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 316 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 306 of file SubProcess.h.
Referenced by Config.Process::_insertPaths(), Config.Process::_replaceInSchedule(), beginJob(), clearCounters(), closeOutputFiles(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doBeginStream(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doEndStream(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), Config.Process::dumpPython(), enableEndPaths(), endJob(), endPathsEnabled(), getTriggerReport(), keepOnlyConsumedUnscheduledModules(), openOutputFiles(), processAsync(), Config.Process::prune(), Config.Process::resolve(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), Config.Process::splitPython(), SubProcess(), terminate(), totalEvents(), totalEventsFailed(), totalEventsPassed(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 321 of file SubProcess.h.
Referenced by processAsync(), and SubProcess().
|
mutableprivate |
Definition at line 322 of file SubProcess.h.
Referenced by doEventAsync(), and SubProcess().
|
private |
Definition at line 285 of file SubProcess.h.
Referenced by beginJob(), clearCounters(), closeOutputFiles(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doBeginStream(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doEndStream(), doEventAsync(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), enableEndPaths(), endJob(), endPathsEnabled(), getTriggerReport(), openOutputFiles(), processAsync(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), SubProcess(), terminate(), totalEventsFailed(), totalEventsPassed(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 308 of file SubProcess.h.
Referenced by beginJob(), clearCounters(), clearProcessBlockPrincipal(), closeOutputFiles(), deleteLumiFromCache(), deleteRunFromCache(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doBeginStream(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doEndStream(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), Config.Process::dumpConfig(), Config.Process::dumpPython(), enableEndPaths(), endJob(), fixBranchIDListsForEDAliases(), keepOnlyConsumedUnscheduledModules(), openOutputFiles(), processAsync(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), Config.Process::splitPython(), SubProcess(), terminate(), updateBranchIDListHelper(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 291 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 290 of file SubProcess.h.
Referenced by SubProcess(), and thinnedAssociationsHelper().
|
private |
Definition at line 320 of file SubProcess.h.
Referenced by doEventAsync(), processAsync(), and SubProcess().