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) const
void logInfoWhenSharing (ParameterSet const &iConfiguration) const

Detailed Description

Definition at line 38 of file ComponentMaker.h.


Constructor & Destructor Documentation

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

Definition at line 41 of file ComponentMaker.h.

{}

Member Function Documentation

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 << "'";
}