CMS 3D CMS Logo

HierarchicalAlgorithms.h
Go to the documentation of this file.
1 #ifndef Integration_HierarchicalAlgorithms_h
2 #define Integration_HierarchicalAlgorithms_h
3 
8 #include <vector>
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:
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_;
33  };
34 
35 } // namespace edmtest
36 
37 #endif
alg_2(const edm::ParameterSet &ps)
ParameterSet const & getParameterSet(ParameterSetID const &id)
alg_1(const edm::ParameterSet &ps)
std::string & flavor()