00001
00002
00003
00004 #include "PhysicsTools/PatAlgos/plugins/PATTrigMatchSelector.h"
00005 #include "PhysicsTools/UtilAlgos/interface/PhysObjectMatcher.h"
00006 #include "PhysicsTools/UtilAlgos/interface/MatchByDRDPt.h"
00007 #include "PhysicsTools/UtilAlgos/interface/MatchLessByDPt.h"
00008
00009 #include "DataFormats/Candidate/interface/Candidate.h"
00010 #include "DataFormats/PatCandidates/interface/TriggerPrimitive.h"
00011
00012
00013
00014
00015
00016
00018 typedef reco::PhysObjectMatcher<
00019 reco::CandidateView,
00020 pat::TriggerPrimitiveCollection,
00021 pat::PATTrigMatchSelector<reco::CandidateView::value_type,
00022 pat::TriggerPrimitiveCollection::value_type>,
00023 reco::MatchByDRDPt<reco::CandidateView::value_type,
00024 pat::TriggerPrimitiveCollection::value_type>
00025 > PATTrigMatcher;
00026
00028 typedef reco::PhysObjectMatcher<
00029 reco::CandidateView,
00030 pat::TriggerPrimitiveCollection,
00031 pat::PATTrigMatchSelector<reco::CandidateView::value_type,
00032 pat::TriggerPrimitiveCollection::value_type>,
00033 reco::MatchByDRDPt<reco::CandidateView::value_type,
00034 pat::TriggerPrimitiveCollection::value_type>,
00035 reco::MatchLessByDPt<reco::CandidateView,
00036 pat::TriggerPrimitiveCollection >
00037 > PATTrigMatcherByPt;
00038
00039
00040 #include "FWCore/Framework/interface/MakerMacros.h"
00041 DEFINE_FWK_MODULE( PATTrigMatcher );
00042 DEFINE_FWK_MODULE( PATTrigMatcherByPt );
00043