#include <ComponentMaker.h>
Public Member Functions | |
virtual | ~ComponentMakerBaseHelper () |
Protected Member Functions | |
ComponentDescription | createComponentDescription (ParameterSet const &iConfiguration, std::string const &iProcessName, ReleaseVersion const &iVersion, PassID const &iPass) const |
Definition at line 37 of file ComponentMaker.h.
virtual edm::eventsetup::ComponentMakerBaseHelper::~ComponentMakerBaseHelper | ( | ) | [inline, virtual] |
Definition at line 40 of file ComponentMaker.h.
{}
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; }