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
DataFormats
EcalDigi
interface
ESSample.h
Go to the documentation of this file.
1
#ifndef DIGIECAL_ESSAMPLE_H
2
#define DIGIECAL_ESSAMPLE_H
3
4
#include <ostream>
5
#include <cstdint>
6
7
class
ESSample
{
8
public
:
9
ESSample
() {
theSample
= 0; }
10
ESSample
(int16_t
data
) {
theSample
=
data
; }
11
ESSample
(
int
adc
);
12
14
int16_t
raw
()
const
{
return
theSample
; }
16
int
adc
()
const
{
return
theSample
; }
18
int16_t
operator()
() {
return
theSample
; }
19
20
private
:
21
int16_t
theSample
;
22
};
23
24
std::ostream&
operator<<
(std::ostream&,
const
ESSample
&);
25
26
#endif
ESSample::operator()
int16_t operator()()
for streaming
Definition:
ESSample.h:18
ESSample::adc
int adc() const
get the ADC sample (singed 16 bits)
Definition:
ESSample.h:16
ESSample::raw
int16_t raw() const
get the raw word
Definition:
ESSample.h:14
ESSample::ESSample
ESSample()
Definition:
ESSample.h:9
ESSample::theSample
int16_t theSample
Definition:
ESSample.h:21
operator<<
std::ostream & operator<<(std::ostream &, const ESSample &)
Definition:
ESSample.cc:5
ESSample::ESSample
ESSample(int16_t data)
Definition:
ESSample.h:10
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:80
ESSample
Definition:
ESSample.h:7
Generated for CMSSW Reference Manual by
1.8.14