CMS 3D CMS Logo

PixelToLNKAssociateFromAsciiESProducer.cc
Go to the documentation of this file.
2 
3 #include <string>
4 
5 using namespace edm;
6 
9  : theConfig(p)
10 {
11  std::string myname = "PixelToLNKAssociateFromAscii";
12  setWhatProduced(this,myname);
13 }
14 
17 { }
18 
19 std::shared_ptr<PixelToFEDAssociate> PixelToLNKAssociateFromAsciiESProducer::
21 {
22  theAssociator = std::make_shared<PixelToLNKAssociateFromAscii>(theConfig.getParameter<std::string>("fileName"));
23  return theAssociator;
24 }
25 
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
std::shared_ptr< PixelToFEDAssociate > produce(const TrackerDigiGeometryRecord &)
std::shared_ptr< PixelToFEDAssociate > theAssociator
HLT enums.