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
6
namespace
edm
{
7
namespace
eventsetup {
8
9
ComponentDescription
ComponentMakerBaseHelper::createComponentDescription
(
ParameterSet
const
& iConfiguration)
const
{
10
ComponentDescription
description
;
11
description
.type_ = iConfiguration.
getParameter
<
std::string
>(
"@module_type"
);
12
description
.label_ = iConfiguration.
getParameter
<
std::string
>(
"@module_label"
);
13
14
description
.pid_ = iConfiguration.
id
();
15
return
description
;
16
}
17
18
}
// namespace eventsetup
19
}
// namespace edm
edm
HLT enums.
Definition:
AlignableModifier.h:19
edmLumisInFiles.description
description
Definition:
edmLumisInFiles.py:11
edm::ParameterSet::id
ParameterSetID id() const
Definition:
ParameterSet.cc:182
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::eventsetup::ComponentDescription
Definition:
ComponentDescription.h:30
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::eventsetup::ComponentMakerBaseHelper::createComponentDescription
ComponentDescription createComponentDescription(ParameterSet const &iConfiguration) const
Definition:
ComponentMaker.cc:9
ParameterSet.h
ComponentMaker.h
Generated for CMSSW Reference Manual by
1.8.16