CMS 3D CMS Logo

SiStripRecHitMatcherESProducer Class Reference

#include <RecoLocalTracker/SiStripRecHitConverter/interface/SiStripRecHitMatcherESProducer.h>

Inheritance diagram for SiStripRecHitMatcherESProducer:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

boost::shared_ptr
< SiStripRecHitMatcher
produce (const TkStripCPERecord &)
 SiStripRecHitMatcherESProducer (const edm::ParameterSet &p)
virtual ~SiStripRecHitMatcherESProducer ()

Private Attributes

boost::shared_ptr
< SiStripRecHitMatcher
_matcher
edm::ParameterSet pset_


Detailed Description

Definition at line 10 of file SiStripRecHitMatcherESProducer.h.


Constructor & Destructor Documentation

SiStripRecHitMatcherESProducer::SiStripRecHitMatcherESProducer ( const edm::ParameterSet p  ) 

Definition at line 16 of file SiStripRecHitMatcherESProducer.cc.

References edm::ParameterSet::getParameter(), pset_, and edm::ESProducer::setWhatProduced().

00017 {
00018   std::string myname = p.getParameter<std::string>("ComponentName");
00019   pset_ = p;
00020   setWhatProduced(this,myname);
00021 }

SiStripRecHitMatcherESProducer::~SiStripRecHitMatcherESProducer (  )  [virtual]

Definition at line 23 of file SiStripRecHitMatcherESProducer.cc.

00023 {}


Member Function Documentation

boost::shared_ptr< SiStripRecHitMatcher > SiStripRecHitMatcherESProducer::produce ( const TkStripCPERecord iRecord  ) 

Definition at line 26 of file SiStripRecHitMatcherESProducer.cc.

References _matcher, and pset_.

00026                                                                        { 
00027 
00028   _matcher  = boost::shared_ptr<SiStripRecHitMatcher>(new SiStripRecHitMatcher(pset_));
00029   return _matcher;
00030 }


Member Data Documentation

boost::shared_ptr<SiStripRecHitMatcher> SiStripRecHitMatcherESProducer::_matcher [private]

Definition at line 16 of file SiStripRecHitMatcherESProducer.h.

Referenced by produce().

edm::ParameterSet SiStripRecHitMatcherESProducer::pset_ [private]

Definition at line 17 of file SiStripRecHitMatcherESProducer.h.

Referenced by produce(), and SiStripRecHitMatcherESProducer().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:33 2009 for CMSSW by  doxygen 1.5.4