#include <SiStripRecHitMatcherESProducer.h>
Public Member Functions | |
boost::shared_ptr < SiStripRecHitMatcher > | produce (const TkStripCPERecord &) |
SiStripRecHitMatcherESProducer (const edm::ParameterSet &) | |
Private Attributes | |
boost::shared_ptr < SiStripRecHitMatcher > | matcher_ |
edm::ParameterSet | pset_ |
Definition at line 10 of file SiStripRecHitMatcherESProducer.h.
SiStripRecHitMatcherESProducer::SiStripRecHitMatcherESProducer | ( | const edm::ParameterSet & | p | ) |
Definition at line 8 of file SiStripRecHitMatcherESProducer.cc.
References edm::ParameterSet::getParameter(), mergeVDriftHistosByStation::name, L1TEmulatorMonitor_cff::p, pset_, and edm::ESProducer::setWhatProduced().
{ std::string name = p.getParameter<std::string>("ComponentName"); pset_ = p; setWhatProduced(this,name); }
boost::shared_ptr< SiStripRecHitMatcher > SiStripRecHitMatcherESProducer::produce | ( | const TkStripCPERecord & | iRecord | ) |
Definition at line 16 of file SiStripRecHitMatcherESProducer.cc.
References matcher_, and pset_.
{ matcher_ = boost::shared_ptr<SiStripRecHitMatcher>(new SiStripRecHitMatcher(pset_)); return matcher_; }
boost::shared_ptr<SiStripRecHitMatcher> SiStripRecHitMatcherESProducer::matcher_ [private] |
Definition at line 15 of file SiStripRecHitMatcherESProducer.h.
Referenced by produce().
Definition at line 16 of file SiStripRecHitMatcherESProducer.h.
Referenced by produce(), and SiStripRecHitMatcherESProducer().