CMS 3D CMS Logo

Public Member Functions | Private Attributes

PixelToFEDAssociateFromAsciiESProducer Class Reference

#include <PixelToFEDAssociateFromAsciiESProducer.h>

Inheritance diagram for PixelToFEDAssociateFromAsciiESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 11 of file PixelToFEDAssociateFromAsciiESProducer.h.


Constructor & Destructor Documentation

PixelToFEDAssociateFromAsciiESProducer::PixelToFEDAssociateFromAsciiESProducer ( const edm::ParameterSet p)

Definition at line 8 of file PixelToFEDAssociateFromAsciiESProducer.cc.

References edm::ESProducer::setWhatProduced().

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

Definition at line 16 of file PixelToFEDAssociateFromAsciiESProducer.cc.

{ }

Member Function Documentation

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

Definition at line 20 of file PixelToFEDAssociateFromAsciiESProducer.cc.

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

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

Member Data Documentation

Definition at line 17 of file PixelToFEDAssociateFromAsciiESProducer.h.

Referenced by produce().

Definition at line 18 of file PixelToFEDAssociateFromAsciiESProducer.h.

Referenced by produce().