CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ComponentMaker.cc
Go to the documentation of this file.
3 
4 #include <string>
5 #include <atomic>
6 
7 namespace edm {
8  namespace eventsetup {
9 
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  }
21 
22  } // namespace eventsetup
23 } // namespace edm
ParameterSetID id() const
static const edm::ProductID s_id
Definition: EventBase.cc:27
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ComponentDescription createComponentDescription(ParameterSet const &iConfiguration) const