CMS 3D CMS Logo

Public Member Functions | Protected Member Functions

edm::eventsetup::ComponentMakerBaseHelper Class Reference

#include <ComponentMaker.h>

Inheritance diagram for edm::eventsetup::ComponentMakerBaseHelper:
edm::eventsetup::ComponentMakerBase< edm::eventsetup::LooperMakerTraits > edm::eventsetup::ComponentMakerBase< edm::eventsetup::ModuleMakerTraits > edm::eventsetup::ComponentMakerBase< edm::eventsetup::SourceMakerTraits > edm::eventsetup::ComponentMakerBase< T > edm::eventsetup::ComponentMaker< edm::eventsetup::LooperMakerTraits, TType > edm::eventsetup::ComponentMaker< edm::eventsetup::ModuleMakerTraits, TType > edm::eventsetup::ComponentMaker< edm::eventsetup::SourceMakerTraits, TType > edm::eventsetup::ComponentMaker< T, TComponent > edm::eventsetup::LooperMaker< TType > edm::eventsetup::ModuleMaker< TType > edm::eventsetup::SourceMaker< TType >

List of all members.

Public Member Functions

virtual ~ComponentMakerBaseHelper ()

Protected Member Functions

ComponentDescription createComponentDescription (ParameterSet const &iConfiguration, std::string const &iProcessName, ReleaseVersion const &iVersion, PassID const &iPass) const

Detailed Description

Definition at line 37 of file ComponentMaker.h.


Constructor & Destructor Documentation

virtual edm::eventsetup::ComponentMakerBaseHelper::~ComponentMakerBaseHelper ( ) [inline, virtual]

Definition at line 40 of file ComponentMaker.h.

{}

Member Function Documentation

ComponentDescription edm::eventsetup::ComponentMakerBaseHelper::createComponentDescription ( ParameterSet const &  iConfiguration,
std::string const &  iProcessName,
ReleaseVersion const &  iVersion,
PassID const &  iPass 
) const [protected]

Definition at line 8 of file ComponentMaker.cc.

References idDealer::description, edm::ParameterSet::getParameter(), edm::ParameterSet::id(), edm::eventsetup::ComponentDescription::label_, edm::eventsetup::ComponentDescription::passID_, edm::eventsetup::ComponentDescription::pid_, edm::eventsetup::ComponentDescription::processName_, edm::eventsetup::ComponentDescription::releaseVersion_, and edm::eventsetup::ComponentDescription::type_.

{
  ComponentDescription description;
  description.type_  = iConfiguration.getParameter<std::string>("@module_type");
  description.label_ = iConfiguration.getParameter<std::string>("@module_label");

  description.releaseVersion_ = iVersion;
  description.pid_            = iConfiguration.id();
  description.processName_    = iProcessName;
  description.passID_         = iPass;
  return description;
}