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 42 of file ComponentMaker.h.

Constructor & Destructor Documentation

◆ ~ComponentMakerBaseHelper()

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

Definition at line 44 of file ComponentMaker.h.

44 {}

Member Function Documentation

◆ createComponentDescription()

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

Definition at line 10 of file ComponentMaker.cc.

References makeListRunsInFiles::description, edm::ParameterSet::getParameter(), edm::ParameterSet::id(), s_id, and AlCaHLTBitMon_QueryRunRegistry::string.

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