CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | 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 >

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

Definition at line 41 of file ComponentMaker.h.

41 {}

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_.

12 {
13  ComponentDescription description;
14  description.type_ = iConfiguration.getParameter<std::string>("@module_type");
15  description.label_ = iConfiguration.getParameter<std::string>("@module_label");
16 
17  description.pid_ = iConfiguration.id();
18  return description;
19 }
tuple description
Definition: idDealer.py:66
void edm::eventsetup::ComponentMakerBaseHelper::logInfoWhenSharing ( ParameterSet const &  iConfiguration) const
protected

Definition at line 23 of file ComponentMaker.cc.

References edm::ParameterSet::getParameter(), and diffTwoXMLs::label.

23  {
24 
25  std::string edmtype = iConfiguration.getParameter<std::string>("@module_edm_type");
26  std::string modtype = iConfiguration.getParameter<std::string>("@module_type");
27  std::string label = iConfiguration.getParameter<std::string>("@module_label");
28  edm::LogInfo("EventSetupSharing") << "Sharing " << edmtype << ": class=" << modtype << " label='" << label << "'";
29 }