CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::ModuleDescription Class Reference

#include <ModuleDescription.h>

Public Member Functions

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)
 
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_
 

Detailed Description

Definition at line 23 of file ModuleDescription.h.

Constructor & Destructor Documentation

edm::ModuleDescription::ModuleDescription ( )

Definition at line 12 of file ModuleDescription.cc.

12  :
14  moduleName_(),
15  moduleLabel_(),
ProcessConfiguration const * processConfigurationPtr_
ParameterSetID parameterSetID_
edm::ModuleDescription::ModuleDescription ( std::string const &  modName,
std::string const &  modLabel 
)

Definition at line 37 of file ModuleDescription.cc.

39  :
41  moduleName_(modName),
42  moduleLabel_(modLabel),
ProcessConfiguration const * processConfigurationPtr_
ParameterSetID parameterSetID_
edm::ModuleDescription::ModuleDescription ( std::string const &  modName,
std::string const &  modLabel,
ProcessConfiguration const *  procConfig 
)

Definition at line 45 of file ModuleDescription.cc.

48  :
50  moduleName_(modName),
51  moduleLabel_(modLabel),
52  processConfigurationPtr_(procConfig) {}
ProcessConfiguration const * processConfigurationPtr_
ParameterSetID parameterSetID_
edm::ModuleDescription::ModuleDescription ( ParameterSetID const &  pid,
std::string const &  modName,
std::string const &  modLabel 
)

Definition at line 18 of file ModuleDescription.cc.

21  :
23  moduleName_(modName),
24  moduleLabel_(modLabel),
ProcessConfiguration const * processConfigurationPtr_
ParameterSetID parameterSetID_
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.

31  :
33  moduleName_(modName),
34  moduleLabel_(modLabel),
35  processConfigurationPtr_(procConfig) {}
ProcessConfiguration const * processConfigurationPtr_
ParameterSetID parameterSetID_
edm::ModuleDescription::~ModuleDescription ( )

Definition at line 54 of file ModuleDescription.cc.

54 {}

Member Function Documentation

ParameterSetID const & edm::ModuleDescription::mainParameterSetID ( ) const

Definition at line 82 of file ModuleDescription.cc.

References edm::ProcessConfiguration::parameterSetID(), and processConfiguration().

82  {
84  }
ParameterSetID const & parameterSetID() const
ProcessConfiguration const & processConfiguration() const
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(), evf::TimeProfilerService::postModule(), edm::service::PathTimerService::postModule(), edm::service::Timing::postModule(), edm::service::SimpleMemoryCheck::postModule(), FastTimerService::postModule(), edm::service::Tracer::postModuleBeginJob(), edm::service::SimpleMemoryCheck::postModuleBeginJob(), edm::service::RandomNumberGeneratorService::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::Tracer::postModuleEndJob(), edm::service::RandomNumberGeneratorService::postModuleEndJob(), edm::service::Tracer::postModuleEndLumi(), edm::service::RandomNumberGeneratorService::postModuleEndLumi(), edm::service::Tracer::postModuleEndRun(), edm::service::RandomNumberGeneratorService::postModuleEndRun(), edm::service::Tracer::postModuleEvent(), edm::service::SimpleMemoryCheck::postSourceConstruction(), edm::service::EnableFloatingPointExceptions::preActions(), evf::Stepper::preModule(), evf::MicroStateService::preModule(), edm::rootfix::LockService::preModule(), InputTagDistributorService::preModule(), VariableHelperService::preModule(), edm::service::RandomNumberGeneratorService::preModule(), edm::service::Tracer::preModuleBeginJob(), edm::service::RandomNumberGeneratorService::preModuleBeginJob(), FastTimerService::preModuleBeginJob(), edm::service::Tracer::preModuleBeginLumi(), edm::service::RandomNumberGeneratorService::preModuleBeginLumi(), edm::service::Tracer::preModuleBeginRun(), edm::service::RandomNumberGeneratorService::preModuleBeginRun(), edm::service::Tracer::preModuleConstruction(), edm::service::RandomNumberGeneratorService::preModuleConstruction(), edm::service::Tracer::preModuleEndJob(), edm::service::RandomNumberGeneratorService::preModuleEndJob(), edm::service::Tracer::preModuleEndLumi(), edm::service::RandomNumberGeneratorService::preModuleEndLumi(), edm::service::Tracer::preModuleEndRun(), edm::service::RandomNumberGeneratorService::preModuleEndRun(), edm::service::Tracer::preModuleEvent(), edm::rootfix::LockService::preSourceConstruction(), edm::service::SimpleMemoryCheck::preSourceConstruction(), FastTimerService::queryModuleTime(), edm::StreamerOutputModuleBase::serializeRegistry(), TFileService::setDirectoryName(), edm::OutputModule::setEventSelectionInfo(), edm::Maker::throwConfigurationException(), and write().

