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