#include <ModuleDescription.h>
Public Member Functions | |
unsigned int | id () const |
ParameterSetID const & | mainParameterSetID () const |
ModuleDescription () | |
ModuleDescription (std::string const &modName, std::string const &modLabel) | |
ModuleDescription (std::string const &modName, std::string const &modLabel, ProcessConfiguration const *procConfig) | |
ModuleDescription (ParameterSetID const &pid, std::string const &modName, std::string const &modLabel) | |
ModuleDescription (ParameterSetID const &pid, std::string const &modName, std::string const &modLabel, ProcessConfiguration const *procConfig, unsigned int modID) | |
std::string const & | moduleLabel () const |
std::string const & | moduleName () const |
bool | operator!= (ModuleDescription const &rh) const |
bool | operator< (ModuleDescription const &rh) const |
bool | operator== (ModuleDescription const &rh) const |
ParameterSetID const & | parameterSetID () const |
std::string const & | passID () const |
ProcessConfiguration const & | processConfiguration () const |
std::string const & | processName () const |
std::string const & | releaseVersion () const |
void | write (std::ostream &os) const |
~ModuleDescription () | |
Static Public Member Functions | |
static unsigned int | getUniqueID () |
Returns a unique id each time called. Intended to be passed to ModuleDescription's constructor's modID argument. Thread safe. More... | |
static constexpr unsigned int | invalidID () |
Returns a value identifying an invalid id (the max unsigned int value) More... | |
Private Attributes | |
unsigned int | id_ |
std::string | moduleLabel_ |
std::string | moduleName_ |
ParameterSetID | parameterSetID_ |
ProcessConfiguration const * | processConfigurationPtr_ |
Definition at line 22 of file ModuleDescription.h.
edm::ModuleDescription::ModuleDescription | ( | ) |
Definition at line 16 of file ModuleDescription.cc.
edm::ModuleDescription::ModuleDescription | ( | std::string const & | modName, |
std::string const & | modLabel | ||
) |
Definition at line 40 of file ModuleDescription.cc.
References invalidID().
edm::ModuleDescription::ModuleDescription | ( | std::string const & | modName, |
std::string const & | modLabel, | ||
ProcessConfiguration const * | procConfig | ||
) |
Definition at line 44 of file ModuleDescription.cc.
References invalidID().
edm::ModuleDescription::ModuleDescription | ( | ParameterSetID const & | pid, |
std::string const & | modName, | ||
std::string const & | modLabel | ||
) |
Definition at line 23 of file ModuleDescription.cc.
References invalidID(), and sysUtil::pid.
edm::ModuleDescription::ModuleDescription | ( | ParameterSetID const & | pid, |
std::string const & | modName, | ||
std::string const & | modLabel, | ||
ProcessConfiguration const * | procConfig, | ||
unsigned int | modID | ||
) |
Definition at line 28 of file ModuleDescription.cc.
edm::ModuleDescription::~ModuleDescription | ( | ) |
Definition at line 49 of file ModuleDescription.cc.
|
static |
Returns a unique id each time called. Intended to be passed to ModuleDescription's constructor's modID argument. Thread safe.
Definition at line 103 of file ModuleDescription.cc.
References s_id.
Referenced by edm::Maker::createModuleDescription(), id(), ThroughputService::preallocate(), and FastTimerService::preallocate().
|
inline |
A unique ID for a module declared in the Process. The id is only unique for the Process and not across different Processes. If the id is invalid, will return the max unsigned int value.
Definition at line 53 of file ModuleDescription.h.
References getUniqueID(), id_, mainParameterSetID(), operator!=(), operator<(), operator==(), passID(), processConfiguration(), processName(), releaseVersion(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DQMEDAnalyzer::beginRun(), FastTimerService::PlotsPerJob::book(), edm::service::ConcurrentModuleTimer::ConcurrentModuleTimer(), DQMEDAnalyzer::endLuminosityBlockSummary(), DQMEDAnalyzer::endRunSummary(), edm::Schedule::fillModuleAndConsumesInfo(), edm::service::RandomNumberGeneratorService::getEngine(), edm::service::MessageLogger::MessageLogger(), edm::SystemTimeKeeper::pauseModuleEvent(), edm::service::Tracer::postEventReadFromSource(), edm::service::SimpleMemoryCheck::postModule(), edm::service::Tracer::postModuleBeginJob(), edm::service::Tracer::postModuleBeginStream(), edm::service::Tracer::postModuleConstruction(), edm::service::Tracer::postModuleEndJob(), edm::service::Tracer::postModuleEndStream(), edm::service::Tracer::postModuleEvent(), FastTimerService::postModuleEvent(), edm::service::Tracer::postModuleEventDelayedGet(), edm::service::Tracer::postModuleEventPrefetching(), edm::service::Tracer::postModuleGlobalBeginLumi(), edm::service::Tracer::postModuleGlobalBeginRun(), edm::service::Tracer::postModuleGlobalEndLumi(), edm::service::Tracer::postModuleGlobalEndRun(), edm::service::Tracer::postModuleStreamBeginLumi(), edm::service::Tracer::postModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), edm::service::Tracer::postModuleStreamEndLumi(), edm::service::Tracer::postModuleStreamEndRun(), FastTimerService::postSourceEvent(), DependencyGraph::preBeginJob(), edm::service::Tracer::preEventReadFromSource(), edm::service::SimpleMemoryCheck::preModule(), edm::service::Tracer::preModuleBeginJob(), edm::service::Tracer::preModuleBeginStream(), edm::service::RandomNumberGeneratorService::preModuleConstruction(), edm::service::Tracer::preModuleConstruction(), edm::service::StallMonitor::preModuleConstruction(), edm::service::Tracer::preModuleEndJob(), edm::service::Tracer::preModuleEndStream(), edm::service::Tracer::preModuleEvent(), edm::service::Tracer::preModuleEventDelayedGet(), edm::service::Tracer::preModuleEventPrefetching(), edm::service::Tracer::preModuleGlobalBeginLumi(), edm::service::Tracer::preModuleGlobalBeginRun(), edm::service::Tracer::preModuleGlobalEndLumi(), edm::service::Tracer::preModuleGlobalEndRun(), edm::service::Tracer::preModuleStreamBeginLumi(), edm::service::Tracer::preModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::preModuleStreamCheck(), edm::service::Tracer::preModuleStreamEndLumi(), edm::service::Tracer::preModuleStreamEndRun(), DependencyGraph::preSourceConstruction(), ProcessCallGraph::preSourceConstruction(), FastTimerService::queryModuleTime(), FastTimerService::querySourceTime(), edm::SystemTimeKeeper::restartModuleEvent(), edm::SystemTimeKeeper::startModuleEvent(), edm::SystemTimeKeeper::stopModuleEvent(), edm::SystemTimeKeeper::SystemTimeKeeper(), and edm::service::ConcurrentModuleTimer::trackModule().
|
inlinestatic |
Returns a value identifying an invalid id (the max unsigned int value)
Definition at line 73 of file ModuleDescription.h.
References hpstanc_transforms::max.
Referenced by ModuleDescription().
ParameterSetID const & edm::ModuleDescription::mainParameterSetID | ( | ) | const |
Definition at line 72 of file ModuleDescription.cc.
References edm::ProcessConfiguration::parameterSetID(), and processConfiguration().
Referenced by edm::getProcessParameterSetContainingModule(), id(), and edm::StreamerOutputModuleBase::serializeRegistry().
|
inline |
Definition at line 50 of file ModuleDescription.h.
References moduleLabel_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::ScheduleInfo::availableModuleLabels(), edm::Worker::beginJob(), edm::Worker::beginStream(), FastTimerService::PlotsPerJob::book(), edm::service::ConcurrentModuleTimer::ConcurrentModuleTimer(), edm::Worker::endJob(), edm::Worker::endStream(), edm::Worker::exceptionContext(), edm::Schedule::fillModuleAndConsumesInfo(), edm::fillModuleInPathSummary(), edm::fillWorkerSummaryAux(), edm::PrincipalGetAdapter::getBranchDescription(), edm::service::RandomNumberGeneratorService::getEngine(), edm::service::MessageLogger::MessageLogger(), HLTFilter::moduleLabel(), HLTStreamFilter::moduleLabel(), HLTHighLevel::moduleLabel(), edm::service::RandomNumberGeneratorService::mySeed(), Timer::newTimingMeasurement(), operator<(), edm::ScheduleInfo::parametersForModule(), TriggerResultsFilterFromDB::pathsFromSetup(), FastTimerService::postBeginJob(), edm::service::Tracer::postEventReadFromSource(), edm::service::SimpleMemoryCheck::postModule(), edm::service::SimpleMemoryCheck::postModuleBeginJob(), edm::service::Tracer::postModuleBeginJob(), edm::service::Tracer::postModuleBeginStream(), edm::service::SimpleMemoryCheck::postModuleConstruction(), edm::service::Tracer::postModuleConstruction(), edm::service::Tracer::postModuleEndJob(), edm::service::Tracer::postModuleEndStream(), edm::service::Tracer::postModuleEvent(), edm::service::Tracer::postModuleEventDelayedGet(), edm::service::Tracer::postModuleEventPrefetching(), edm::service::Tracer::postModuleGlobalBeginLumi(), edm::service::Tracer::postModuleGlobalBeginRun(), edm::service::Tracer::postModuleGlobalEndLumi(), edm::service::Tracer::postModuleGlobalEndRun(), edm::service::Tracer::postModuleStreamBeginLumi(), edm::service::Tracer::postModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), edm::service::Tracer::postModuleStreamEndLumi(), edm::service::Tracer::postModuleStreamEndRun(), edm::service::SimpleMemoryCheck::postSourceConstruction(), DependencyGraph::preBeginJob(), edm::service::Tracer::preEventReadFromSource(), evf::MicroStateServiceClassic::preModule(), InputTagDistributorService::preModule(), VariableHelperService::preModule(), edm::service::Tracer::preModuleBeginJob(), edm::service::Tracer::preModuleBeginStream(), edm::service::RandomNumberGeneratorService::preModuleConstruction(), edm::service::Tracer::preModuleConstruction(), edm::service::StallMonitor::preModuleConstruction(), edm::service::Tracer::preModuleEndJob(), edm::service::Tracer::preModuleEndStream(), edm::service::Tracer::preModuleEvent(), edm::service::Tracer::preModuleEventDelayedGet(), edm::service::Tracer::preModuleEventPrefetching(), edm::service::Tracer::preModuleGlobalBeginLumi(), edm::service::Tracer::preModuleGlobalBeginRun(), edm::service::Tracer::preModuleGlobalEndLumi(), edm::service::Tracer::preModuleGlobalEndRun(), edm::service::Tracer::preModuleStreamBeginLumi(), edm::service::Tracer::preModuleStreamBeginRun(), edm::service::Tracer::preModuleStreamEndLumi(), edm::service::Tracer::preModuleStreamEndRun(), DependencyGraph::preSourceConstruction(), edm::service::SimpleMemoryCheck::preSourceConstruction(), FastTimerService::queryModuleTimeByLabel(), edm::ThinningProducer< Collection, Selector >::registerThinnedAssociations(), edm::StreamerOutputModuleBase::serializeRegistry(), TFileService::setDirectoryName(), evf::MicroStateServiceClassic::setMicroState(), edm::Maker::throwConfigurationException(), and write().
|
inline |
Definition at line 49 of file ModuleDescription.h.
References moduleName_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::Worker::beginJob(), edm::Worker::beginStream(), edm::Worker::endJob(), edm::Worker::endStream(), edm::Worker::exceptionContext(), edm::StreamSchedule::fillWorkers(), edm::service::MessageLogger::MessageLogger(), Timer::newTimingMeasurement(), operator<(), edm::service::SimpleMemoryCheck::postModuleBeginJob(), edm::service::SimpleMemoryCheck::postModuleConstruction(), FWPathsPopup::postModuleEvent(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), edm::service::SimpleMemoryCheck::postSourceConstruction(), edm::service::Tracer::postSourceConstruction(), evf::FastMonitoringService::preModuleBeginJob(), FWPathsPopup::preModuleEvent(), DependencyGraph::preSourceConstruction(), edm::service::SimpleMemoryCheck::preSourceConstruction(), edm::service::Tracer::preSourceConstruction(), TFileService::setDirectoryName(), edm::Maker::throwConfigurationException(), and write().
bool edm::ModuleDescription::operator!= | ( | ModuleDescription const & | rh | ) | const |
Definition at line 98 of file ModuleDescription.cc.
Referenced by id().
bool edm::ModuleDescription::operator< | ( | ModuleDescription const & | rh | ) | const |
Definition at line 77 of file ModuleDescription.cc.
References moduleLabel(), moduleName(), parameterSetID(), passID(), processName(), and releaseVersion().
Referenced by id().
bool edm::ModuleDescription::operator== | ( | ModuleDescription const & | rh | ) | const |
Definition at line 93 of file ModuleDescription.cc.
Referenced by id().
|
inline |
Definition at line 48 of file ModuleDescription.h.
References parameterSetID_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::edmModuleTypeEnum(), DependencyGraph::edmModuleTypeEnum(), operator<(), and write().
std::string const & edm::ModuleDescription::passID | ( | ) | const |
Definition at line 67 of file ModuleDescription.cc.
References edm::ProcessConfiguration::passID(), and processConfiguration().
Referenced by id(), and operator<().
ProcessConfiguration const & edm::ModuleDescription::processConfiguration | ( | ) | const |
Definition at line 52 of file ModuleDescription.cc.
References processConfigurationPtr_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by id(), mainParameterSetID(), passID(), edm::InputSource::processConfiguration(), processName(), and releaseVersion().
std::string const & edm::ModuleDescription::processName | ( | ) | const |
Definition at line 57 of file ModuleDescription.cc.
References processConfiguration(), edm::ProcessConfiguration::processName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::PrincipalGetAdapter::getBranchDescription(), id(), operator<(), pat::PATTriggerEventProducer::PATTriggerEventProducer(), and pat::PATTriggerProducer::PATTriggerProducer().
std::string const & edm::ModuleDescription::releaseVersion | ( | ) | const |
Definition at line 62 of file ModuleDescription.cc.
References processConfiguration(), edm::ProcessConfiguration::releaseVersion(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by id(), and operator<().
void edm::ModuleDescription::write | ( | std::ostream & | os | ) | const |
Definition at line 108 of file ModuleDescription.cc.
References moduleLabel(), moduleName(), and parameterSetID().
Referenced by pkg.AbstractPkg::generate(), and edm::operator<<().
|
private |
Definition at line 92 of file ModuleDescription.h.
Referenced by id().
|
private |
Definition at line 87 of file ModuleDescription.h.
Referenced by Mixins._TypedParameterizable::insertInto(), moduleLabel(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 83 of file ModuleDescription.h.
Referenced by moduleName().
|
private |
Definition at line 80 of file ModuleDescription.h.
Referenced by parameterSetID().
|
private |
Definition at line 90 of file ModuleDescription.h.
Referenced by processConfiguration().