1 |
//
|
2 |
// $Id: PATTriggerMatcher.cc,v 1.1 2009/10/20 17:15:14 dgele Exp $
|
3 |
//
|
4 |
#include "PhysicsTools/PatAlgos/plugins/PATTriggerMatchSelector.h"
|
5 |
#include "PhysicsTools/UtilAlgos/interface/PhysObjectMatcher.h"
|
6 |
#include "PhysicsTools/UtilAlgos/interface/MatchByDR.h"
|
7 |
#include "PhysicsTools/UtilAlgos/interface/MatchByDRDPt.h"
|
8 |
#include "PhysicsTools/UtilAlgos/interface/MatchLessByDPt.h"
|
9 |
|
10 |
#include "DataFormats/Candidate/interface/Candidate.h"
|
11 |
#include "DataFormats/PatCandidates/interface/TriggerObjectStandAlone.h"
|
12 |
|
13 |
|
14 |
/// Match by deltaR (default), ranking by deltaR (default)
|
15 |
typedef reco::PhysObjectMatcher<
|
16 |
reco::CandidateView,
|
17 |
pat::TriggerObjectStandAloneCollection,
|
18 |
pat::PATTriggerMatchSelector< reco::CandidateView::value_type,
|
19 |
pat::TriggerObjectStandAloneCollection::value_type >
|
20 |
> PATTriggerMatcherDRLessByR;
|
21 |
|
22 |
/// Match by deltaR and deltaPt, ranking by deltaR (default)
|
23 |
typedef reco::PhysObjectMatcher<
|
24 |
reco::CandidateView,
|
25 |
pat::TriggerObjectStandAloneCollection,
|
26 |
pat::PATTriggerMatchSelector< reco::CandidateView::value_type,
|
27 |
pat::TriggerObjectStandAloneCollection::value_type>,
|
28 |
reco::MatchByDRDPt< reco::CandidateView::value_type,
|
29 |
pat::TriggerObjectStandAloneCollection::value_type >
|
30 |
> PATTriggerMatcherDRDPtLessByR;
|
31 |
|
32 |
/// Match by deltaR (default), ranking by deltaPt
|
33 |
typedef reco::PhysObjectMatcher<
|
34 |
reco::CandidateView,
|
35 |
pat::TriggerObjectStandAloneCollection,
|
36 |
pat::PATTriggerMatchSelector< reco::CandidateView::value_type,
|
37 |
pat::TriggerObjectStandAloneCollection::value_type >,
|
38 |
reco::MatchByDR< reco::CandidateView::value_type,
|
39 |
pat::TriggerObjectStandAloneCollection::value_type >,
|
40 |
reco::MatchLessByDPt< reco::CandidateView,
|
41 |
pat::TriggerObjectStandAloneCollection >
|
42 |
> PATTriggerMatcherDRLessByPt;
|
43 |
|
44 |
/// Match by deltaR and deltaPt, ranking by deltaPt
|
45 |
typedef reco::PhysObjectMatcher<
|
46 |
reco::CandidateView,
|
47 |
pat::TriggerObjectStandAloneCollection,
|
48 |
pat::PATTriggerMatchSelector<reco::CandidateView::value_type,
|
49 |
pat::TriggerObjectStandAloneCollection::value_type >,
|
50 |
reco::MatchByDRDPt< reco::CandidateView::value_type,
|
51 |
pat::TriggerObjectStandAloneCollection::value_type >,
|
52 |
reco::MatchLessByDPt< reco::CandidateView,
|
53 |
pat::TriggerObjectStandAloneCollection >
|
54 |
> PATTriggerMatcherDRDPtLessByPt;
|
55 |
|
56 |
|
57 |
#include "FWCore/Framework/interface/MakerMacros.h"
|
58 |
DEFINE_FWK_MODULE( PATTriggerMatcherDRLessByR );
|
59 |
DEFINE_FWK_MODULE( PATTriggerMatcherDRDPtLessByR );
|
60 |
DEFINE_FWK_MODULE( PATTriggerMatcherDRLessByPt );
|
61 |
DEFINE_FWK_MODULE( PATTriggerMatcherDRDPtLessByPt );
|
62 |
|