#include <CalibTracker/SiPixelConnectivity/plugins/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().
00009 : theConfig(p) 00010 { 00011 std::string myname = "PixelToLNKAssociateFromAscii"; 00012 setWhatProduced(this,myname); 00013 }
PixelToLNKAssociateFromAsciiESProducer::~PixelToLNKAssociateFromAsciiESProducer | ( | ) | [virtual] |
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 }
boost::shared_ptr<PixelToFEDAssociate> PixelToLNKAssociateFromAsciiESProducer::theAssociator [private] |