File indexing completed on 2024-04-06 11:59:31
0001 #include "PixelToLNKAssociateFromAsciiESProducer.h"
0002
0003 #include <string>
0004
0005 using namespace edm;
0006
0007 PixelToLNKAssociateFromAsciiESProducer::PixelToLNKAssociateFromAsciiESProducer(const edm::ParameterSet& p)
0008 : theConfig(p) {
0009 std::string myname = "PixelToLNKAssociateFromAscii";
0010 setWhatProduced(this, myname);
0011 }
0012
0013 PixelToLNKAssociateFromAsciiESProducer::~PixelToLNKAssociateFromAsciiESProducer() {}
0014
0015 std::unique_ptr<PixelToFEDAssociate> PixelToLNKAssociateFromAsciiESProducer::produce(
0016 const TrackerDigiGeometryRecord& r) {
0017 return std::make_unique<PixelToLNKAssociateFromAscii>(theConfig.getParameter<std::string>("fileName"));
0018 }