CMS 3D CMS Logo

PATTrigMatcher.cc

Go to the documentation of this file.
00001 //
00002 // $Id: PATTrigMatcher.cc,v 1.3 2008/10/09 12:32:30 adamwo Exp $
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 // using namespace pat;
00014 // using namespace reco;
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 

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4