Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /* \class PtMinCandSelector

0002  * 

0003  * Candidate Selector based on a minimum pt cut.

0004  * Usage:

0005  * 

0006  * module selectedCands = PtMinCandSelector {

0007  *   InputTag src = myCollection

0008  *   double ptMin = 15.0

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/PtMinSelector.h"
0017 #include "DataFormats/Candidate/interface/Candidate.h"
0018 
0019 typedef SingleObjectSelector<reco::CandidateCollection, PtMinSelector> PtMinCandSelector;
0020 
0021 DEFINE_FWK_MODULE(PtMinCandSelector);