CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AndPairSelector.h
Go to the documentation of this file.
1 #ifndef UtilAlgos_AndPairSelector_h
2 #define UtilAlgos_AndPairSelector_h
5 
6 namespace reco {
7  namespace modules {
8 
9  template<typename S1, typename S2>
10  struct ParameterAdapter<AndPairSelector<S1, S2> > {
12  return AndPairSelector<S1, S2>(modules::make<S1>(cfg.getParameter<edm::ParameterSet>("cut1")),
13  modules::make<S2>(cfg.getParameter<edm::ParameterSet>("cut2")));
14  }
15  };
16 
17  }
18 }
19 
20 #endif
21 
T getParameter(std::string const &) const
static AndPairSelector< S1, S2 > make(const edm::ParameterSet &cfg)
tuple cfg
Definition: looper.py:293