FWCore
Framework
src
ComponentMaker.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/ComponentMaker.h
"
2
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
3
4
#include <string>
5
#include <atomic>
6
7
namespace
edm
{
8
namespace
eventsetup {
9
10
ComponentDescription
ComponentMakerBaseHelper::createComponentDescription
(
ParameterSet
const
& iConfiguration)
const
{
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
}
21
22
}
// namespace eventsetup
23
}
// namespace edm
edmLumisInFiles.description
description
Definition:
edmLumisInFiles.py:11
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
edm::eventsetup::ComponentMakerBaseHelper::createComponentDescription
ComponentDescription createComponentDescription(ParameterSet const &iConfiguration) const
Definition:
ComponentMaker.cc:10
ComponentMaker.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
edm::ParameterSet::id
ParameterSetID id() const
Definition:
ParameterSet.cc:189
s_id
static const edm::ProductID s_id
Definition:
EventBase.cc:27
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::eventsetup::ComponentDescription
Definition:
ComponentDescription.h:30
Generated for CMSSW Reference Manual by
1.8.14