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
CondFormats
EcalObjects
interface
EcalLaserAPDPNRatios.h
Go to the documentation of this file.
1
#ifndef CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
2
#define CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
3
8
#include "
CondFormats/Serialization/interface/Serializable.h
"
9
10
#include "
CondFormats/EcalObjects/interface/EcalCondObjectContainer.h
"
11
#include "
DataFormats/Provenance/interface/Timestamp.h
"
12
#include <vector>
13
14
class
EcalLaserAPDPNRatios
{
15
public
:
16
struct
EcalLaserAPDPNpair
{
17
EcalLaserAPDPNpair
() :
p1
(0),
p2
(0),
p3
(0) {}
18
float
p1
;
19
float
p2
;
20
float
p3
;
21
22
COND_SERIALIZABLE
;
23
};
24
struct
EcalLaserTimeStamp
{
25
EcalLaserTimeStamp
() :
t1
(),
t2
(),
t3
() {}
26
edm::Timestamp
t1
;
27
edm::Timestamp
t2
;
28
edm::Timestamp
t3
;
29
30
COND_SERIALIZABLE
;
31
};
32
33
typedef
EcalCondObjectContainer<EcalLaserAPDPNpair>
EcalLaserAPDPNRatiosMap
;
34
typedef
std::vector<EcalLaserTimeStamp>
EcalLaserTimeStampMap
;
35
36
EcalLaserAPDPNRatios
() :
time_map
(92){};
// FIXME
37
~EcalLaserAPDPNRatios
(){};
38
39
void
setValue
(uint32_t rawId,
const
EcalLaserAPDPNpair
&
value
) {
laser_map
[rawId] =
value
; };
40
const
EcalLaserAPDPNRatiosMap
&
getLaserMap
()
const
{
return
laser_map
; }
41
42
void
setTime
(
int
hashedIndex
,
const
EcalLaserTimeStamp
&
value
) {
time_map
[
hashedIndex
] =
value
; };
43
const
EcalLaserTimeStampMap
&
getTimeMap
()
const
{
return
time_map
; }
44
45
private
:
46
EcalLaserAPDPNRatiosMap
laser_map
;
47
EcalLaserTimeStampMap
time_map
;
48
49
COND_SERIALIZABLE
;
50
};
51
52
#endif
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1
float p1
Definition:
EcalLaserAPDPNRatios.h:18
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap
EcalCondObjectContainer< EcalLaserAPDPNpair > EcalLaserAPDPNRatiosMap
Definition:
EcalLaserAPDPNRatios.h:33
EcalLaserAPDPNRatios::EcalLaserTimeStamp::t3
edm::Timestamp t3
Definition:
EcalLaserAPDPNRatios.h:28
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
EcalCondObjectContainer< EcalLaserAPDPNpair >
EcalCondObjectContainer.h
EcalLaserAPDPNRatios::getLaserMap
const EcalLaserAPDPNRatiosMap & getLaserMap() const
Definition:
EcalLaserAPDPNRatios.h:40
EcalLaserAPDPNRatios::laser_map
EcalLaserAPDPNRatiosMap laser_map
Definition:
EcalLaserAPDPNRatios.h:46
EcalLaserAPDPNRatios::time_map
EcalLaserTimeStampMap time_map
Definition:
EcalLaserAPDPNRatios.h:47
EcalLaserAPDPNRatios::~EcalLaserAPDPNRatios
~EcalLaserAPDPNRatios()
Definition:
EcalLaserAPDPNRatios.h:37
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
Definition:
EcalLaserAPDPNRatios.h:16
Timestamp.h
EcalLaserAPDPNRatios::getTimeMap
const EcalLaserTimeStampMap & getTimeMap() const
Definition:
EcalLaserAPDPNRatios.h:43
EcalLaserAPDPNRatios::EcalLaserTimeStamp::t1
edm::Timestamp t1
Definition:
EcalLaserAPDPNRatios.h:26
EcalLaserAPDPNRatios::EcalLaserTimeStamp::EcalLaserTimeStamp
EcalLaserTimeStamp()
Definition:
EcalLaserAPDPNRatios.h:25
Serializable.h
value
Definition:
value.py:1
EcalLaserAPDPNRatios::setValue
void setValue(uint32_t rawId, const EcalLaserAPDPNpair &value)
Definition:
EcalLaserAPDPNRatios.h:39
EcalLaserAPDPNRatios::EcalLaserTimeStampMap
std::vector< EcalLaserTimeStamp > EcalLaserTimeStampMap
Definition:
EcalLaserAPDPNRatios.h:34
EcalLaserAPDPNRatios::EcalLaserAPDPNRatios
EcalLaserAPDPNRatios()
Definition:
EcalLaserAPDPNRatios.h:36
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::EcalLaserAPDPNpair
EcalLaserAPDPNpair()
Definition:
EcalLaserAPDPNRatios.h:17
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
EcalLaserAPDPNRatios
Definition:
EcalLaserAPDPNRatios.h:14
EcalLaserAPDPNRatios::setTime
void setTime(int hashedIndex, const EcalLaserTimeStamp &value)
Definition:
EcalLaserAPDPNRatios.h:42
ecalpyutils::hashedIndex
int hashedIndex(int ieta, int iphi)
Definition:
EcalPyUtils.cc:38
EcalLaserAPDPNRatios::EcalLaserTimeStamp
Definition:
EcalLaserAPDPNRatios.h:24
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2
float p2
Definition:
EcalLaserAPDPNRatios.h:19
EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3
float p3
Definition:
EcalLaserAPDPNRatios.h:20
EcalLaserAPDPNRatios::EcalLaserTimeStamp::t2
edm::Timestamp t2
Definition:
EcalLaserAPDPNRatios.h:27
edm::Timestamp
Definition:
Timestamp.h:30
Generated for CMSSW Reference Manual by
1.8.16