00001 #ifndef UtilAlgos_FunctionMinSelectorHeepSkim_h 00002 #define UtilAlgos_FunctionMinSelectorHeepSkim_h 00003 00004 00005 #include "PhysicsTools/UtilAlgos/interface/ParameterAdapter.h" 00006 #include "SUSYBSMAnalysis/CSA07Skims/interface/FunctionMinSelectorHeepSkim.h" 00007 #include "SUSYBSMAnalysis/CSA07Skims/interface/SuperClusterEtHeepSkim.h" 00008 00009 namespace reco { 00010 namespace modules { 00011 typedef FunctionMinSelectorHeepSkim<SuperClusterEtHeepSkim> EtMinSuperClusterSelectorHeepSkim; 00012 00013 template<> 00014 struct ParameterAdapter<EtMinSuperClusterSelectorHeepSkim> { 00015 static EtMinSuperClusterSelectorHeepSkim make( 00016 const edm::ParameterSet & cfg ) { 00017 return EtMinSuperClusterSelectorHeepSkim( cfg.getParameter<double>( "etMin" ) ); 00018 } 00019 }; 00020 00021 } 00022 } 00023 00024 #endif