CMS 3D CMS Logo

Phase2TrackerCablingESProducer.cc
Go to the documentation of this file.
5 
6 // -----------------------------------------------------------------------------
7 //
10 }
11 
12 // -----------------------------------------------------------------------------
13 //
15 
16 // -----------------------------------------------------------------------------
17 //
18 std::unique_ptr<Phase2TrackerCabling> Phase2TrackerCablingESProducer::produce(const Phase2TrackerCablingRcd& rcd) {
20 
21  if (!temp) {
22  edm::LogWarning("Phase2TrackerCabling") << "[Phase2TrackerCablingESProducer::" << __func__ << "]"
23  << " Null pointer to Phase2TrackerCabling object!";
24  }
25 
26  std::unique_ptr<Phase2TrackerCabling> ptr(temp);
27  return ptr;
28 }
Phase2TrackerCablingESProducer.h
MessageLogger.h
Phase2TrackerCabling
Definition: Phase2TrackerCabling.h:9
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
Phase2TrackerCablingESProducer::produce
virtual std::unique_ptr< Phase2TrackerCabling > produce(const Phase2TrackerCablingRcd &)
Definition: Phase2TrackerCablingESProducer.cc:18
Phase2TrackerCablingESProducer::Phase2TrackerCablingESProducer
Phase2TrackerCablingESProducer(const edm::ParameterSet &)
Definition: Phase2TrackerCablingESProducer.cc:8
Phase2TrackerCablingRcd.h
Phase2TrackerCablingESProducer::make
virtual Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &)=0
Phase2TrackerCablingESProducer::~Phase2TrackerCablingESProducer
~Phase2TrackerCablingESProducer() override
Definition: Phase2TrackerCablingESProducer.cc:14
edm::LogWarning
Definition: MessageLogger.h:141
edm::ParameterSet
Definition: ParameterSet.h:36
Phase2TrackerCabling.h
Phase2TrackerCablingRcd
Definition: SiStripCondDataRecords.h:63
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27