ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/ForwardAnalysis/Utilities/plugins/EtaMaxCandViewSelector.cc
Revision: 1.1
Committed: Tue Jan 4 22:44:10 2011 UTC (14 years, 4 months ago) by antoniov
Content type: text/plain
Branch: MAIN
Log Message:
add PF-related modules

File Contents

# User Rev Content
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 );