Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
CalibMuon
CSCCalibration
plugins
CSCFakeDBPedestals.cc
Go to the documentation of this file.
1
#include "
CalibMuon/CSCCalibration/interface/CSCFakeDBPedestals.h
"
2
#include "
CalibMuon/CSCCalibration/interface/CSCPedestalsDBConditions.h
"
3
#include "
CondFormats/CSCObjects/interface/CSCDBPedestals.h
"
4
#include "
CondFormats/DataRecord/interface/CSCDBPedestalsRcd.h
"
5
6
CSCFakeDBPedestals::CSCFakeDBPedestals
(
const
edm::ParameterSet
&iConfig) {
7
// the following line is needed to tell the framework what
8
// data is being produced
9
setWhatProduced
(
this
, &
CSCFakeDBPedestals::produceDBPedestals
);
10
findingRecord<CSCDBPedestalsRcd>();
11
}
12
13
CSCFakeDBPedestals::~CSCFakeDBPedestals
() {}
14
15
// ------------ method called to produce the data ------------
16
CSCFakeDBPedestals::Pointer
CSCFakeDBPedestals::produceDBPedestals
(
const
CSCDBPedestalsRcd
&iRecord) {
17
Pointer
cndbPedestals(
prefillDBPedestals
());
18
return
cndbPedestals;
19
}
20
21
void
CSCFakeDBPedestals::setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
22
const
edm::IOVSyncValue
&,
23
edm::ValidityInterval
&oValidity) {
24
oValidity =
edm::ValidityInterval
(
edm::IOVSyncValue::beginOfTime
(),
edm::IOVSyncValue::endOfTime
());
25
}
CSCDBPedestalsRcd
Definition:
CSCDBPedestalsRcd.h:5
CSCFakeDBPedestals::CSCFakeDBPedestals
CSCFakeDBPedestals(const edm::ParameterSet &)
Definition:
CSCFakeDBPedestals.cc:6
CSCFakeDBPedestals::produceDBPedestals
Pointer produceDBPedestals(const CSCDBPedestalsRcd &)
Definition:
CSCFakeDBPedestals.cc:16
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
edm::ValidityInterval
Definition:
ValidityInterval.h:28
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCPedestalsDBConditions.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
CSCFakeDBPedestals::Pointer
std::unique_ptr< CSCDBPedestals > Pointer
Definition:
CSCFakeDBPedestals.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCDBPedestals.h
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition:
IOVSyncValue.cc:82
CSCFakeDBPedestals::prefillDBPedestals
static CSCDBPedestals * prefillDBPedestals()
Definition:
CSCFakeDBPedestals.h:43
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition:
Time.h:17
CSCFakeDBPedestals.h
CSCFakeDBPedestals::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakeDBPedestals.cc:21
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition:
IOVSyncValue.cc:88
CSCDBPedestalsRcd.h
CSCFakeDBPedestals::~CSCFakeDBPedestals
~CSCFakeDBPedestals() override
Definition:
CSCFakeDBPedestals.cc:13
Generated for CMSSW Reference Manual by
1.8.16