src
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
SortCollectionSelector.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
MakerMacros.h
ObjectSelector.h
TrackFwd.h
PtComparator.h
LargestPtTrackSelector
ObjectSelector< SortCollectionSelector< reco::TrackCollection, GreaterByPt< reco::Track > > > LargestPtTrackSelector
Definition:
LargestPtTrackSelector.cc:15
Track.h
Generated for CMSSW Reference Manual by
1.8.14