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
EcalPseudoStripInputSample.h
Go to the documentation of this file.
1
#ifndef ECALPSEUDOSTRIPINPUTSAMPLE_H
2
#define ECALPSEUDOSTRIPINPUTSAMPLE_H
3
4
#include <ostream>
5
#include <cstdint>
6
12
class
EcalPseudoStripInputSample
{
13
public
:
14
EcalPseudoStripInputSample
();
15
EcalPseudoStripInputSample
(uint16_t
data
);
16
EcalPseudoStripInputSample
(
int
pseudoStripInput
,
bool
finegrain);
17
19
void
setValue
(uint16_t
data
) {
theSample
=
data
; }
21
uint16_t
raw
()
const
{
return
theSample
; }
23
int
pseudoStripInput
()
const
{
return
theSample
& 0xFFF; }
25
bool
fineGrain
()
const
{
return
(
theSample
& 0x1000) != 0; }
26
28
uint16_t
operator()
() {
return
theSample
; }
29
30
private
:
31
uint16_t
theSample
;
32
};
33
34
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalPseudoStripInputSample
& samp);
35
36
#endif
EcalPseudoStripInputSample::operator()
uint16_t operator()()
for streaming
Definition:
EcalPseudoStripInputSample.h:28
EcalPseudoStripInputSample::pseudoStripInput
int pseudoStripInput() const
get the pseudoStrip Input amplitude (12 bits)
Definition:
EcalPseudoStripInputSample.h:23
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EcalPseudoStripInputSample::EcalPseudoStripInputSample
EcalPseudoStripInputSample()
Definition:
EcalPseudoStripInputSample.cc:3
EcalPseudoStripInputSample::raw
uint16_t raw() const
get the raw word
Definition:
EcalPseudoStripInputSample.h:21
EcalPseudoStripInputSample::theSample
uint16_t theSample
Definition:
EcalPseudoStripInputSample.h:31
operator<<
std::ostream & operator<<(std::ostream &s, const EcalPseudoStripInputSample &samp)
Definition:
EcalPseudoStripInputSample.cc:10
EcalPseudoStripInputSample::setValue
void setValue(uint16_t data)
Set data.
Definition:
EcalPseudoStripInputSample.h:19
EcalPseudoStripInputSample
Definition:
EcalPseudoStripInputSample.h:12
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:80
EcalPseudoStripInputSample::fineGrain
bool fineGrain() const
get the fine-grain bit (1 bit, the 13-th)
Definition:
EcalPseudoStripInputSample.h:25
Generated for CMSSW Reference Manual by
1.8.14