OnlineDB
SiStripESSources
src
SiStripPedestalsBuilderFromDb.cc
Go to the documentation of this file.
1
2
#include "
OnlineDB/SiStripESSources/interface/SiStripPedestalsBuilderFromDb.h
"
3
#include "
CondFormats/SiStripObjects/interface/SiStripPedestals.h
"
4
5
using namespace
std
;
6
using namespace
sistrip
;
7
8
// -----------------------------------------------------------------------------
10
SiStripPedestalsBuilderFromDb::SiStripPedestalsBuilderFromDb
(
const
edm::ParameterSet
&
pset
)
11
:
SiStripPedestalsESSource
(
pset
) {
12
LogTrace
(
mlESSources_
) <<
"[SiStripPedestalsBuilderFromDb::"
<< __func__ <<
"]"
13
<<
" Constructing object..."
;
14
}
15
16
// -----------------------------------------------------------------------------
18
SiStripPedestalsBuilderFromDb::~SiStripPedestalsBuilderFromDb
() {
19
LogTrace
(
mlESSources_
) <<
"[SiStripPedestalsBuilderFromDb::"
<< __func__ <<
"]"
20
<<
" Destructing object..."
;
21
}
22
23
// -----------------------------------------------------------------------------
25
SiStripPedestals
*
SiStripPedestalsBuilderFromDb::makePedestals
() {
26
LogTrace
(
mlESSources_
) <<
"[SiStripPedestalsBuilderFromDb::"
<< __func__ <<
"]"
27
<<
" Constructing Pedestals object..."
;
28
29
// Create Pedestals object
30
SiStripPedestals
* pedestals;
31
condObjBuilder
->
getValue
(pedestals);
32
return
pedestals;
33
}
SiStripCondObjBuilderFromDb::getValue
void getValue(SiStripFedCabling *&val)
Definition:
SiStripCondObjBuilderFromDb.h:121
SiStripPedestalsBuilderFromDb.h
SiStripPedestalsBuilderFromDb::makePedestals
SiStripPedestals * makePedestals() override
Definition:
SiStripPedestalsBuilderFromDb.cc:25
SiStripPedestalsBuilderFromDb::SiStripPedestalsBuilderFromDb
SiStripPedestalsBuilderFromDb(const edm::ParameterSet &)
Definition:
SiStripPedestalsBuilderFromDb.cc:10
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripPedestalsBuilderFromDb::~SiStripPedestalsBuilderFromDb
~SiStripPedestalsBuilderFromDb() override
Definition:
SiStripPedestalsBuilderFromDb.cc:18
sistrip::mlESSources_
static const char mlESSources_[]
Definition:
ConstantsForLogger.h:21
std
Definition:
JetResolutionObject.h:76
SiStripPedestals.h
SiStripPedestalsBuilderFromDb::condObjBuilder
edm::Service< SiStripCondObjBuilderFromDb > condObjBuilder
Definition:
SiStripPedestalsBuilderFromDb.h:31
SiStripPedestals
Definition:
SiStripPedestals.h:27
LogTrace
#define LogTrace(id)
Definition:
MessageLogger.h:234
sistrip
sistrip classes
Definition:
EnsembleCalibrationLA.cc:10
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
SiStripPedestalsESSource
Pure virtual class for EventSetup sources of SiStripPedestals.
Definition:
SiStripPedestalsESSource.h:17
Generated for CMSSW Reference Manual by
1.8.16