#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) |
template<> | |
void | doBeginProcessBlockAsync (WaitingTaskHolder iHolder, ProcessBlockTransitionInfo const &iTransitionInfo) |
template<> | |
void | doBeginProcessBlockAsync (WaitingTaskHolder iHolder, ProcessBlockTransitionInfo const &iTransitionInfo) |
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 |
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, 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::vector< ModuleDescription const * > &modules, 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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | beginJob () |
std::shared_ptr< BranchIDListHelper > & | branchIDListHelper () |
std::shared_ptr< BranchIDListHelper const > | branchIDListHelper () const |
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
void | endJob () |
void | fixBranchIDListsForEDAliases (std::map< BranchID::value_type, BranchID::value_type > const &droppedBranchIDToKeptBranchID) |
void | keepThisBranch (BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent) |
void | processAsync (WaitingTaskHolder iHolder, EventPrincipal const &e, std::vector< std::shared_ptr< const EventSetupImpl >> const *) |
void | propagateProducts (BranchType type, Principal const &parentPrincipal, Principal &principal) const |
std::shared_ptr< ThinnedAssociationsHelper > | thinnedAssociationsHelper () |
std::shared_ptr< ThinnedAssociationsHelper const > | thinnedAssociationsHelper () const |
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 50 of file SubProcess.h.
Definition at line 125 of file SubProcess.h.
edm::SubProcess::SubProcess | ( | ParameterSet & | parameterSet, |
ParameterSet const & | topLevelParameterSet, | ||
std::shared_ptr< ProductRegistry const > | parentProductRegistry, | ||
std::shared_ptr< BranchIDListHelper const > | parentBranchIDListHelper, | ||
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 48 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_, 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 221 of file SubProcess.cc.
|
delete |
|
default |
|
private |
Definition at line 227 of file SubProcess.cc.
References actReg_, edm::checkForModuleDependencyCorrectness(), droppedBranchIDToKeptBranchID(), esp_, fixBranchIDListsForEDAliases(), edm::for_all(), edm::InEvent, edm::PathsAndConsumesOfModules::initialize(), parentPreg_, pathsAndConsumesOfModules_, preg_, processConfiguration_, processContext_, schedule_, serviceToken_, subProcesses_, and edm::EDConsumerBase::updateLookup().
Referenced by doBeginJob().
|
inlineprivate |
Definition at line 266 of file SubProcess.h.
References branchIDListHelper_, and edm::get_underlying_safe().
|
inlineprivate |
Definition at line 263 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 239 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::clearProcessBlockPrincipal | ( | ProcessBlockType | processBlockType | ) |
Definition at line 555 of file SubProcess.cc.
References edm::Principal::clearPrincipal(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), alignCSCRings::s, and subProcesses_.
|
inline |
Definition at line 138 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::deleteLumiFromCache | ( | LuminosityBlockPrincipal & | principal | ) |
Definition at line 617 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 546 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 563 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 | ||
) |
Referenced by edm::subProcessDoGlobalBeginTransitionAsync().
void edm::SubProcess::doBeginProcessBlockAsync | ( | WaitingTaskHolder | iHolder, |
ProcessBlockTransitionInfo const & | iTransitionInfo | ||
) |
Definition at line 413 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 | ||
) |
Definition at line 428 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 455 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 626 of file SubProcess.cc.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::doEndJob | ( | ) |
Definition at line 225 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 585 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 442 of file SubProcess.cc.
References edm::InProcess, eostools::move(), edm::ProcessBlockTransitionInfo::principal(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), propagateProducts(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoGlobalEndTransitionAsync().
void edm::SubProcess::doEndRunAsync | ( | WaitingTaskHolder | iHolder, |
RunTransitionInfo const & | iTransitionInfo, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 485 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 632 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 339 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 660 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 638 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 672 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 648 of file SubProcess.cc.
References esp_, eostools::move(), principalCache_, edm::PrincipalCache::runPrincipalPtr(), schedule_, serviceToken_, and subProcesses_.
Referenced by edm::subProcessDoStreamEndTransitionAsync().
|
inlineprivate |
Definition at line 259 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 204 of file SubProcess.h.
References edm::for_all(), schedule_, serviceToken_, and subProcesses_.
|
private |
Definition at line 247 of file SubProcess.cc.
References HltBtagPostValidation_cff::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 211 of file SubProcess.h.
References schedule_, and serviceToken_.
|
private |
Definition at line 321 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 218 of file SubProcess.h.
References cuy::rep, schedule_, and serviceToken_.
|
private |
Definition at line 302 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 77 of file SubProcess.h.
References keptProducts_.
Referenced by propagateProducts(), and edm::ScheduleItems::ScheduleItems().
|
inline |
Definition at line 145 of file SubProcess.h.
References benchmark_cfg::fb, edm::for_all(), schedule_, serviceToken_, and subProcesses_.
|
delete |
|
delete |
|
private |
Definition at line 355 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::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 684 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 157 of file SubProcess.h.
References benchmark_cfg::fb, edm::for_all(), schedule_, serviceToken_, and subProcesses_.
void edm::SubProcess::respondToOpenInputFile | ( | FileBlock const & | fb | ) |
Definition at line 706 of file SubProcess.cc.
References benchmark_cfg::fb, 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 260 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 164 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 225 of file SubProcess.h.
References schedule_, serviceToken_, and subProcesses_.
|
inlineprivate |
Definition at line 270 of file SubProcess.h.
References edm::get_underlying_safe(), and thinnedAssociationsHelper_.
|
inlineprivate |
Definition at line 267 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 187 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 197 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 190 of file SubProcess.h.
References schedule_, and serviceToken_.
void edm::SubProcess::updateBranchIDListHelper | ( | BranchIDLists const & | branchIDLists | ) |
Definition at line 699 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 599 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 498 of file SubProcess.cc.
References actReg_, edm::make_waiting_task(), principalCache_, edm::PrincipalCache::processBlockPrincipal(), processContext_, alignCSCRings::s, schedule_, serviceToken_, subProcesses_, and TrackValidation_cff::task.
void edm::SubProcess::writeRunAsync | ( | edm::WaitingTaskHolder | task, |
ProcessHistoryID const & | parentPhID, | ||
int | runNumber, | ||
MergeableRunProductMetadata const * | mergeableRunProductMetadata | ||
) |
Definition at line 518 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 281 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 274 of file SubProcess.h.
Referenced by beginJob(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 278 of file SubProcess.h.
Referenced by branchIDListHelper(), fixBranchIDListsForEDAliases(), processAsync(), SubProcess(), and updateBranchIDListHelper().
|
private |
Definition at line 315 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 290 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 287 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), and SubProcess().
|
private |
Definition at line 288 of file SubProcess.h.
Referenced by doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 293 of file SubProcess.h.
Referenced by deleteLumiFromCache(), doBeginLuminosityBlockAsync(), doEndLuminosityBlockAsync(), doStreamBeginLuminosityBlockAsync(), doStreamEndLuminosityBlockAsync(), processAsync(), SubProcess(), and writeLumiAsync().
|
private |
Definition at line 304 of file SubProcess.h.
Referenced by keepThisBranch(), and keptProducts().
|
private |
Definition at line 276 of file SubProcess.h.
Referenced by beginJob().
|
private |
Definition at line 296 of file SubProcess.h.
Referenced by deleteRunFromCache(), doBeginRunAsync(), and writeRunAsync().
|
private |
Definition at line 284 of file SubProcess.h.
Referenced by beginJob().
|
private |
Definition at line 277 of file SubProcess.h.
Referenced by beginJob(), doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 291 of file SubProcess.h.
Referenced by clearProcessBlockPrincipal(), deleteRunFromCache(), doBeginLuminosityBlockAsync(), doBeginRunAsync(), doEndProcessBlockAsync(), doEndRunAsync(), doStreamBeginRunAsync(), doStreamEndRunAsync(), processAsync(), SubProcess(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 282 of file SubProcess.h.
Referenced by beginJob(), doBeginRunAsync(), and SubProcess().
|
private |
Definition at line 283 of file SubProcess.h.
Referenced by beginJob(), SubProcess(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 289 of file SubProcess.h.
Referenced by doBeginLuminosityBlockAsync(), doBeginRunAsync(), processAsync(), and SubProcess().
|
private |
Definition at line 298 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 306 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 305 of file SubProcess.h.
Referenced by selectProducts().
|
private |
Definition at line 295 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(), 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 310 of file SubProcess.h.
Referenced by processAsync(), and SubProcess().
|
mutableprivate |
Definition at line 311 of file SubProcess.h.
Referenced by doEventAsync(), and SubProcess().
|
private |
Definition at line 275 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 297 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(), openOutputFiles(), processAsync(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), Config.Process::splitPython(), SubProcess(), terminate(), updateBranchIDListHelper(), writeLumiAsync(), writeProcessBlockAsync(), and writeRunAsync().
|
private |
Definition at line 280 of file SubProcess.h.
Referenced by SubProcess().
|
private |
Definition at line 279 of file SubProcess.h.
Referenced by SubProcess(), and thinnedAssociationsHelper().
|
private |
Definition at line 309 of file SubProcess.h.
Referenced by doEventAsync(), processAsync(), and SubProcess().