Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-26 03:15:36

0001 #ifndef UtilAlgos_MinSelector_h
0002 #define UtilAlgos_MinSelector_h
0003 #include "CommonTools/UtilAlgos/interface/ParameterAdapter.h"
0004 #include "CommonTools/Utils/interface/MinSelector.h"
0005 
0006 namespace reco {
0007   namespace modules {
0008 
0009     template <typename T>
0010     struct ParameterAdapter<MinSelector<T> > {
0011       static MinSelector<T> make(const edm::ParameterSet& cfg) {
0012         return MinSelector<T>(cfg.template getParameter<double>("min"));
0013       }
0014     };
0015 
0016   }  // namespace modules
0017 }  // namespace reco
0018 
0019 #endif