#include <ModuleDescription.h>
Public Member Functions | |
ParameterSetID const & | mainParameterSetID () const |
ModuleDescription () | |
ModuleDescription (std::string const &modName, std::string const &modLabel) | |
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) | |
ModuleDescription (std::string const &modName, std::string const &modLabel, ProcessConfiguration const *procConfig) | |
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 |
ProcessConfigurationID | processConfigurationID () const |
std::string const & | processName () const |
std::string const & | releaseVersion () const |
void | write (std::ostream &os) const |
~ModuleDescription () | |
Private Attributes | |
std::string | moduleLabel_ |
std::string | moduleName_ |
ParameterSetID | parameterSetID_ |
ProcessConfiguration const * | processConfigurationPtr_ |
Definition at line 23 of file ModuleDescription.h.
edm::ModuleDescription::ModuleDescription | ( | ) |
Definition at line 12 of file ModuleDescription.cc.
: parameterSetID_(), moduleName_(), moduleLabel_(), processConfigurationPtr_(0) {}
edm::ModuleDescription::ModuleDescription | ( | std::string const & | modName, |
std::string const & | modLabel | ||
) |
Definition at line 37 of file ModuleDescription.cc.
: parameterSetID_(), moduleName_(modName), moduleLabel_(modLabel), processConfigurationPtr_(0) {}
edm::ModuleDescription::ModuleDescription | ( | std::string const & | modName, |
std::string const & | modLabel, | ||
ProcessConfiguration const * | procConfig | ||
) |
Definition at line 45 of file ModuleDescription.cc.
: parameterSetID_(), moduleName_(modName), moduleLabel_(modLabel), processConfigurationPtr_(procConfig) {}
edm::ModuleDescription::ModuleDescription | ( | ParameterSetID const & | pid, |
std::string const & | modName, | ||
std::string const & | modLabel | ||
) |
Definition at line 18 of file ModuleDescription.cc.
: parameterSetID_(pid), moduleName_(modName), moduleLabel_(modLabel), processConfigurationPtr_(0) {}
edm::ModuleDescription::ModuleDescription | ( | ParameterSetID const & | pid, |
std::string const & | modName, | ||
std::string const & | modLabel, | ||
ProcessConfiguration const * | procConfig | ||
) |
Definition at line 27 of file ModuleDescription.cc.
: parameterSetID_(pid), moduleName_(modName), moduleLabel_(modLabel), processConfigurationPtr_(procConfig) {}
edm::ModuleDescription::~ModuleDescription | ( | ) |
Definition at line 54 of file ModuleDescription.cc.
{}
ParameterSetID const & edm::ModuleDescription::mainParameterSetID | ( | ) | const |
Definition at line 82 of file ModuleDescription.cc.
References edm::ProcessConfiguration::parameterSetID(), and processConfiguration().
{ return processConfiguration().parameterSetID(); }
std::string const& edm::ModuleDescription::moduleLabel | ( | ) | const [inline] |
Definition at line 50 of file ModuleDescription.h.
References moduleLabel_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::UnscheduledCallProducer::addWorker(), edm::ScheduleInfo::availableModuleLabels(), edm::Worker::beginJob(), edm::Worker::endJob(), edm::service::MessageLogger::establishModule(), edm::service::MessageLogger::establishModuleCtor(), edm::Path::exceptionContext(), edm::fillModuleInPathSummary(), edm::fillWorkerSummaryAux(), edm::CurrentProcessingContext::moduleLabel(), Timer::newTimingMeasurement(), operator<(), edm::ScheduleInfo::parametersForModule(), edm::service::EnableFloatingPointExceptions::postActions(), edm::service::SimpleMemoryCheck::postModule(), edm::service::Timing::postModule(), edm::service::PathTimerService::postModule(), evf::TimeProfilerService::postModule(), FastTimerService::postModule(), edm::service::RandomNumberGeneratorService::postModuleBeginJob(), edm::service::SimpleMemoryCheck::postModuleBeginJob(), edm::service::Tracer::postModuleBeginJob(), edm::service::Tracer::postModuleBeginLumi(), edm::service::Tracer::postModuleBeginRun(), edm::service::RandomNumberGeneratorService::postModuleBeginRun(), edm::service::Tracer::postModuleConstruction(), edm::service::SimpleMemoryCheck::postModuleConstruction(), edm::service::RandomNumberGeneratorService::postModuleConstruction(), edm::service::RandomNumberGeneratorService::postModuleEndJob(), edm::service::Tracer::postModuleEndJob(), edm::service::Tracer::postModuleEndLumi(), edm::service::RandomNumberGeneratorService::postModuleEndLumi(), edm::service::RandomNumberGeneratorService::postModuleEndRun(), edm::service::Tracer::postModuleEndRun(), edm::service::Tracer::postModuleEvent(), edm::service::SimpleMemoryCheck::postSourceConstruction(), edm::service::EnableFloatingPointExceptions::preActions(), edm::service::RandomNumberGeneratorService::preModule(), edm::rootfix::LockService::preModule(), InputTagDistributorService::preModule(), evf::MicroStateService::preModule(), evf::Stepper::preModule(), VariableHelperService::preModule(), edm::service::RandomNumberGeneratorService::preModuleBeginJob(), edm::service::Tracer::preModuleBeginJob(), edm::service::RandomNumberGeneratorService::preModuleBeginLumi(), edm::service::Tracer::preModuleBeginLumi(), edm::service::RandomNumberGeneratorService::preModuleBeginRun(), edm::service::Tracer::preModuleBeginRun(), edm::service::RandomNumberGeneratorService::preModuleConstruction(), edm::service::Tracer::preModuleConstruction(), edm::service::RandomNumberGeneratorService::preModuleEndJob(), edm::service::Tracer::preModuleEndJob(), edm::service::RandomNumberGeneratorService::preModuleEndLumi(), edm::service::Tracer::preModuleEndLumi(), edm::service::Tracer::preModuleEndRun(), edm::service::RandomNumberGeneratorService::preModuleEndRun(), edm::service::Tracer::preModuleEvent(), edm::service::SimpleMemoryCheck::preSourceConstruction(), edm::rootfix::LockService::preSourceConstruction(), FastTimerService::queryModuleTime(), edm::StreamerOutputModuleBase::serializeRegistry(), TFileService::setDirectoryName(), edm::OutputModule::setEventSelectionInfo(), edm::Maker::throwConfigurationException(), and write().
{return moduleLabel_;}
std::string const& edm::ModuleDescription::moduleName | ( | ) | const [inline] |
Definition at line 49 of file ModuleDescription.h.
References moduleName_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::Worker::beginJob(), edm::Schedule::changeModule(), edm::Worker::endJob(), edm::service::MessageLogger::establishModule(), edm::service::MessageLogger::establishModuleCtor(), edm::Path::exceptionContext(), edm::Schedule::fillWorkers(), Timer::newTimingMeasurement(), operator<(), edm::service::SimpleMemoryCheck::postModule(), edm::service::Timing::postModule(), FWPathsPopup::postModule(), edm::service::RandomNumberGeneratorService::postModuleBeginJob(), edm::service::SimpleMemoryCheck::postModuleBeginJob(), edm::service::RandomNumberGeneratorService::postModuleBeginRun(), edm::service::RandomNumberGeneratorService::postModuleConstruction(), edm::service::SimpleMemoryCheck::postModuleConstruction(), edm::service::RandomNumberGeneratorService::postModuleEndJob(), edm::service::RandomNumberGeneratorService::postModuleEndLumi(), edm::service::RandomNumberGeneratorService::postModuleEndRun(), edm::service::SimpleMemoryCheck::postSourceConstruction(), edm::service::Tracer::postSourceConstruction(), evf::Stepper::preModule(), FWPathsPopup::preModule(), edm::service::Tracer::preSourceConstruction(), edm::service::SimpleMemoryCheck::preSourceConstruction(), TFileService::setDirectoryName(), edm::Maker::throwConfigurationException(), and write().
{return moduleName_;}
bool edm::ModuleDescription::operator!= | ( | ModuleDescription const & | rh | ) | const |
Definition at line 108 of file ModuleDescription.cc.
{
return !((*this) == rh);
}
bool edm::ModuleDescription::operator< | ( | ModuleDescription const & | rh | ) | const |
Definition at line 87 of file ModuleDescription.cc.
References moduleLabel(), moduleName(), parameterSetID(), passID(), processName(), and releaseVersion().
{ if (moduleLabel() < rh.moduleLabel()) return true; if (rh.moduleLabel() < moduleLabel()) return false; if (processName() < rh.processName()) return true; if (rh.processName() < processName()) return false; if (moduleName() < rh.moduleName()) return true; if (rh.moduleName() < moduleName()) return false; if (parameterSetID() < rh.parameterSetID()) return true; if (rh.parameterSetID() < parameterSetID()) return false; if (releaseVersion() < rh.releaseVersion()) return true; if (rh.releaseVersion() < releaseVersion()) return false; if (passID() < rh.passID()) return true; return false; }
bool edm::ModuleDescription::operator== | ( | ModuleDescription const & | rh | ) | const |
Definition at line 103 of file ModuleDescription.cc.
{
return !((*this) < rh || rh < (*this));
}
ParameterSetID const& edm::ModuleDescription::parameterSetID | ( | ) | const [inline] |
Definition at line 48 of file ModuleDescription.h.
References parameterSetID_.
Referenced by edm::ProductRegistryHelper::addToRegistry(), operator<(), and write().
{return parameterSetID_;}
std::string const & edm::ModuleDescription::passID | ( | ) | const |
Definition at line 77 of file ModuleDescription.cc.
References edm::ProcessConfiguration::passID(), and processConfiguration().
Referenced by operator<().
{ return processConfiguration().passID(); }
ProcessConfiguration const & edm::ModuleDescription::processConfiguration | ( | ) | const |
Definition at line 57 of file ModuleDescription.cc.
References processConfigurationPtr_.
Referenced by mainParameterSetID(), passID(), edm::InputSource::processConfiguration(), processConfigurationID(), processName(), and releaseVersion().
{ return *processConfigurationPtr_; }
ProcessConfigurationID edm::ModuleDescription::processConfigurationID | ( | ) | const |
Definition at line 62 of file ModuleDescription.cc.
References edm::ProcessConfiguration::id(), and processConfiguration().
{ return processConfiguration().id(); }
std::string const & edm::ModuleDescription::processName | ( | ) | const |
Definition at line 67 of file ModuleDescription.cc.
References processConfiguration(), and edm::ProcessConfiguration::processName().
Referenced by edm::ProductRegistryHelper::addToRegistry(), and operator<().
{ return processConfiguration().processName(); }
std::string const & edm::ModuleDescription::releaseVersion | ( | ) | const |
Definition at line 72 of file ModuleDescription.cc.
References processConfiguration(), and edm::ProcessConfiguration::releaseVersion().
Referenced by operator<().
{ return processConfiguration().releaseVersion(); }
void edm::ModuleDescription::write | ( | std::ostream & | os | ) | const |
Definition at line 113 of file ModuleDescription.cc.
References moduleLabel(), moduleName(), and parameterSetID().
Referenced by edm::operator<<().
{ os << "Module type=" << moduleName() << ", " << "Module label=" << moduleLabel() << ", " << "Parameter Set ID=" << parameterSetID(); //<< "Parameter Set ID=" << parameterSetID() << ", " //<< "Process name=" << processName() << ", " //<< "Release Version=" << releaseVersion() << ", " //<< "Pass ID=" << passID() << ", " //<< "Main Parameter Set ID=" << mainParameterSetID(); }
std::string edm::ModuleDescription::moduleLabel_ [private] |
Definition at line 76 of file ModuleDescription.h.
Referenced by moduleLabel().
std::string edm::ModuleDescription::moduleName_ [private] |
Definition at line 72 of file ModuleDescription.h.
Referenced by moduleName().
Definition at line 69 of file ModuleDescription.h.
Referenced by parameterSetID().
ProcessConfiguration const* edm::ModuleDescription::processConfigurationPtr_ [private] |
Definition at line 79 of file ModuleDescription.h.
Referenced by processConfiguration().