Main Page
Namespaces
Classes
Package Documentation
CalibTracker
SiStripESProducers
src
SiStripFedCablingESProducer.cc
Go to the documentation of this file.
1
#include "
CalibTracker/SiStripESProducers/interface/SiStripFedCablingESProducer.h
"
2
#include "
CondFormats/DataRecord/interface/SiStripFedCablingRcd.h
"
3
#include "
CondFormats/SiStripObjects/interface/SiStripFedCabling.h
"
4
#include "
DataFormats/SiStripCommon/interface/SiStripConstants.h
"
5
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
6
#include <iostream>
7
8
using namespace
sistrip
;
9
10
// -----------------------------------------------------------------------------
11
//
12
SiStripFedCablingESProducer::SiStripFedCablingESProducer
(
const
edm::ParameterSet
&
pset
) {
13
setWhatProduced(
this
, &
SiStripFedCablingESProducer::produce
);
14
}
15
16
// -----------------------------------------------------------------------------
17
//
18
SiStripFedCablingESProducer::~SiStripFedCablingESProducer
() {}
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
}
SiStripFedCablingESProducer.h
MessageLogger.h
reco::modules::make
S make(const edm::ParameterSet &cfg)
Definition:
ParameterAdapter.h:21
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:142
edm::LogWarning
Definition:
MessageLogger.h:141
SiStripFedCablingESProducer::produce
virtual std::unique_ptr< SiStripFedCabling > produce(const SiStripFedCablingRcd &)
Definition:
SiStripFedCablingESProducer.cc:22
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
sistrip
sistrip classes
Definition:
SiStripQualityHelpers.h:14
SiStripFedCabling.h
sistrip::mlCabling_
static const char mlCabling_[]
Definition:
ConstantsForLogger.h:14
SiStripFedCablingESProducer::SiStripFedCablingESProducer
SiStripFedCablingESProducer(const edm::ParameterSet &)
Definition:
SiStripFedCablingESProducer.cc:12
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
Definition:
SiStripFedCabling.h:25
SiStripFedCablingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripFedCablingESProducer::~SiStripFedCablingESProducer
~SiStripFedCablingESProducer() override
Definition:
SiStripFedCablingESProducer.cc:18
SiStripConstants.h
SiStripFedCablingRcd
Definition:
SiStripCondDataRecords.h:22
Generated for CMSSW Reference Manual by
1.8.11