File indexing completed on 2024-04-06 11:59:31
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 }