#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 | clearLumiPrincipal (LuminosityBlockPrincipal &) |
void | clearProcessBlockPrincipal (ProcessBlockType) |
void | clearRunPrincipal (RunPrincipal &) |
void | closeOutputFiles () |
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 streamID) |
void | doEndJob (ExceptionCollector &) |
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 streamID, ExceptionCollector &collector, std::mutex &collectorMutex) noexcept |
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, ModuleTypeResolverMaker const *typeResolverMaker) | |
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, RunPrincipal const &, 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 | |
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESResolverIndex > 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 |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices 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 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 56 of file SubProcess.h.
Definition at line 139 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, | ||
ModuleTypeResolverMaker const * | typeResolverMaker | ||
) |
Definition at line 53 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_, inUseRunPrincipals_, mps_monitormerge::items, edm::eventsetup::EventSetupsController::makeProvider(), Data_TkAlMinBias_Run2018C_PromptReco_v3_cff::maxEvents, eostools::move(), edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfRuns(), edm::PreallocationConfiguration::numberOfStreams(), edm::parameterSet(), edm::ParameterSet::popParameterSet(), edm::popSubProcessVParameterSet(), preg_, principalCache_, processBlockHelper_, processConfiguration_, processContext_, processParameterSet_, edm::ParameterSet::registerIt(), edm::detail::registerProperSelectionInfo(), schedule_, selector_config_id_, selectors_, selectProducts(), serviceToken_, edm::PrincipalCache::setNumberOfConcurrentPrincipals(), edm::ProcessContext::setParentProcessContext(), edm::ProcessContext::setProcessConfiguration(), AlCaHLTBitMon_QueryRunRegistry::string, subProcesses_, subProcessParentageHelper_, thinnedAssociationsHelper(), thinnedAssociationsHelper_, unpackBuffers-CaloStage2::token, updateBranchIDListHelper(), edm::validateTopLevelParameterSets(), and wantAllEvents_.
|
override |
Definition at line 240 of file SubProcess.cc.
|
delete |
|
default |
|
private |
Definition at line 301 of file SubProcess.cc.
References CMS_SA_ALLOW, droppedBranchIDToKeptBranchID(), esp_, fixBranchIDListsForEDAliases(), edm::InEvent, parentPreg_, pathsAndConsumesOfModules_, preg_, processBlockHelper_, processContext_, schedule_, serviceToken_, subProcesses_, and edm::EDConsumerBase::updateLookup().
Referenced by doBeginJob().
|
inlineprivate |
Definition at line 261 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
Referenced by SubProcess().
|
inlineprivate |
Definition at line 264 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
|
inline |
Clear all the counters in the trigger report.
Definition at line 236 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::clearLumiPrincipal | ( | LuminosityBlockPrincipal & | principal | ) |
Definition at line 698 of file SubProcess.cc.
References edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, eostools::move(), alignCSCRings::s, and subProcesses_.
void edm::SubProcess::clearProcessBlockPrincipal | ( | ProcessBlockType | processBlockType | ) |
Definition at line 639 of file SubProcess.cc.
References edm::Principal::clearPrincipal(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), alignCSCRings::s, and subProcesses_.
void edm::SubProcess::clearRunPrincipal | ( | RunPrincipal & | parentPrincipal | ) |
Definition at line 630 of file SubProcess.cc.
References edm::RunPrincipal::index(), inUseRunPrincipals_, eostools::move(), alignCSCRings::s, and subProcesses_.
|
inline |
Definition at line 149 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doBeginJob | ( | ) |
void edm::SubProcess::doBeginLuminosityBlockAsync | ( | WaitingTaskHolder | iHolder, |
LumiTransitionInfo const & | iTransitionInfo | ||
) |
Definition at line 647 of file SubProcess.cc.
References printConversionInfo::aux, edm::LuminosityBlockPrincipal::aux(), esp_, edm::LumiTransitionInfo::eventSetupImpls(), edm::PrincipalCache::getAvailableLumiPrincipalPtr(), historyLumiOffset_, edm::LuminosityBlockPrincipal::index(), edm::RunPrincipal::index(), edm::InLumi, inUseLumiPrincipals_, inUseRunPrincipals_, eostools::move(), edm::LumiTransitionInfo::principal(), principalCache_, edm::Principal::processHistory(), edm::Principal::processHistoryID(), processHistoryRegistries_, propagateProducts(), edm::Principal::reader(), edm::LuminosityBlockPrincipal::runPrincipal(), 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 485 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 501 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 563 of file SubProcess.cc.
References printConversionInfo::aux, edm::RunPrincipal::aux(), esp_, edm::RunTransitionInfo::eventSetupImpls(), edm::PrincipalCache::getAvailableRunPrincipalPtr(), historyRunOffset_, edm::RunPrincipal::index(), edm::InRun, inUseRunPrincipals_, eostools::move(), edm::RunTransitionInfo::principal(), principalCache_, edm::Principal::processHistory(), edm::Principal::processHistoryID(), processHistoryRegistries_, propagateProducts(), edm::Principal::reader(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalBeginTransitionAsync().
void edm::SubProcess::doBeginStream | ( | unsigned int | streamID | ) |
Definition at line 708 of file SubProcess.cc.
References CMS_SA_ALLOW, schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doEndJob | ( | ExceptionCollector & | collector | ) |
void edm::SubProcess::doEndLuminosityBlockAsync | ( | WaitingTaskHolder | iHolder, |
LumiTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 669 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 515 of file SubProcess.cc.
References edm::Principal::clearPrincipal(), edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), dqmdumpme::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 585 of file SubProcess.cc.
References esp_, edm::RunTransitionInfo::eventSetupImpls(), edm::RunPrincipal::index(), edm::InRun, inUseRunPrincipals_, eostools::move(), edm::RunTransitionInfo::principal(), propagateProducts(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalEndTransitionAsync().
|
noexcept |
Definition at line 727 of file SubProcess.cc.
References 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 423 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 766 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), l1ctLayer2EG_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 & | iTransitionInfo | ||
) |
Definition at line 737 of file SubProcess.cc.
References esp_, edm::RunTransitionInfo::eventSetupImpls(), l1ctLayer2EG_cff::id, edm::RunPrincipal::index(), inUseRunPrincipals_, eostools::move(), edm::RunTransitionInfo::principal(), 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 778 of file SubProcess.cc.
References esp_, edm::LumiTransitionInfo::eventSetupImpls(), l1ctLayer2EG_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 & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 751 of file SubProcess.cc.
References esp_, edm::RunTransitionInfo::eventSetupImpls(), l1ctLayer2EG_cff::id, edm::RunPrincipal::index(), inUseRunPrincipals_, eostools::move(), edm::RunTransitionInfo::principal(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamEndTransitionAsync().
|
inlineprivate |
Definition at line 257 of file SubProcess.h.
References droppedBranchIDToKeptBranchID_.
Referenced by beginJob(), and fixBranchIDListsForEDAliases().
|
private |
Definition at line 332 of file SubProcess.cc.
References edm::ExceptionCollector::addException(), schedule_, serviceToken_, subProcesses_, and edm::convertException::wrap().
Referenced by doEndJob().
|
private |
Definition at line 405 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 215 of file SubProcess.h.
References cuy::rep, schedule_, and serviceToken_.
std::vector< ModuleProcessName > edm::SubProcess::keepOnlyConsumedUnscheduledModules | ( | bool | deleteModules | ) |
Definition at line 242 of file SubProcess.cc.
References actReg_, edm::PathsAndConsumesOfModulesBase::allModules(), DummyCfis::c, edm::checkForModuleDependencyCorrectness(), makeListRunsInFiles::description, edm::for_all(), edm::PathsAndConsumesOfModules::initialize(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, MainPageGenerator::l, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, merge(), edm::ModuleProcessName::moduleLabel(), edm::PathsAndConsumesOfModules::modulesInPreviousProcessesWhoseProductsAreConsumedBy(), edm::nonConsumedUnscheduledModules(), pathsAndConsumesOfModules_, preg_, processConfiguration_, edm::PathsAndConsumesOfModules::removeModules(), schedule_, subProcesses_, edm::swap(), and createJobs::tmp.
|
private |
Definition at line 386 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 85 of file SubProcess.h.
References keptProducts_.
Referenced by parentProducedProductIsKept(), propagateProducts(), and edm::ScheduleItems::ScheduleItems().
|
inline |
Definition at line 156 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
|
delete |
|
delete |
|
private |
Definition at line 805 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 439 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(), dqmdumpme::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 790 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 168 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::respondToOpenInputFile | ( | FileBlock const & | fb | ) |
Definition at line 830 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 344 of file SubProcess.cc.
References edm::ProductRegistry::allBranchDescriptions(), submitPVResolutionJobs::desc, droppedBranchIDToKeptBranchID_, edm::ProductSelector::fillDroppedToKept(), edm::ProductSelector::initialize(), edm::ProductSelector::initialized(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, keepThisBranch(), edm::ProductRegistry::productList(), productSelector_, productSelectorRules_, edm::ThinnedAssociationsHelper::selectAssociationProducts(), and edm::ProductSelector::selected().
Referenced by SubProcess().
|
inline |
Definition at line 175 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 222 of file SubProcess.h.
References schedule_, serviceToken_, and subProcesses_.
|
inlineprivate |
Definition at line 265 of file SubProcess.h.
References edm::get_underlying_safe(), and thinnedAssociationsHelper_.
Referenced by SubProcess().
|
inlineprivate |
Definition at line 268 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 198 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 208 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 201 of file SubProcess.h.
References schedule_, and serviceToken_.
void edm::SubProcess::updateBranchIDListHelper | ( | BranchIDLists const & | branchIDLists | ) |
Definition at line 823 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 683 of file SubProcess.cc.
References actReg_, dqmdumpme::first, edm::waiting_task::chain::ifThen(), edm::LuminosityBlockPrincipal::index(), inUseLumiPrincipals_, MainPageGenerator::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 599 of file SubProcess.cc.
References actReg_, dqmdumpme::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, |
RunPrincipal const & | principal, | ||
MergeableRunProductMetadata const * | mergeableRunProductMetadata | ||
) |
Definition at line 613 of file SubProcess.cc.
References actReg_, dqmdumpme::first, edm::waiting_task::chain::ifThen(), edm::RunPrincipal::index(), inUseRunPrincipals_, eostools::move(), processContext_, edm::waiting_task::chain::runLast(), alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
|
private |
Definition at line 280 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 272 of file SubProcess.h.
Referenced by keepOnlyConsumedUnscheduledModules(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 276 of file SubProcess.h.
Referenced by branchIDListHelper(), fixBranchIDListsForEDAliases(), processAsync(), SubProcess(), and updateBranchIDListHelper().
|
private |
Definition at line 314 of file SubProcess.h.
Referenced by droppedBranchIDToKeptBranchID(), selectProducts(), and SubProcess().
|
private |
Definition at line 294 of file SubProcess.h.
Referenced by beginJob(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndLuminosityBlockAsync(), doEndRunAsync(), doStreamBeginLuminosityBlockAsync(), doStreamBeginRunAsync(), doStreamEndLuminosityBlockAsync(), doStreamEndRunAsync(), processAsync(), and SubProcess().
|
private |
Definition at line 289 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 286 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), and SubProcess().
|
private |
Definition at line 287 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 293 of file SubProcess.h.
Referenced by clearLumiPrincipal(), doBeginLuminosityBlockAsync(), doEndLuminosityBlockAsync(), doStreamBeginLuminosityBlockAsync(), doStreamEndLuminosityBlockAsync(), processAsync(), SubProcess(), and writeLumiAsync().
|
private |
Definition at line 292 of file SubProcess.h.
Referenced by clearRunPrincipal(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndRunAsync(), doStreamBeginRunAsync(), doStreamEndRunAsync(), SubProcess(), and writeRunAsync().
|
private |
Definition at line 303 of file SubProcess.h.
Referenced by keepThisBranch(), and keptProducts().
|
private |
Definition at line 274 of file SubProcess.h.
Referenced by beginJob().
|
private |
Definition at line 283 of file SubProcess.h.
Referenced by beginJob(), and keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 275 of file SubProcess.h.
Referenced by beginJob(), keepOnlyConsumedUnscheduledModules(), and SubProcess().
|
private |
Definition at line 290 of file SubProcess.h.
Referenced by clearProcessBlockPrincipal(), doBeginLuminosityBlockAsync(), doBeginProcessBlockAsync(), doBeginRunAsync(), doEndProcessBlockAsync(), processAsync(), SubProcess(), and writeProcessBlockAsync().
|
private |
Definition at line 277 of file SubProcess.h.
Referenced by beginJob(), and SubProcess().
|
private |
Definition at line 281 of file SubProcess.h.
Referenced by doBeginProcessBlockAsync(), keepOnlyConsumedUnscheduledModules(), and SubProcess().
|
private |
Definition at line 282 of file SubProcess.h.
Referenced by beginJob(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 288 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), doBeginRunAsync(), and processAsync().
|
private |
Definition at line 297 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 305 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 304 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 295 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 309 of file SubProcess.h.
Referenced by processAsync(), and SubProcess().
|
mutableprivate |
Definition at line 310 of file SubProcess.h.
Referenced by doEventAsync(), and SubProcess().
|
private |
Definition at line 273 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 296 of file SubProcess.h.
Referenced by beginJob(), clearCounters(), clearLumiPrincipal(), clearProcessBlockPrincipal(), clearRunPrincipal(), closeOutputFiles(), 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 279 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 278 of file SubProcess.h.
Referenced by SubProcess(), and thinnedAssociationsHelper().
|
private |
Definition at line 308 of file SubProcess.h.
Referenced by doEventAsync(), processAsync(), and SubProcess().