#include <PixelToLNKAssociateFromAsciiESProducer.h>
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 |
Definition at line 11 of file PixelToLNKAssociateFromAsciiESProducer.h.
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.
{ }
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; }
boost::shared_ptr<PixelToFEDAssociate> PixelToLNKAssociateFromAsciiESProducer::theAssociator [private] |
Definition at line 17 of file PixelToLNKAssociateFromAsciiESProducer.h.
Referenced by produce().
Definition at line 18 of file PixelToLNKAssociateFromAsciiESProducer.h.
Referenced by produce().