test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 boost::shared_ptr<SiStripRecHitMatcher> SiStripRecHitMatcherESProducer::
16 produce(const TkStripCPERecord & iRecord)
17 {
18  matcher_ = boost::shared_ptr<SiStripRecHitMatcher>(new SiStripRecHitMatcher(pset_));
19  return matcher_;
20 }
21 
22 
T getParameter(std::string const &) const
boost::shared_ptr< SiStripRecHitMatcher > matcher_
boost::shared_ptr< SiStripRecHitMatcher > produce(const TkStripCPERecord &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
SiStripRecHitMatcherESProducer(const edm::ParameterSet &)