00001 /* \class DummyCandSelector 00002 * 00003 * Dummy Candidate selector module 00004 * 00005 * module allCands = DummyCandSelector { 00006 * InputTag src = myCollection 00007 * }; 00008 * 00009 * \author: Luca Lista, INFN 00010 * 00011 */ 00012 #include "FWCore/Framework/interface/MakerMacros.h" 00013 #include "PhysicsTools/UtilAlgos/interface/SingleObjectSelector.h" 00014 #include "PhysicsTools/UtilAlgos/interface/DummySelector.h" 00015 #include "PhysicsTools/UtilAlgos/interface/FreeFunctionSelector.h" 00016 #include "DataFormats/Candidate/interface/Candidate.h" 00017 00018 typedef SingleObjectSelector< 00019 reco::CandidateView, 00020 DummySelector 00021 > DummyCandSelector; 00022 00023 typedef SingleObjectSelector< 00024 reco::CandidateView, 00025 FreeFunctionSelector<reco::Candidate, dummy::select> 00026 > DummyFunCandSelector; 00027 00028 DEFINE_FWK_MODULE( DummyCandSelector ); 00029 DEFINE_FWK_MODULE( DummyFunCandSelector );