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
n
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
c
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
src
CondFormats
CastorObjects
interface
CastorGain.h
Go to the documentation of this file.
1
#ifndef CastorGain_h
2
#define CastorGain_h
3
10
#include "
CondFormats/Serialization/interface/Serializable.h
"
11
#include <cstdint>
12
13
class
CastorGain
{
14
public
:
16
const
float
*
getValues
()
const
{
return
&
mValue0
; }
18
float
getValue
(
int
fCapId)
const
{
return
*(
getValues
() + fCapId); }
19
20
// functions below are not supposed to be used by consumer applications
21
22
CastorGain
() :
mId
(0),
mValue0
(0),
mValue1
(0),
mValue2
(0),
mValue3
(0) {}
23
24
CastorGain
(
unsigned
long
fId,
float
fCap0,
float
fCap1,
float
fCap2,
float
fCap3)
25
:
mId
(fId),
mValue0
(fCap0),
mValue1
(fCap1),
mValue2
(fCap2),
mValue3
(fCap3) {}
26
27
uint32_t
rawId
()
const
{
return
mId
; }
28
29
private
:
30
uint32_t
mId
;
31
float
mValue0
;
32
float
mValue1
;
33
float
mValue2
;
34
float
mValue3
;
35
36
COND_SERIALIZABLE
;
37
};
38
39
#endif
CastorGain
Definition:
CastorGain.h:13
CastorGain::mValue1
float mValue1
Definition:
CastorGain.h:32
CastorGain::mValue0
float mValue0
Definition:
CastorGain.h:31
CastorGain::mId
uint32_t mId
Definition:
CastorGain.h:30
CastorGain::CastorGain
CastorGain(unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3)
Definition:
CastorGain.h:24
CastorGain::rawId
uint32_t rawId() const
Definition:
CastorGain.h:27
CastorGain::getValue
float getValue(int fCapId) const
get value for capId = 0..3
Definition:
CastorGain.h:18
CastorGain::mValue3
float mValue3
Definition:
CastorGain.h:34
CastorGain::mValue2
float mValue2
Definition:
CastorGain.h:33
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CastorGain::getValues
const float * getValues() const
get value for all capId = 0..3
Definition:
CastorGain.h:16
Serializable.h
CastorGain::CastorGain
CastorGain()
Definition:
CastorGain.h:22
Generated for CMSSW Reference Manual by
1.8.14