Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-15 01:25:01

0001 /* \class LargestEtCaloJetSelector
0002  *
0003  * selects the N calo-jets with largest Et
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/JetReco/interface/CaloJet.h"
0012 #include "CommonTools/Utils/interface/EtComparator.h"
0013 
0014 typedef ObjectSelector<SortCollectionSelector<reco::CaloJetCollection, GreaterByEt<reco::CaloJet> > >
0015     LargestEtCaloJetSelector;
0016 
0017 DEFINE_FWK_MODULE(LargestEtCaloJetSelector);