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
HcalDigi
interface
HcalLaserDigi.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALDIGI_HCALLASERDIGI_H
2
#define DATAFORMATS_HCALDIGI_HCALLASERDIGI_H 1
3
4
#include <vector>
5
#include <cstdint>
6
7
class
HcalLaserDigi
{
8
public
:
9
HcalLaserDigi
();
10
void
setQADC
(
const
std::vector<uint16_t>&
values
);
11
uint16_t
qadc
(
int
i
)
const
{
return
((
i
>= 0 &&
i
< 32) ? (
qadcraw_
[
i
]) : (0)); }
12
void
addTDCHit
(
int
channel,
int
hittime);
13
size_t
tdcHits
()
const
{
return
tdcraw_
.size(); }
14
int
hitChannel
(
size_t
ihit)
const
;
15
int
hitRaw
(
size_t
ihit)
const
;
16
double
hitNS
(
size_t
ihit)
const
;
17
void
setLaserControl
(
int
att1,
int
att2,
int
select
);
18
int
attenuator1
()
const
{
return
attenuator1_
; }
19
int
attenuator2
()
const
{
return
attenuator2_
; }
20
int
selector
()
const
{
return
selector_
; }
21
22
private
:
23
uint16_t
qadcraw_
[32];
24
std::vector<uint32_t>
tdcraw_
;
25
int32_t
attenuator1_
,
attenuator2_
;
26
int32_t
selector_
;
27
};
28
29
#endif // DATAFORMATS_HCALDIGI_HCALLASERDIGI_H
mps_fire.i
i
Definition:
mps_fire.py:428
HcalLaserDigi::attenuator2
int attenuator2() const
Definition:
HcalLaserDigi.h:19
HcalLaserDigi::hitChannel
int hitChannel(size_t ihit) const
Definition:
HcalLaserDigi.cc:21
HcalLaserDigi::attenuator1_
int32_t attenuator1_
Definition:
HcalLaserDigi.h:25
HcalLaserDigi::qadc
uint16_t qadc(int i) const
Definition:
HcalLaserDigi.h:11
singleTopDQM_cfi.select
select
Definition:
singleTopDQM_cfi.py:50
HcalLaserDigi::HcalLaserDigi
HcalLaserDigi()
Definition:
HcalLaserDigi.cc:3
HcalLaserDigi::addTDCHit
void addTDCHit(int channel, int hittime)
Definition:
HcalLaserDigi.cc:16
HcalLaserDigi::qadcraw_
uint16_t qadcraw_[32]
Definition:
HcalLaserDigi.h:23
HcalLaserDigi::tdcHits
size_t tdcHits() const
Definition:
HcalLaserDigi.h:13
contentValuesCheck.values
values
Definition:
contentValuesCheck.py:38
HcalLaserDigi::selector
int selector() const
Definition:
HcalLaserDigi.h:20
HcalLaserDigi::attenuator2_
int32_t attenuator2_
Definition:
HcalLaserDigi.h:25
HcalLaserDigi::setQADC
void setQADC(const std::vector< uint16_t > &values)
Definition:
HcalLaserDigi.cc:11
HcalLaserDigi::hitRaw
int hitRaw(size_t ihit) const
Definition:
HcalLaserDigi.cc:28
HcalLaserDigi::setLaserControl
void setLaserControl(int att1, int att2, int select)
Definition:
HcalLaserDigi.cc:37
HcalLaserDigi::tdcraw_
std::vector< uint32_t > tdcraw_
Definition:
HcalLaserDigi.h:24
HcalLaserDigi::attenuator1
int attenuator1() const
Definition:
HcalLaserDigi.h:18
HcalLaserDigi
Definition:
HcalLaserDigi.h:7
HcalLaserDigi::hitNS
double hitNS(size_t ihit) const
Definition:
HcalLaserDigi.cc:35
HcalLaserDigi::selector_
int32_t selector_
Definition:
HcalLaserDigi.h:26
Generated for CMSSW Reference Manual by
1.8.16