#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) |
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 const &)=delete |
SubProcess & | operator= (SubProcess &&)=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 const &)=delete | |
SubProcess (SubProcess &&)=default | |
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 const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
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 const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
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 51 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 230 of file SubProcess.cc.
|
delete |
|
default |
|
private |
Definition at line 291 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 259 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
Referenced by SubProcess().
|
inlineprivate |
Definition at line 262 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
|
inline |
Clear all the counters in the trigger report.
Definition at line 234 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::clearProcessBlockPrincipal | ( | ProcessBlockType | processBlockType | ) |
Definition at line 633 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 692 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 624 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 641 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 461 of file SubProcess.cc.
References edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), edm::InProcess, edm::PrincipalCache::inputProcessBlockPrincipal(), eostools::move(), principalCache_, edm::ProcessBlockPrincipal::processName(), propagateProducts(), edm::Principal::reader(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doBeginProcessBlockAsync | ( | WaitingTaskHolder | iHolder, |
ProcessBlockTransitionInfo const & | iTransitionInfo, | ||
bool | |||
) |
Definition at line 477 of file SubProcess.cc.
References edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), edm::InProcess, eostools::move(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), processConfiguration_, propagateProducts(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doBeginRunAsync | ( | WaitingTaskHolder | iHolder, |
RunTransitionInfo const & | iTransitionInfo | ||
) |
Definition at line 539 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 701 of file SubProcess.cc.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doEndJob | ( | ) |
Definition at line 289 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 663 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 491 of file SubProcess.cc.
References edm::Principal::clearPrincipal(), edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), first, info(), edm::InProcess, edm::PrincipalCache::Input, edm::PrincipalCache::inputProcessBlockPrincipal(), eostools::move(), parentProducedProductIsKept(), edm::ProcessBlockTransitionInfo::principal(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), edm::ProcessBlockPrincipal::processName(), propagateProducts(), edm::Principal::reader(), edm::waiting_task::chain::runLast(), alignCSCRings::s, schedule_, serviceToken_, subProcesses_, edm::waiting_task::chain::then(), and writeProcessBlockAsync().
Referenced by edm::subProcessDoGlobalEndTransitionAsync().
void edm::SubProcess::doEndRunAsync | ( | WaitingTaskHolder | iHolder, |
RunTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 569 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 707 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 399 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 735 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), triggerObjects_cff::id, 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 713 of file SubProcess.cc.
References esp_, triggerObjects_cff::id, 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 747 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), triggerObjects_cff::id, 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 723 of file SubProcess.cc.
References esp_, triggerObjects_cff::id, eostools::move(), principalCache_, edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamEndTransitionAsync().
|
inlineprivate |
Definition at line 255 of file SubProcess.h.
References droppedBranchIDToKeptBranchID_.
Referenced by beginJob(), and fixBranchIDListsForEDAliases().
|
private |
Definition at line 307 of file SubProcess.cc.
References c, schedule_, serviceToken_, and subProcesses_.
Referenced by doEndJob().
|
private |
Definition at line 381 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 213 of file SubProcess.h.
References cuy::rep, schedule_, and serviceToken_.
std::vector< ModuleProcessName > edm::SubProcess::keepOnlyConsumedUnscheduledModules | ( | bool | deleteModules | ) |
Definition at line 232 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 362 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 774 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 415 of file SubProcess.cc.
References edm::ProductRegistry::anyProductProduced(), printConversionInfo::aux, edm::EventPrincipal::aux(), branchIDListHelper_, edm::EventPrincipal::branchListIndexes(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, esp_, edm::PrincipalCache::eventPrincipal(), edm::EventPrincipal::eventSelectionIDs(), edm::EventPrincipal::eventToProcessBlockIndexes(), first, edm::waiting_task::chain::ifThen(), edm::LuminosityBlockPrincipal::index(), edm::InEvent, info(), inUseLumiPrincipals_, edm::EventPrincipal::luminosityBlockPrincipal(), eostools::move(), principalCache_, edm::Principal::processHistory(), edm::Principal::processHistoryID(), processHistoryRegistries_, edm::EventPrincipal::productProvenanceRetrieverPtr(), edm::Principal::productRegistry(), propagateProducts(), edm::Principal::reader(), groupFilesInBlocks::reverse, edm::waiting_task::chain::runLast(), schedule_, selector_config_id_, serviceToken_, edm::EventPrincipal::streamID(), subProcesses_, edm::waiting_task::chain::then(), edm::StreamID::value(), and wantAllEvents_.
Referenced by doEventAsync().
|
private |
Definition at line 759 of file SubProcess.cc.
References edm::ProductResolverBase::connectTo(), submitPVResolutionJobs::desc, edm::Principal::getModifiableProductResolver(), edm::Principal::getProductResolver(), B2GTnPMonitor_cfi::item, and keptProducts().
Referenced by doBeginLuminosityBlockAsync(), doBeginProcessBlockAsync(), 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 799 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 320 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 220 of file SubProcess.h.
References schedule_, serviceToken_, and subProcesses_.
|
inlineprivate |
Definition at line 263 of file SubProcess.h.
References edm::get_underlying_safe(), and thinnedAssociationsHelper_.
Referenced by SubProcess().
|
inlineprivate |
Definition at line 266 of file SubProcess.h.
References edm::get_underlying_safe(), and thinnedAssociationsHelper_.
|
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 792 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 677 of file SubProcess.cc.
References actReg_, first, edm::waiting_task::chain::ifThen(), edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, cmsLHEtoEOSManager::l, eostools::move(), processContext_, edm::waiting_task::chain::runLast(), alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
void edm::SubProcess::writeProcessBlockAsync | ( | edm::WaitingTaskHolder | task, |
ProcessBlockType | processBlockType | ||
) |
Definition at line 582 of file SubProcess.cc.
References actReg_, first, edm::waiting_task::chain::ifThen(), eostools::move(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), processContext_, edm::waiting_task::chain::runLast(), 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 596 of file SubProcess.cc.
References actReg_, cms::cuda::assert(), first, edm::waiting_task::chain::ifThen(), parentToChildPhID_, principalCache_, processContext_, edm::waiting_task::chain::runLast(), convertSQLiteXML::runNumber, edm::PrincipalCache::runPrincipal(), alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
|
private |
Definition at line 278 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 270 of file SubProcess.h.
Referenced by beginJob(), keepOnlyConsumedUnscheduledModules(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 274 of file SubProcess.h.
Referenced by branchIDListHelper(), fixBranchIDListsForEDAliases(), processAsync(), SubProcess(), and updateBranchIDListHelper().
|
private |
Definition at line 312 of file SubProcess.h.
Referenced by droppedBranchIDToKeptBranchID(), selectProducts(), and SubProcess().
|
private |
Definition at line 291 of file SubProcess.h.
Referenced by beginJob(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndLuminosityBlockAsync(), doEndRunAsync(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), processAsync(), and SubProcess().
|
private |
Definition at line 287 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 284 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), and SubProcess().
|
private |
Definition at line 285 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 290 of file SubProcess.h.
Referenced by deleteLumiFromCache(), doBeginLuminosityBlockAsync(), doEndLuminosityBlockAsync(), doStreamBeginLuminosityBlockAsync(), doStreamEndLuminosityBlockAsync(), processAsync(), SubProcess(), and writeLumiAsync().
|
private |
Definition at line 301 of file SubProcess.h.
Referenced by keepThisBranch(), and keptProducts().
|
private |
Definition at line 272 of file SubProcess.h.
Referenced by beginJob().
|
private |
Definition at line 293 of file SubProcess.h.
Referenced by deleteRunFromCache(), doBeginRunAsync(), and writeRunAsync().
|
private |
Definition at line 281 of file SubProcess.h.
Referenced by beginJob(), and keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 273 of file SubProcess.h.
Referenced by beginJob(), doBeginRunAsync(), keepOnlyConsumedUnscheduledModules(), and SubProcess().
|
private |
Definition at line 288 of file SubProcess.h.
Referenced by clearProcessBlockPrincipal(), deleteRunFromCache(), doBeginLuminosityBlockAsync(), doBeginProcessBlockAsync(), doBeginRunAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doStreamBeginRunAsync(), doStreamEndRunAsync(), processAsync(), SubProcess(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 275 of file SubProcess.h.
Referenced by beginJob(), and SubProcess().
|
private |
Definition at line 279 of file SubProcess.h.
Referenced by doBeginProcessBlockAsync(), doBeginRunAsync(), keepOnlyConsumedUnscheduledModules(), and SubProcess().
|
private |
Definition at line 280 of file SubProcess.h.
Referenced by beginJob(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 286 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), doBeginRunAsync(), processAsync(), and SubProcess().
|
private |
Definition at line 295 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 303 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 302 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 292 of file SubProcess.h.
Referenced by Config.Process::_insertPaths(), Config.Process::_replaceInSchedule(), Config.Process::_replaceInScheduleDirectly(), beginJob(), clearCounters(), closeOutputFiles(), doBeginLuminosityBlockAsync(), doBeginProcessBlockAsync(), doBeginRunAsync(), doBeginStream(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doEndStream(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), Config.Process::dumpPython(), endJob(), 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 307 of file SubProcess.h.
Referenced by processAsync(), and SubProcess().
|
mutableprivate |
Definition at line 308 of file SubProcess.h.
Referenced by doEventAsync(), and SubProcess().
|
private |
Definition at line 271 of file SubProcess.h.
Referenced by beginJob(), clearCounters(), closeOutputFiles(), doBeginLuminosityBlockAsync(), doBeginProcessBlockAsync(), doBeginRunAsync(), doBeginStream(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doEndStream(), doEventAsync(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), endJob(), getTriggerReport(), openOutputFiles(), processAsync(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), SubProcess(), terminate(), totalEventsFailed(), totalEventsPassed(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 294 of file SubProcess.h.
Referenced by beginJob(), clearCounters(), clearProcessBlockPrincipal(), closeOutputFiles(), deleteLumiFromCache(), deleteRunFromCache(), doBeginLuminosityBlockAsync(), doBeginProcessBlockAsync(), doBeginRunAsync(), doBeginStream(), doEndLuminosityBlockAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doEndStream(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), Config.Process::dumpConfig(), Config.Process::dumpPython(), endJob(), fixBranchIDListsForEDAliases(), keepOnlyConsumedUnscheduledModules(), openOutputFiles(), processAsync(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), Config.Process::splitPython(), SubProcess(), terminate(), updateBranchIDListHelper(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 277 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 276 of file SubProcess.h.
Referenced by SubProcess(), and thinnedAssociationsHelper().
|
private |
Definition at line 306 of file SubProcess.h.
Referenced by doEventAsync(), processAsync(), and SubProcess().