CMS 3D CMS Logo

Public Member Functions | Private Attributes

PixelToLNKAssociateFromAsciiESProducer Class Reference

#include <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().

    : theConfig(p)
{
  std::string myname = "PixelToLNKAssociateFromAscii";
  setWhatProduced(this,myname);
}
PixelToLNKAssociateFromAsciiESProducer::~PixelToLNKAssociateFromAsciiESProducer ( ) [virtual]

Definition at line 16 of file PixelToLNKAssociateFromAsciiESProducer.cc.

{ }

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.

{
  theAssociator = boost::shared_ptr<PixelToFEDAssociate>(
     new PixelToLNKAssociateFromAscii(
             theConfig.getParameter<std::string>("fileName")));
  return theAssociator;
}

Member Data Documentation

Definition at line 17 of file PixelToLNKAssociateFromAsciiESProducer.h.

Referenced by produce().

Definition at line 18 of file PixelToLNKAssociateFromAsciiESProducer.h.

Referenced by produce().