00001
00002
00003
00004 #include "PhysicsTools/PatAlgos/plugins/PATTriggerMatchSelector.h"
00005 #include "PhysicsTools/UtilAlgos/interface/PhysObjectMatcher.h"
00006 #include "PhysicsTools/UtilAlgos/interface/MatchByDR.h"
00007 #include "PhysicsTools/UtilAlgos/interface/MatchByDRDPt.h"
00008 #include "PhysicsTools/UtilAlgos/interface/MatchLessByDPt.h"
00009
00010 #include "DataFormats/Candidate/interface/Candidate.h"
00011 #include "DataFormats/PatCandidates/interface/TriggerObjectStandAlone.h"
00012
00013
00015 typedef reco::PhysObjectMatcher<
00016 reco::CandidateView,
00017 pat::TriggerObjectStandAloneCollection,
00018 pat::PATTriggerMatchSelector< reco::CandidateView::value_type,
00019 pat::TriggerObjectStandAloneCollection::value_type >
00020 > PATTriggerMatcherDRLessByR;
00021
00023 typedef reco::PhysObjectMatcher<
00024 reco::CandidateView,
00025 pat::TriggerObjectStandAloneCollection,
00026 pat::PATTriggerMatchSelector< reco::CandidateView::value_type,
00027 pat::TriggerObjectStandAloneCollection::value_type>,
00028 reco::MatchByDRDPt< reco::CandidateView::value_type,
00029 pat::TriggerObjectStandAloneCollection::value_type >
00030 > PATTriggerMatcherDRDPtLessByR;
00031
00033 typedef reco::PhysObjectMatcher<
00034 reco::CandidateView,
00035 pat::TriggerObjectStandAloneCollection,
00036 pat::PATTriggerMatchSelector< reco::CandidateView::value_type,
00037 pat::TriggerObjectStandAloneCollection::value_type >,
00038 reco::MatchByDR< reco::CandidateView::value_type,
00039 pat::TriggerObjectStandAloneCollection::value_type >,
00040 reco::MatchLessByDPt< reco::CandidateView,
00041 pat::TriggerObjectStandAloneCollection >
00042 > PATTriggerMatcherDRLessByPt;
00043
00045 typedef reco::PhysObjectMatcher<
00046 reco::CandidateView,
00047 pat::TriggerObjectStandAloneCollection,
00048 pat::PATTriggerMatchSelector<reco::CandidateView::value_type,
00049 pat::TriggerObjectStandAloneCollection::value_type >,
00050 reco::MatchByDRDPt< reco::CandidateView::value_type,
00051 pat::TriggerObjectStandAloneCollection::value_type >,
00052 reco::MatchLessByDPt< reco::CandidateView,
00053 pat::TriggerObjectStandAloneCollection >
00054 > PATTriggerMatcherDRDPtLessByPt;
00055
00056
00057 #include "FWCore/Framework/interface/MakerMacros.h"
00058 DEFINE_FWK_MODULE( PATTriggerMatcherDRLessByR );
00059 DEFINE_FWK_MODULE( PATTriggerMatcherDRDPtLessByR );
00060 DEFINE_FWK_MODULE( PATTriggerMatcherDRLessByPt );
00061 DEFINE_FWK_MODULE( PATTriggerMatcherDRDPtLessByPt );
00062