CMS 3D CMS Logo

PixelToLNKAssociateFromAsciiESProducer Class Reference

#include <CalibTracker/SiPixelConnectivity/plugins/PixelToLNKAssociateFromAsciiESProducer.h>

Inheritance diagram for PixelToLNKAssociateFromAsciiESProducer:

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

List of all members.

Public Member Functions

 PixelToLNKAssociateFromAsciiESProducer (const edm::ParameterSet &p)
boost::shared_ptr
< PixelToFEDAssociate
produce (const TrackerDigiGeometryRecord &)
virtual ~PixelToLNKAssociateFromAsciiESProducer ()

Private Attributes

boost::shared_ptr
< PixelToFEDAssociate
theAssociator
edm::ParameterSet theConfig


Detailed Description

Definition at line 11 of file PixelToLNKAssociateFromAsciiESProducer.h.


Constructor & Destructor Documentation

PixelToLNKAssociateFromAsciiESProducer::PixelToLNKAssociateFromAsciiESProducer ( const edm::ParameterSet p  ) 

Definition at line 8 of file PixelToLNKAssociateFromAsciiESProducer.cc.

References edm::ESProducer::setWhatProduced().

00009     : theConfig(p)
00010 {
00011   std::string myname = "PixelToLNKAssociateFromAscii";
00012   setWhatProduced(this,myname);
00013 }

PixelToLNKAssociateFromAsciiESProducer::~PixelToLNKAssociateFromAsciiESProducer (  )  [virtual]

Definition at line 16 of file PixelToLNKAssociateFromAsciiESProducer.cc.

00017 { }


Member Function Documentation

boost::shared_ptr< PixelToFEDAssociate > PixelToLNKAssociateFromAsciiESProducer::produce ( const TrackerDigiGeometryRecord r  ) 

Definition at line 20 of file PixelToLNKAssociateFromAsciiESProducer.cc.

References edm::ParameterSet::getParameter(), theAssociator, and theConfig.

00021 {
00022   theAssociator = boost::shared_ptr<PixelToFEDAssociate>(
00023      new PixelToLNKAssociateFromAscii(
00024              theConfig.getParameter<std::string>("fileName")));
00025   return theAssociator;
00026 }


Member Data Documentation

boost::shared_ptr<PixelToFEDAssociate> PixelToLNKAssociateFromAsciiESProducer::theAssociator [private]

Definition at line 17 of file PixelToLNKAssociateFromAsciiESProducer.h.

Referenced by produce().

edm::ParameterSet PixelToLNKAssociateFromAsciiESProducer::theConfig [private]

Definition at line 18 of file PixelToLNKAssociateFromAsciiESProducer.h.

Referenced by produce().


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