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