CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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
 

Detailed Description

Definition at line 38 of file ComponentMaker.h.

Constructor & Destructor Documentation

virtual edm::eventsetup::ComponentMakerBaseHelper::~ComponentMakerBaseHelper ( )
inlinevirtual

Definition at line 40 of file ComponentMaker.h.

40 {}

Member Function Documentation

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

Definition at line 10 of file ComponentMaker.cc.

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

10  {
11  ComponentDescription description;
12  description.type_ = iConfiguration.getParameter<std::string>("@module_type");
13  description.label_ = iConfiguration.getParameter<std::string>("@module_label");
14 
15  description.pid_ = iConfiguration.id();
16  static std::atomic<unsigned int> s_id{0};
17  description.id_ = s_id++;
18 
19  return description;
20  }
static const edm::ProductID s_id
Definition: EventBase.cc:27