#include <PathsAndConsumesOfModules.h>
Public Member Functions | |
void | initialize (Schedule const *, std::shared_ptr< ProductRegistry const >) |
std::vector< ModuleProcessName > const & | modulesInPreviousProcessesWhoseProductsAreConsumedBy (unsigned int moduleID) const |
PathsAndConsumesOfModules () | |
void | removeModules (std::vector< ModuleDescription const * > const &modules) |
~PathsAndConsumesOfModules () override | |
Public Member Functions inherited from edm::PathsAndConsumesOfModulesBase | |
std::vector< ModuleDescription const * > const & | allModules () const |
std::vector< ConsumesInfo > | consumesInfo (unsigned int moduleID) const |
std::vector< std::string > const & | endPaths () const |
unsigned int | largestModuleID () const |
ModuleDescription const * | moduleDescription (unsigned int moduleID) const |
std::vector< ModuleDescription const * > const & | modulesOnEndPath (unsigned int endPathIndex) const |
std::vector< ModuleDescription const * > const & | modulesOnPath (unsigned int pathIndex) const |
std::vector< ModuleDescription const * > const & | modulesWhoseProductsAreConsumedBy (unsigned int moduleID, BranchType branchType=InEvent) const |
std::vector< std::string > const & | paths () const |
virtual | ~PathsAndConsumesOfModulesBase () |
Private Member Functions | |
std::vector< ModuleDescription const * > const & | doAllModules () const override |
std::vector< ConsumesInfo > | doConsumesInfo (unsigned int moduleID) const override |
std::vector< std::string > const & | doEndPaths () const override |
unsigned int | doLargestModuleID () const override |
ModuleDescription const * | doModuleDescription (unsigned int moduleID) const override |
std::vector< ModuleDescription const * > const & | doModulesOnEndPath (unsigned int endPathIndex) const override |
std::vector< ModuleDescription const * > const & | doModulesOnPath (unsigned int pathIndex) const override |
std::vector< ModuleDescription const * > const & | doModulesWhoseProductsAreConsumedBy (unsigned int moduleID, BranchType branchType) const override |
std::vector< std::string > const & | doPaths () const override |
unsigned int | moduleIndex (unsigned int moduleID) const |
Private Attributes | |
std::vector< ModuleDescription const * > | allModuleDescriptions_ |
std::vector< std::string > | endPaths_ |
std::vector< std::pair< unsigned int, unsigned int > > | moduleIDToIndex_ |
std::vector< std::vector< ModuleProcessName > > | modulesInPreviousProcessesWhoseProductsAreConsumedBy_ |
std::vector< std::vector< ModuleDescription const * > > | modulesOnEndPaths_ |
std::vector< std::vector< ModuleDescription const * > > | modulesOnPaths_ |
std::array< std::vector< std::vector< ModuleDescription const * > >, NumBranchTypes > | modulesWhoseProductsAreConsumedBy_ |
std::vector< std::string > | paths_ |
std::shared_ptr< ProductRegistry const > | preg_ |
Schedule const * | schedule_ |
Description: See comments in the base class
Usage:
Definition at line 32 of file PathsAndConsumesOfModules.h.
|
default |
|
overridedefault |
|
inlineoverrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 48 of file PathsAndConsumesOfModules.h.
References allModuleDescriptions_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 121 of file PathsAndConsumesOfModules.cc.
References edm::Schedule::allWorkers(), edm::Worker::consumesInfo(), moduleIndex(), and schedule_.
|
inlineoverrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 46 of file PathsAndConsumesOfModules.h.
References endPaths_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 126 of file PathsAndConsumesOfModules.cc.
References moduleIDToIndex_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 95 of file PathsAndConsumesOfModules.cc.
References allModuleDescriptions_, Exception, edm::errors::LogicError, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, moduleIDToIndex_, and filterCSVwithJSON::target.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 111 of file PathsAndConsumesOfModules.cc.
References modulesOnEndPaths_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 107 of file PathsAndConsumesOfModules.cc.
References modulesOnPaths_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 116 of file PathsAndConsumesOfModules.cc.
References moduleIndex(), and modulesWhoseProductsAreConsumedBy_.
|
inlineoverrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 45 of file PathsAndConsumesOfModules.h.
References paths_.
void edm::PathsAndConsumesOfModules::initialize | ( | Schedule const * | schedule, |
std::shared_ptr< ProductRegistry const > | preg | ||
) |
Definition at line 16 of file PathsAndConsumesOfModules.cc.
References allModuleDescriptions_, endPaths_, mps_fire::i, moduleIDToIndex_, modulesInPreviousProcessesWhoseProductsAreConsumedBy_, modulesOnEndPaths_, modulesOnPaths_, modulesWhoseProductsAreConsumedBy_, castor_dqm_sourceclient_file_cfg::path, paths_, preg_, filterRecHits_cfg::schedule, and schedule_.
Referenced by edm::EventProcessor::beginJob(), and edm::SubProcess::keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 131 of file PathsAndConsumesOfModules.cc.
References Exception, edm::errors::LogicError, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, moduleIDToIndex_, and filterCSVwithJSON::target.
Referenced by doConsumesInfo(), doModulesWhoseProductsAreConsumedBy(), and modulesInPreviousProcessesWhoseProductsAreConsumedBy().
std::vector< ModuleProcessName > const & edm::PathsAndConsumesOfModules::modulesInPreviousProcessesWhoseProductsAreConsumedBy | ( | unsigned int | moduleID | ) | const |
Definition at line 90 of file PathsAndConsumesOfModules.cc.
References moduleIndex(), and modulesInPreviousProcessesWhoseProductsAreConsumedBy_.
Referenced by edm::SubProcess::keepOnlyConsumedUnscheduledModules().
void edm::PathsAndConsumesOfModules::removeModules | ( | std::vector< ModuleDescription const * > const & | modules | ) |
Definition at line 53 of file PathsAndConsumesOfModules.cc.
References allModuleDescriptions_, config::checkPath, edmLumisInFiles::description, Exception, spr::find(), newFWLiteAna::found, moduleIDToIndex_, LogMessageMonitor_cff::modules, modulesInPreviousProcessesWhoseProductsAreConsumedBy_, modulesOnEndPaths_, modulesOnPaths_, modulesWhoseProductsAreConsumedBy_, edm::NumBranchTypes, castor_dqm_sourceclient_file_cfg::path, edm::PathsAndConsumesOfModulesBase::paths(), and mitigatedMETSequence_cff::U.
Referenced by edm::EventProcessor::beginJob(), and edm::SubProcess::keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 67 of file PathsAndConsumesOfModules.h.
Referenced by doAllModules(), doModuleDescription(), initialize(), and removeModules().
|
private |
Definition at line 65 of file PathsAndConsumesOfModules.h.
Referenced by doEndPaths(), and initialize().
|
private |
Definition at line 74 of file PathsAndConsumesOfModules.h.
Referenced by doLargestModuleID(), doModuleDescription(), initialize(), moduleIndex(), and removeModules().
|
private |
Definition at line 77 of file PathsAndConsumesOfModules.h.
Referenced by initialize(), modulesInPreviousProcessesWhoseProductsAreConsumedBy(), and removeModules().
|
private |
Definition at line 70 of file PathsAndConsumesOfModules.h.
Referenced by doModulesOnEndPath(), initialize(), and removeModules().
|
private |
Definition at line 69 of file PathsAndConsumesOfModules.h.
Referenced by doModulesOnPath(), initialize(), and removeModules().
|
private |
Definition at line 76 of file PathsAndConsumesOfModules.h.
Referenced by doModulesWhoseProductsAreConsumedBy(), initialize(), and removeModules().
|
private |
Definition at line 64 of file PathsAndConsumesOfModules.h.
Referenced by Config.Process::_insertPaths(), doPaths(), Config.Process::dumpConfig(), Config.Process::dumpPython(), initialize(), Config.Process::pathNames(), and Config.Process::splitPython().
|
private |
Definition at line 80 of file PathsAndConsumesOfModules.h.
Referenced by initialize().
|
private |
Definition at line 79 of file PathsAndConsumesOfModules.h.
Referenced by Config.Process::_insertPaths(), Config.Process::_replaceInSchedule(), doConsumesInfo(), Config.Process::dumpPython(), initialize(), Config.Process::prune(), Config.Process::resolve(), and Config.Process::splitPython().