CMS 3D CMS Logo

SiStripFedCablingESProducer.cc
Go to the documentation of this file.
6 #include <iostream>
7 
8 using namespace sistrip;
9 
10 // -----------------------------------------------------------------------------
11 //
13  setWhatProduced(this, &SiStripFedCablingESProducer::produce);
14 }
15 
16 // -----------------------------------------------------------------------------
17 //
19 
20 // -----------------------------------------------------------------------------
21 //
22 std::unique_ptr<SiStripFedCabling> SiStripFedCablingESProducer::produce(const SiStripFedCablingRcd& rcd) {
23  SiStripFedCabling* temp = make(rcd);
24 
25  if (!temp) {
26  edm::LogWarning(mlCabling_) << "[SiStripFedCablingESProducer::" << __func__ << "]"
27  << " Null pointer to SiStripFedCabling object!";
28  }
29 
30  std::unique_ptr<SiStripFedCabling> ptr(temp);
31  return ptr;
32 }
MessageLogger.h
SiStripFedCabling.h
SiStripFedCablingESProducer::produce
virtual std::unique_ptr< SiStripFedCabling > produce(const SiStripFedCablingRcd &)
Definition: SiStripFedCablingESProducer.cc:22
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SiStripFedCablingESProducer::SiStripFedCablingESProducer
SiStripFedCablingESProducer(const edm::ParameterSet &)
Definition: SiStripFedCablingESProducer.cc:12
SiStripFedCablingRcd
Definition: SiStripCondDataRecords.h:22
SiStripConstants.h
sistrip::mlCabling_
static const char mlCabling_[]
Definition: ConstantsForLogger.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
reco::modules::make
S make(const edm::ParameterSet &cfg)
Definition: ParameterAdapter.h:21
SiStripFedCablingRcd.h
sistrip
sistrip classes
Definition: EnsembleCalibrationLA.cc:10
SiStripFedCablingESProducer::~SiStripFedCablingESProducer
~SiStripFedCablingESProducer() override
Definition: SiStripFedCablingESProducer.cc:18
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
SiStripFedCablingESProducer.h