#include <ComponentMaker.h>
Public Member Functions | |
virtual | ~ComponentMakerBaseHelper () |
Protected Member Functions | |
ComponentDescription | createComponentDescription (ParameterSet const &iConfiguration) const |
void | logInfoWhenSharing (ParameterSet const &iConfiguration) const |
Definition at line 38 of file ComponentMaker.h.
virtual edm::eventsetup::ComponentMakerBaseHelper::~ComponentMakerBaseHelper | ( | ) | [inline, virtual] |
Definition at line 41 of file ComponentMaker.h.
{}
ComponentDescription edm::eventsetup::ComponentMakerBaseHelper::createComponentDescription | ( | ParameterSet const & | iConfiguration | ) | const [protected] |
Definition at line 11 of file ComponentMaker.cc.
References idDealer::description, edm::ParameterSet::getParameter(), edm::ParameterSet::id(), edm::eventsetup::ComponentDescription::label_, edm::eventsetup::ComponentDescription::pid_, and edm::eventsetup::ComponentDescription::type_.
{ ComponentDescription description; description.type_ = iConfiguration.getParameter<std::string>("@module_type"); description.label_ = iConfiguration.getParameter<std::string>("@module_label"); description.pid_ = iConfiguration.id(); return description; }
void edm::eventsetup::ComponentMakerBaseHelper::logInfoWhenSharing | ( | ParameterSet const & | iConfiguration | ) | const [protected] |
Definition at line 23 of file ComponentMaker.cc.
References edm::ParameterSet::getParameter(), and label.
{ std::string edmtype = iConfiguration.getParameter<std::string>("@module_edm_type"); std::string modtype = iConfiguration.getParameter<std::string>("@module_type"); std::string label = iConfiguration.getParameter<std::string>("@module_label"); edm::LogInfo("EventSetupSharing") << "Sharing " << edmtype << ": class=" << modtype << " label='" << label << "'"; }