50 {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<(), FWPathsPopup::postModule(), edm::service::Timing::postModule(), edm::service::SimpleMemoryCheck::postModule(), edm::service::SimpleMemoryCheck::postModuleBeginJob(), edm::service::RandomNumberGeneratorService::postModuleBeginJob(), edm::service::RandomNumberGeneratorService::postModuleBeginRun(), edm::service::SimpleMemoryCheck::postModuleConstruction(), edm::service::RandomNumberGeneratorService::postModuleConstruction(), edm::service::RandomNumberGeneratorService::postModuleEndJob(), edm::service::RandomNumberGeneratorService::postModuleEndLumi(), edm::service::RandomNumberGeneratorService::postModuleEndRun(), edm::service::Tracer::postSourceConstruction(), edm::service::SimpleMemoryCheck::postSourceConstruction(), FWPathsPopup::preModule(), evf::Stepper::preModule(), FastTimerService::preModuleBeginJob(), edm::service::Tracer::preSourceConstruction(), edm::service::SimpleMemoryCheck::preSourceConstruction(), TFileService::setDirectoryName(), edm::Maker::throwConfigurationException(), and write().

49 {return moduleName_;}
bool edm::ModuleDescription::operator!= ( ModuleDescription const &  rh) const

Definition at line 108 of file ModuleDescription.cc.

108  {
109  return !((*this) == rh);
110  }
bool edm::ModuleDescription::operator< ( ModuleDescription const &  rh) const

Definition at line 87 of file ModuleDescription.cc.

References moduleLabel(), moduleName(), parameterSetID(), passID(), processName(), and releaseVersion().

87  {
88  if (moduleLabel() < rh.moduleLabel()) return true;
89  if (rh.moduleLabel() < moduleLabel()) return false;
90  if (processName() < rh.processName()) return true;
91  if (rh.processName() < processName()) return false;
92  if (moduleName() < rh.moduleName()) return true;
93  if (rh.moduleName() < moduleName()) return false;
94  if (parameterSetID() < rh.parameterSetID()) return true;
95  if (rh.parameterSetID() < parameterSetID()) return false;
96  if (releaseVersion() < rh.releaseVersion()) return true;
97  if (rh.releaseVersion() < releaseVersion()) return false;
98  if (passID() < rh.passID()) return true;
99  return false;
100  }
std::string const & processName() const
std::string const & moduleName() const
std::string const & passID() const
std::string const & moduleLabel() const
std::string const & releaseVersion() const
ParameterSetID const & parameterSetID() const
bool edm::ModuleDescription::operator== ( ModuleDescription const &  rh) const

Definition at line 103 of file ModuleDescription.cc.

103  {
104  return !((*this) < rh || rh < (*this));
105  }
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().

48 {return parameterSetID_;}
ParameterSetID 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<().

77  {
78  return processConfiguration().passID();
79  }
PassID const & passID() const
ProcessConfiguration const & processConfiguration() const
ProcessConfiguration const & edm::ModuleDescription::processConfiguration ( ) const
ProcessConfigurationID edm::ModuleDescription::processConfigurationID ( ) const

Definition at line 62 of file ModuleDescription.cc.

References edm::ProcessConfiguration::id(), and processConfiguration().

62  {
63  return processConfiguration().id();
64  }
ProcessConfigurationID id() const
ProcessConfiguration const & processConfiguration() const
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<().

67  {
69  }
std::string const & processName() const
ProcessConfiguration const & processConfiguration() const
std::string const & edm::ModuleDescription::releaseVersion ( ) const

Definition at line 72 of file ModuleDescription.cc.

References processConfiguration(), and edm::ProcessConfiguration::releaseVersion().

Referenced by operator<().

72  {
74  }
ReleaseVersion const & releaseVersion() const
ProcessConfiguration const & processConfiguration() const
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<<().

113  {
114  os << "Module type=" << moduleName() << ", "
115  << "Module label=" << moduleLabel() << ", "
116  << "Parameter Set ID=" << parameterSetID();
117  //<< "Parameter Set ID=" << parameterSetID() << ", "
118  //<< "Process name=" << processName() << ", "
119  //<< "Release Version=" << releaseVersion() << ", "
120  //<< "Pass ID=" << passID() << ", "
121  //<< "Main Parameter Set ID=" << mainParameterSetID();
122  }
std::string const & moduleName() const
std::string const & moduleLabel() const
ParameterSetID const & parameterSetID() const

Member Data Documentation

std::string edm::ModuleDescription::moduleLabel_
private
std::string edm::ModuleDescription::moduleName_
private

Definition at line 72 of file ModuleDescription.h.

Referenced by moduleName().

ParameterSetID edm::ModuleDescription::parameterSetID_
private

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().