Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:27

0001 #include "PixelToFEDAssociateFromAsciiESProducer.h"
0002 
0003 #include <string>
0004 
0005 using namespace edm;
0006 
0007 PixelToFEDAssociateFromAsciiESProducer::PixelToFEDAssociateFromAsciiESProducer(const edm::ParameterSet& p)
0008     : theConfig(p) {
0009   std::string myname = "PixelToFEDAssociateFromAscii";
0010   setWhatProduced(this, myname);
0011 }
0012 
0013 PixelToFEDAssociateFromAsciiESProducer::~PixelToFEDAssociateFromAsciiESProducer() {}
0014 
0015 std::unique_ptr<PixelToFEDAssociate> PixelToFEDAssociateFromAsciiESProducer::produce(
0016     const TrackerDigiGeometryRecord& r) {
0017   return std::make_unique<PixelToFEDAssociateFromAscii>(theConfig.getParameter<std::string>("fileName"));
0018 }