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
DataFormats
EcalDigi
src
EcalLiteDTUSample.cc
Go to the documentation of this file.
1
#include "
DataFormats/EcalDigi/interface/EcalLiteDTUSample.h
"
2
#include <iostream>
3
4
EcalLiteDTUSample::EcalLiteDTUSample
(
int
adc
,
int
gainId
) {
5
theSample
= (
adc
&
ecalPh2::kAdcMask
) | ((
gainId
&
ecalPh2::kGainIdMask
) <<
ecalPh2::NBITS
);
6
}
7
8
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalLiteDTUSample
& samp) {
9
s
<<
"ADC="
<< samp.
adc
() <<
", gainId="
<< samp.
gainId
();
10
return
s
;
11
}
operator<<
std::ostream & operator<<(std::ostream &s, const EcalLiteDTUSample &samp)
Definition:
EcalLiteDTUSample.cc:8
EcalLiteDTUSample::EcalLiteDTUSample
EcalLiteDTUSample()
Definition:
EcalLiteDTUSample.h:27
ecalLiteDTU::gainId
constexpr int gainId(sample_type sample)
get the gainId (2 bits)
Definition:
EcalLiteDTUSample.h:14
ecalPh2::kGainIdMask
static constexpr unsigned int kGainIdMask
Definition:
EcalConstants.h:19
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition:
gpuClusterChargeCut.h:20
EcalLiteDTUSample.h
EcalLiteDTUSample::adc
int adc() const
get the ADC sample (12 bits)
Definition:
EcalLiteDTUSample.h:34
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EcalLiteDTUSample
Definition:
EcalLiteDTUSample.h:25
EcalLiteDTUSample::theSample
uint16_t theSample
Definition:
EcalLiteDTUSample.h:42
EcalLiteDTUSample::gainId
int gainId() const
get the gainId (2 bits)
Definition:
EcalLiteDTUSample.h:36
ecalPh2::kAdcMask
static constexpr unsigned int kAdcMask
Definition:
EcalConstants.h:18
ecalPh2::NBITS
static constexpr unsigned int NBITS
Definition:
EcalConstants.h:13
Generated for CMSSW Reference Manual by
1.8.16