Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
namespace
edm {
5
namespace
eventsetup {
6
7
ComponentDescription
8
ComponentMakerBaseHelper::createComponentDescription
(
ParameterSet
const
& iConfiguration,
9
std::string
const
& iProcessName,
10
ReleaseVersion
const
& iVersion,
11
PassID
const
& iPass)
const
12
{
13
ComponentDescription
description
;
14
description.
type_
= iConfiguration.
getParameter
<std::string>(
"@module_type"
);
15
description.
label_
= iConfiguration.
getParameter
<std::string>(
"@module_label"
);
16
17
description.
releaseVersion_
= iVersion;
18
description.
pid_
= iConfiguration.
id
();
19
description.
processName_
= iProcessName;
20
description.
passID_
= iPass;
21
return
description
;
22
}
23
24
}
// namespace eventsetup
25
}
// namespace edm
edm::eventsetup::ComponentDescription::label_
std::string label_
Definition:
ComponentDescription.h:34
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
ComponentMaker.h
edm::ParameterSet::id
ParameterSetID id() const
Definition:
ParameterSet.cc:148
edm::eventsetup::ComponentDescription::pid_
ParameterSetID pid_
Definition:
ComponentDescription.h:44
edm::eventsetup::ComponentDescription::processName_
std::string processName_
Definition:
ComponentDescription.h:50
edm::eventsetup::ComponentDescription::releaseVersion_
ReleaseVersion releaseVersion_
Definition:
ComponentDescription.h:47
ParameterSet.h
ComponentDescription
edm::eventsetup::ComponentMakerBaseHelper::createComponentDescription
ComponentDescription createComponentDescription(ParameterSet const &iConfiguration, std::string const &iProcessName, ReleaseVersion const &iVersion, PassID const &iPass) const
Definition:
ComponentMaker.cc:8
edm::eventsetup::ComponentDescription::passID_
PassID passID_
Definition:
ComponentDescription.h:54
idDealer.description
tuple description
Definition:
idDealer.py:66
edm::eventsetup::ComponentDescription::type_
std::string type_
Definition:
ComponentDescription.h:35
edm::ReleaseVersion
std::string ReleaseVersion
Definition:
ReleaseVersion.h:7
edm::ParameterSet
Definition:
ParameterSet.h:31
edm::eventsetup::ComponentDescription
Definition:
ComponentDescription.h:33
edm::PassID
std::string PassID
Definition:
PassID.h:8
Generated for CMSSW Reference Manual by
1.8.5