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
TBDataFormats
EcalTBObjects
src
EcalTBTDCSample.cc
Go to the documentation of this file.
1
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBTDCSample.h
"
2
3
EcalTBTDCSample::EcalTBTDCSample
(
unsigned
int
tdcChan,
unsigned
int
tdcVal) {
4
theSample
= (tdcVal & 0xFFFFFF) | ((tdcChan & 0xFF) << 24);
5
}
6
7
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalTBTDCSample
& samp) {
8
s
<<
"TDC Channel="
<< samp.
tdcChannel
() <<
", Value="
<< samp.
tdcValue
();
9
return
s
;
10
}
operator<<
std::ostream & operator<<(std::ostream &s, const EcalTBTDCSample &samp)
Definition:
EcalTBTDCSample.cc:7
EcalTBTDCSample::tdcValue
unsigned int tdcValue() const
get the ADC sample (24 bits)
Definition:
EcalTBTDCSample.h:23
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EcalTBTDCSample::EcalTBTDCSample
EcalTBTDCSample()
Definition:
EcalTBTDCSample.h:16
EcalTBTDCSample::tdcChannel
unsigned int tdcChannel() const
get the gainId (8 bits)
Definition:
EcalTBTDCSample.h:25
EcalTBTDCSample::theSample
uint32_t theSample
Definition:
EcalTBTDCSample.h:30
EcalTBTDCSample
Definition:
EcalTBTDCSample.h:14
EcalTBTDCSample.h
Generated for CMSSW Reference Manual by
1.8.14