CMS 3D CMS Logo

CandMatcher.h

Go to the documentation of this file.
00001 #ifndef CandAlgos_CandMatcher_h
00002 #define CandAlgos_CandMatcher_h
00003 /* \class CandMatcher
00004  *
00005  * Producer fo simple Candidate match map
00006  *
00007  */
00008 #include "PhysicsTools/UtilAlgos/interface/Matcher.h"
00009 #include "DataFormats/Candidate/interface/Candidate.h"
00010 #include "PhysicsTools/CandUtils/interface/CandMapTrait.h"
00011 
00012 namespace reco {
00013   namespace modules {
00014     template<typename S, typename Collection = CandidateCollection, typename D = DeltaR<reco::Candidate> >
00015     class CandMatcher : 
00016       public Matcher<Collection, Collection, S, D, typename reco::helper::CandMapTrait<Collection>::type> {
00017       public:
00018         CandMatcher(  const edm::ParameterSet & cfg ) : 
00019           Matcher<Collection, Collection, S, D, typename reco::helper::CandMapTrait<Collection>::type>( cfg ) { }
00020       ~CandMatcher() { }
00021     };
00022 
00023   }
00024 }
00025 #endif

Generated on Tue Jun 9 17:40:56 2009 for CMSSW by  doxygen 1.5.4