Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:29

0001 #include "RecoLocalTracker/SiStripRecHitConverter/plugins/SiStripRecHitMatcherESProducer.h"
0002 
0003 #include "FWCore/Framework/interface/EventSetup.h"
0004 #include "FWCore/Framework/interface/ESHandle.h"
0005 #include "FWCore/Framework/interface/ModuleFactory.h"
0006 #include "FWCore/Framework/interface/ESProducer.h"
0007 
0008 SiStripRecHitMatcherESProducer::SiStripRecHitMatcherESProducer(const edm::ParameterSet& p) {
0009   std::string name = p.getParameter<std::string>("ComponentName");
0010   pset_ = p;
0011   setWhatProduced(this, name);
0012 }
0013 
0014 std::unique_ptr<SiStripRecHitMatcher> SiStripRecHitMatcherESProducer::produce(const TkStripCPERecord& iRecord) {
0015   return std::make_unique<SiStripRecHitMatcher>(pset_);
0016 }