Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:02

0001 /* \class PdgIdCandExcluder
0002  * 
0003  * Candidate Excluder based on a pdgId set
0004  * Usage:
0005  * 
0006  * module allExceptLeptons = PdgIdCandExcluder {
0007  *   InputTag src = myCollection
0008  *   vint32 pdgId = { 11, 13 }
0009  * };
0010  *
0011  * \author: Loic Quertenmont, UCL
0012  *
0013  */
0014 #include "FWCore/Framework/interface/MakerMacros.h"
0015 #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h"
0016 #include "CommonTools/UtilAlgos/interface/PdgIdExcluder.h"
0017 #include "DataFormats/Candidate/interface/Candidate.h"
0018 
0019 typedef SingleObjectSelector<reco::CandidateCollection, PdgIdExcluder> PdgIdCandExcluder;
0020 
0021 DEFINE_FWK_MODULE(PdgIdCandExcluder);