FWCore
Integration
plugins
HierarchicalAlgorithms.h
Go to the documentation of this file.
1
#ifndef Integration_HierarchicalAlgorithms_h
2
#define Integration_HierarchicalAlgorithms_h
3
8
#include <vector>
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
11
namespace
edmtest
{
12
13
class
alg_2
{
14
public
:
15
explicit
alg_2
(
const
edm::ParameterSet
& ps)
16
:
flavor_
(ps.getParameter<
std
::
string
>(
"flavor"
)),
debugLevel_
(ps.getUntrackedParameter<
int
>(
"debug"
, 0)) {}
17
18
std::string
&
flavor
() {
return
flavor_
; }
19
20
private
:
21
std::string
flavor_
;
22
int
debugLevel_
;
23
};
24
25
class
alg_1
{
26
public
:
27
explicit
alg_1
(
const
edm::ParameterSet
& ps)
28
:
count_
(ps.getParameter<
int
>(
"count"
)),
inner_alg_
(ps.
getParameterSet
(
"nest_2"
)) {}
29
30
private
:
31
int
count_
;
32
alg_2
inner_alg_
;
33
};
34
35
}
// namespace edmtest
36
37
#endif
edmtest::alg_2::alg_2
alg_2(const edm::ParameterSet &ps)
Definition:
HierarchicalAlgorithms.h:15
std
Definition:
JetResolutionObject.h:76
edmtest::alg_1::inner_alg_
alg_2 inner_alg_
Definition:
HierarchicalAlgorithms.h:32
edmtest
Definition:
AlignPCLThresholdsReader.cc:15
edmtest::alg_1::count_
int count_
Definition:
HierarchicalAlgorithms.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
createfilelist.int
int
Definition:
createfilelist.py:10
edmtest::alg_1
Definition:
HierarchicalAlgorithms.h:25
edmtest::alg_2::flavor_
std::string flavor_
Definition:
HierarchicalAlgorithms.h:21
edmtest::alg_2
Definition:
HierarchicalAlgorithms.h:13
edm::getParameterSet
ParameterSet const & getParameterSet(ParameterSetID const &id)
Definition:
ParameterSet.cc:862
edmtest::alg_1::alg_1
alg_1(const edm::ParameterSet &ps)
Definition:
HierarchicalAlgorithms.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
edmtest::alg_2::flavor
std::string & flavor()
Definition:
HierarchicalAlgorithms.h:18
edmtest::alg_2::debugLevel_
int debugLevel_
Definition:
HierarchicalAlgorithms.h:22
Generated for CMSSW Reference Manual by
1.8.14