00001 /* \class PtMinCandSelector 00002 * 00003 * Candidate Selector based on a minimum pt cut. 00004 * Usage: 00005 * 00006 * module selectedCands = PtMinCandSelector { 00007 * InputTag src = myCollection 00008 * double ptMin = 15.0 00009 * }; 00010 * 00011 * \author: Luca Lista, INFN 00012 * 00013 */ 00014 #include "FWCore/Framework/interface/MakerMacros.h" 00015 #include "PhysicsTools/UtilAlgos/interface/SingleObjectSelector.h" 00016 #include "PhysicsTools/UtilAlgos/interface/PtMinSelector.h" 00017 #include "DataFormats/Candidate/interface/Candidate.h" 00018 00019 typedef SingleObjectSelector< 00020 reco::CandidateCollection, 00021 PtMinSelector 00022 > PtMinCandSelector; 00023 00024 DEFINE_FWK_MODULE( PtMinCandSelector );