CMS 3D CMS Logo

FakePixelCPEESProducer.cc
Go to the documentation of this file.
2 
9 
14 
15 #include <string>
16 #include <memory>
17 
21 
22 namespace {
23 
24  class FakePixelCPEESProducer final : public edm::ESProducer {
25  public:
26  FakePixelCPEESProducer(const edm::ParameterSet &p) {
27  std::string myname = p.getParameter<std::string>("ComponentName");
28  setWhatProduced(this, myname);
29  }
30 
31  ~FakePixelCPEESProducer() override = default;
32 
33  std::unique_ptr<PixelClusterParameterEstimator> produce(const TkPixelCPERecord &) {
34  return std::make_unique<PixelFakeCPE>();
35  }
36 
37  private:
38  };
39 
40 } // namespace
41 
45 
46 DEFINE_FWK_EVENTSETUP_MODULE(FakePixelCPEESProducer);
PixelFakeCPE.h
TrackerGeometry.h
ESHandle.h
eventsetuprecord_registration_macro.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
ESProducer.h
TkPixelCPERecord
Definition: TkPixelCPERecord.h:18
typelookup.h
MakerMacros.h
TrackerTopology.h
TrackerTopologyRcd.h
IdealMagneticFieldRecord.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition: ParameterSet.h:47
MagneticField.h
ModuleFactory.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
EventSetup.h
TkPixelCPERecord.h
edm::ESProducer
Definition: ESProducer.h:104
ParameterSet.h