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
SimCalorimetry
HcalTrigPrimAlgos
interface
HcalFinegrainBit.h
Go to the documentation of this file.
1
#ifndef HcalSimAlgos_HcalFinegrainBit_h
2
#define HcalSimAlgos_HcalFinegrainBit_h
3
4
#include <array>
5
#include <bitset>
6
7
class
HcalFinegrainBit
{
8
public
:
9
// see the const definitions below for the meaning of the bit towers.
10
// Each bit is replicated for each depth level
11
typedef
std::array<std::bitset<6>, 2>
Tower
;
12
13
HcalFinegrainBit
(
int
version
) :
version_
(
version
){};
14
15
std::bitset<4>
compute
(
const
Tower
&)
const
;
16
17
private
:
18
// define the two bits in the tower
19
const
int
is_mip
= 0;
20
const
int
is_above_mip
= 1;
21
22
int
version_
;
23
};
24
25
#endif
HcalFinegrainBit::version_
int version_
Definition:
HcalFinegrainBit.h:22
HcalFinegrainBit
Definition:
HcalFinegrainBit.h:7
HcalFinegrainBit::HcalFinegrainBit
HcalFinegrainBit(int version)
Definition:
HcalFinegrainBit.h:13
HcalFinegrainBit::is_mip
const int is_mip
Definition:
HcalFinegrainBit.h:19
HcalFinegrainBit::Tower
std::array< std::bitset< 6 >, 2 > Tower
Definition:
HcalFinegrainBit.h:11
HcalFinegrainBit::compute
std::bitset< 4 > compute(const Tower &) const
Definition:
HcalFinegrainBit.cc:5
HcalFinegrainBit::is_above_mip
const int is_above_mip
Definition:
HcalFinegrainBit.h:20
BeamSplash_cfg.version
version
Definition:
BeamSplash_cfg.py:45
Generated for CMSSW Reference Manual by
1.8.16