1 |
antoniov |
1.1 |
#include "FWCore/Framework/interface/MakerMacros.h"
|
2 |
|
|
#include "CommonTools/UtilAlgos/interface/ObjectSelector.h"
|
3 |
|
|
#include "CommonTools/UtilAlgos/interface/SortCollectionSelector.h"
|
4 |
|
|
#include "DataFormats/Candidate/interface/Candidate.h"
|
5 |
|
|
#include "ForwardAnalysis/Utilities/interface/EtaComparator.h"
|
6 |
|
|
|
7 |
|
|
typedef ObjectSelector<
|
8 |
|
|
SortCollectionSelector<
|
9 |
|
|
reco::CandidateView,
|
10 |
|
|
forwardAnalysis::GreaterByEta<reco::Candidate>
|
11 |
|
|
>
|
12 |
|
|
> EtaMaxCandViewSelector;
|
13 |
|
|
|
14 |
|
|
typedef ObjectSelector<
|
15 |
|
|
SortCollectionSelector<
|
16 |
|
|
reco::CandidateView,
|
17 |
|
|
forwardAnalysis::LessByEta<reco::Candidate>
|
18 |
|
|
>
|
19 |
|
|
> EtaMinCandViewSelector;
|
20 |
|
|
|
21 |
|
|
DEFINE_FWK_MODULE( EtaMaxCandViewSelector );
|
22 |
|
|
DEFINE_FWK_MODULE( EtaMinCandViewSelector );
|