CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/CommonTools/RecoAlgos/plugins/EtMinSuperClusterSelector.h

Go to the documentation of this file.
00001 #ifndef UtilAlgos_FunctionMinSelector_h
00002 #define UtilAlgos_FunctionMinSelector_h
00003 
00004 #include "CommonTools/UtilAlgos/interface/ParameterAdapter.h"
00005 #include "CommonTools/Utils/interface/FunctionMinSelector.h"
00006 #include "CommonTools/RecoAlgos/plugins/SuperClusterEt.h"
00007 
00008 namespace reco {
00009    namespace modules {
00010      typedef FunctionMinSelector<SuperClusterEt> EtMinSuperClusterSelector;
00011 
00012      template<>
00013      struct ParameterAdapter<EtMinSuperClusterSelector> {
00014        static EtMinSuperClusterSelector make(
00015          const edm::ParameterSet & cfg ) {
00016          return EtMinSuperClusterSelector( cfg.getParameter<double>( "etMin" ) );
00017        }
00018      };
00019 
00020    }
00021 }
00022 
00023 #endif