CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::ModuleDescription Class Reference

#include <ModuleDescription.h>

List of all members.

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_

Detailed Description

Definition at line 23 of file ModuleDescription.h.


Constructor & Destructor Documentation

edm::ModuleDescription::ModuleDescription ( )
edm::ModuleDescription::ModuleDescription ( std::string const &  modName,
std::string const &  modLabel 
)

Definition at line 37 of file ModuleDescription.cc.

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.

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.

{}

Member Function Documentation

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::PathTimerService::postModule(), edm::service::Timing::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::RandomNumberGeneratorService::postModuleConstruction(), edm::service::SimpleMemoryCheck::postModuleConstruction(), edm::service::RandomNumberGeneratorService::postModuleEndJob(), edm::service::Tracer::postModuleEndJob(), edm::service::RandomNumberGeneratorService::postModuleEndLumi(), edm::service::Tracer::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::rootfix::LockService::preSourceConstruction(), edm::service::SimpleMemoryCheck::preSourceConstruction(), edm::StreamerOutputModuleBase::serializeRegistry(), TFileService::setDirectoryName(), edm::OutputModule::setEventSelectionInfo(), edm::Maker::throwConfigurationException(), and write().

{return moduleLabel_;}
std::string const& edm::ModuleDescription::moduleName ( ) const [inline]
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
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
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();
  }

Member Data Documentation

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

Definition at line 79 of file ModuleDescription.h.

Referenced by processConfiguration().