#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 33 of file PathsAndConsumesOfModules.h.
|
default |
|
overridedefault |
|
inlineoverrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 49 of file PathsAndConsumesOfModules.h.
References allModuleDescriptions_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 122 of file PathsAndConsumesOfModules.cc.
References edm::Schedule::allWorkers(), edm::Worker::consumesInfo(), moduleIndex(), and schedule_.
|
inlineoverrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 47 of file PathsAndConsumesOfModules.h.
References endPaths_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 127 of file PathsAndConsumesOfModules.cc.
References moduleIDToIndex_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 96 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 112 of file PathsAndConsumesOfModules.cc.
References modulesOnEndPaths_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 108 of file PathsAndConsumesOfModules.cc.
References modulesOnPaths_.
|
overrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 117 of file PathsAndConsumesOfModules.cc.
References moduleIndex(), and modulesWhoseProductsAreConsumedBy_.
|
inlineoverrideprivatevirtual |
Implements edm::PathsAndConsumesOfModulesBase.
Definition at line 46 of file PathsAndConsumesOfModules.h.
References paths_.
void edm::PathsAndConsumesOfModules::initialize | ( | Schedule const * | schedule, |
std::shared_ptr< ProductRegistry const > | preg | ||
) |
Definition at line 17 of file PathsAndConsumesOfModules.cc.
References allModuleDescriptions_, convertToRaw::endpath, endPaths_, mps_fire::i, moduleIDToIndex_, modulesInPreviousProcessesWhoseProductsAreConsumedBy_, modulesOnEndPaths_, modulesOnPaths_, modulesWhoseProductsAreConsumedBy_, EnsembleCalibrationLA_cfg::path, paths_, preg_, produceCalibrationTree_cfg::schedule, and schedule_.
Referenced by edm::EventProcessor::beginJob(), and edm::SubProcess::keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 132 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 91 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 54 of file PathsAndConsumesOfModules.cc.
References allModuleDescriptions_, config::checkPath, makeListRunsInFiles::description, Exception, spr::find(), newFWLiteAna::found, moduleIDToIndex_, LogMessageMonitor_cff::modules, modulesInPreviousProcessesWhoseProductsAreConsumedBy_, modulesOnEndPaths_, modulesOnPaths_, modulesWhoseProductsAreConsumedBy_, edm::NumBranchTypes, EnsembleCalibrationLA_cfg::path, edm::PathsAndConsumesOfModulesBase::paths(), and mitigatedMETSequence_cff::U.
Referenced by edm::EventProcessor::beginJob(), and edm::SubProcess::keepOnlyConsumedUnscheduledModules().
|
private |
Definition at line 68 of file PathsAndConsumesOfModules.h.
Referenced by doAllModules(), doModuleDescription(), initialize(), and removeModules().
|
private |
Definition at line 66 of file PathsAndConsumesOfModules.h.
Referenced by doEndPaths(), and initialize().
|
private |
Definition at line 75 of file PathsAndConsumesOfModules.h.
Referenced by doLargestModuleID(), doModuleDescription(), initialize(), moduleIndex(), and removeModules().
|
private |
Definition at line 78 of file PathsAndConsumesOfModules.h.
Referenced by initialize(), modulesInPreviousProcessesWhoseProductsAreConsumedBy(), and removeModules().
|
private |
Definition at line 71 of file PathsAndConsumesOfModules.h.
Referenced by doModulesOnEndPath(), initialize(), and removeModules().
|
private |
Definition at line 70 of file PathsAndConsumesOfModules.h.
Referenced by doModulesOnPath(), initialize(), and removeModules().
|
private |
Definition at line 77 of file PathsAndConsumesOfModules.h.
Referenced by doModulesWhoseProductsAreConsumedBy(), initialize(), and removeModules().
|
private |
Definition at line 65 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 81 of file PathsAndConsumesOfModules.h.
Referenced by initialize().
|
private |
Definition at line 80 of file PathsAndConsumesOfModules.h.
Referenced by Config.Process::_insertPaths(), Config.Process::_replaceInSchedule(), Config.Process::_replaceInScheduleDirectly(), doConsumesInfo(), Config.Process::dumpPython(), initialize(), Config.Process::prune(), Config.Process::resolve(), and Config.Process::splitPython().