Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /* \class LargestPtTrackSelector
0002  *
0003  * selects the N track with largest pt
0004  *
0005  * \author: Luca Lista, INFN
0006  *
0007  */
0008 #include "FWCore/Framework/interface/MakerMacros.h"
0009 #include "CommonTools/UtilAlgos/interface/ObjectSelector.h"
0010 #include "CommonTools/UtilAlgos/interface/SortCollectionSelector.h"
0011 #include "DataFormats/TrackReco/interface/Track.h"
0012 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0013 #include "CommonTools/Utils/interface/PtComparator.h"
0014 
0015 typedef ObjectSelector<SortCollectionSelector<reco::TrackCollection, GreaterByPt<reco::Track> > > LargestPtTrackSelector;
0016 
0017 DEFINE_FWK_MODULE(LargestPtTrackSelector);