test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
<
16
SortCollectionSelector
<
17
reco::TrackCollection
,
18
GreaterByPt<reco::Track>
19
>
20
>
LargestPtTrackSelector
;
21
22
DEFINE_FWK_MODULE
(
LargestPtTrackSelector
);
ObjectSelector
Definition:
ObjectSelector.h:39
SortCollectionSelector.h
LargestPtTrackSelector
ObjectSelector< SortCollectionSelector< reco::TrackCollection, GreaterByPt< reco::Track > > > LargestPtTrackSelector
Definition:
LargestPtTrackSelector.cc:20
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
TrackFwd.h
PtComparator.h
GreaterByPt
Definition:
PtComparator.h:26
ObjectSelector.h
Track.h
SortCollectionSelector
Definition:
SortCollectionSelector.h:28
Generated for CMSSW Reference Manual by
1.8.5