CMS 3D CMS Logo

PixelToFEDAssociateFromAsciiESProducer.cc

Go to the documentation of this file.
00001 #include "PixelToFEDAssociateFromAsciiESProducer.h"
00002 
00003 #include <string>
00004 
00005 using namespace edm;
00006 
00007 PixelToFEDAssociateFromAsciiESProducer::
00008     PixelToFEDAssociateFromAsciiESProducer(const edm::ParameterSet & p)
00009     : theConfig(p)
00010 {
00011   std::string myname = "PixelToFEDAssociateFromAscii";
00012   setWhatProduced(this,myname);
00013 }
00014 
00015 PixelToFEDAssociateFromAsciiESProducer::
00016     ~PixelToFEDAssociateFromAsciiESProducer()
00017 { }
00018 
00019 boost::shared_ptr<PixelToFEDAssociate> PixelToFEDAssociateFromAsciiESProducer::
00020     produce(const TrackerDigiGeometryRecord & r)
00021 {
00022   theAssociator = boost::shared_ptr<PixelToFEDAssociate>(
00023      new PixelToFEDAssociateFromAscii(
00024              theConfig.getParameter<std::string>("fileName")));
00025   return theAssociator;
00026 }
00027 

Generated on Tue Jun 9 17:25:44 2009 for CMSSW by  doxygen 1.5.4