00001 /* \class StatusCandSelector 00002 * 00003 * Candidate Selector based on the status 00004 * Usage: 00005 * 00006 * module leptons = StatusCandSelector { 00007 * InputTag src = myCollection 00008 * vint32 status = { 1 } 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/StatusSelector.h" 00017 #include "DataFormats/Candidate/interface/Candidate.h" 00018 00019 typedef SingleObjectSelector< 00020 reco::CandidateCollection, 00021 StatusSelector 00022 > StatusCandSelector; 00023 00024 DEFINE_FWK_MODULE( StatusCandSelector );