CMS 3D CMS Logo

SiStripRecHitMatcherESProducer.cc
Go to the documentation of this file.
2 
7 
9 {
10  std::string name = p.getParameter<std::string>("ComponentName");
11  pset_ = p;
12  setWhatProduced(this,name);
13 }
14 
15 std::unique_ptr<SiStripRecHitMatcher> SiStripRecHitMatcherESProducer::
16 produce(const TkStripCPERecord & iRecord)
17 {
18  return std::make_unique<SiStripRecHitMatcher>(pset_);
19 }
20 
21 
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
SiStripRecHitMatcherESProducer(const edm::ParameterSet &)
std::unique_ptr< SiStripRecHitMatcher > produce(const TkStripCPERecord &)