CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/CalibTracker/SiPixelConnectivity/plugins/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