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
24
SiStripFedCabling
*
temp
=
make
( rcd );
25
26
if
( !temp ) {
27
edm::LogWarning
(
mlCabling_
)
28
<<
"[SiStripFedCablingESProducer::"
<< __func__ <<
"]"
29
<<
" Null pointer to SiStripFedCabling object!"
;
30
}
31
32
std::unique_ptr<SiStripFedCabling> ptr( temp );
33
return
ptr;
34
35
}
SiStripFedCablingESProducer.h
MessageLogger.h
reco::modules::make
S make(const edm::ParameterSet &cfg)
Definition:
ParameterAdapter.h:29
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
edm::LogWarning
Definition:
MessageLogger.h:142
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:
EnsembleCalibrationLA.cc:12
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:20
Generated for CMSSW Reference Manual by
1.8.11