CommonTools
RecoAlgos
plugins
LargestPtTrackSelector.cc
Go to the documentation of this file.
1
/* \class LargestPtTrackSelector
2
*
3
* selects the N track with largest pt
4
*
5
* \author: Luca Lista, INFN
6
*
7
*/
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
#include "
CommonTools/UtilAlgos/interface/ObjectSelector.h
"
10
#include "
CommonTools/UtilAlgos/interface/SortCollectionSelector.h
"
11
#include "
DataFormats/TrackReco/interface/Track.h
"
12
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
13
#include "
CommonTools/Utils/interface/PtComparator.h
"
14
15
typedef
ObjectSelector<SortCollectionSelector<reco::TrackCollection, GreaterByPt<reco::Track>
> >
LargestPtTrackSelector
;
16
17
DEFINE_FWK_MODULE
(
LargestPtTrackSelector
);
ObjectSelector.h
LargestPtTrackSelector
ObjectSelector< SortCollectionSelector< reco::TrackCollection, GreaterByPt< reco::Track > > > LargestPtTrackSelector
Definition:
LargestPtTrackSelector.cc:15
PtComparator.h
MakerMacros.h
Track.h
TrackFwd.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
ObjectSelector
Definition:
ObjectSelector.h:39
SortCollectionSelector.h
Generated for CMSSW Reference Manual by
1.8.16