Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /* \class PdgIdCandSelector

0002  * 

0003  * Candidate Selector based on a pdgId set

0004  * Usage:

0005  * 

0006  * module leptons = PdgIdCandSelector {

0007  *   InputTag src = myCollection

0008  *   vint32 pdgId = { 11, 13 }

0009  * };

0010  *

0011  * \author: Luca Lista, INFN

0012  *

0013  */
0014 #include "FWCore/Framework/interface/MakerMacros.h"
0015 #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h"
0016 #include "CommonTools/UtilAlgos/interface/PdgIdSelector.h"
0017 #include "DataFormats/Candidate/interface/Candidate.h"
0018 
0019 typedef SingleObjectSelector<reco::CandidateCollection, PdgIdSelector> PdgIdCandSelector;
0020 
0021 DEFINE_FWK_MODULE(PdgIdCandSelector);