Main Page
Namespaces
Classes
Package Documentation
CommonTools
RecoAlgos
plugins
LargestEtPFJetSelector.cc
Go to the documentation of this file.
1
/* \class LargestEtPFJetSelector
2
*
3
* selects the N pf-jets with largest Et
4
*
5
* \author: Luca Lista, INFN
6
*
7
*/
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
#include "
CommonTools/UtilAlgos/interface/ObjectSelectorStream.h
"
10
#include "
CommonTools/UtilAlgos/interface/SortCollectionSelector.h
"
11
#include "
DataFormats/JetReco/interface/PFJet.h
"
12
#include "
CommonTools/Utils/interface/EtComparator.h
"
13
14
typedef
ObjectSelectorStream
<
15
SortCollectionSelector
<
16
reco::PFJetCollection
,
17
GreaterByEt<reco::PFJet>
18
>
19
>
LargestEtPFJetSelector
;
20
21
DEFINE_FWK_MODULE
(
LargestEtPFJetSelector
);
SortCollectionSelector.h
ObjectSelectorStream
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
ObjectSelectorStream.h
MakerMacros.h
EtComparator.h
GreaterByEt
Definition:
EtComparator.h:25
reco::PFJetCollection
std::vector< PFJet > PFJetCollection
collection of PFJet objects
Definition:
PFJetCollection.h:14
LargestEtPFJetSelector
ObjectSelectorStream< SortCollectionSelector< reco::PFJetCollection, GreaterByEt< reco::PFJet > > > LargestEtPFJetSelector
Definition:
LargestEtPFJetSelector.cc:19
SortCollectionSelector
Definition:
SortCollectionSelector.h:33
PFJet.h
Generated for CMSSW Reference Manual by
1.8.11