CMS 3D CMS Logo

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
 

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.

References createComponentDescription().

41 {}

Member Function Documentation

ComponentDescription edm::eventsetup::ComponentMakerBaseHelper::createComponentDescription ( ParameterSet const &  iConfiguration) const
protected

Definition at line 10 of file ComponentMaker.cc.

References heppy_report::description, edm::ParameterSet::getParameter(), edm::ParameterSet::id(), edm::eventsetup::ComponentDescription::label_, edm::eventsetup::ComponentDescription::pid_, AlCaHLTBitMon_QueryRunRegistry::string, and edm::eventsetup::ComponentDescription::type_.

Referenced by edm::eventsetup::ComponentMaker< T, TComponent >::addTo(), and ~ComponentMakerBaseHelper().

11 {
12  ComponentDescription description;
13  description.type_ = iConfiguration.getParameter<std::string>("@module_type");
14  description.label_ = iConfiguration.getParameter<std::string>("@module_label");
15 
16  description.pid_ = iConfiguration.id();
17  return description;
18 }