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
L1Trigger
L1THGCal
interface
HGCalVFECompressionImpl.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalVFECompressionImpl_h__
2
#define __L1Trigger_L1THGCal_HGCalVFECompressionImpl_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include <unordered_map>
7
#include <array>
8
9
class
HGCalVFECompressionImpl
{
10
public
:
11
HGCalVFECompressionImpl
(
const
edm::ParameterSet
& conf);
12
13
void
compress
(
const
std::unordered_map<uint32_t, uint32_t>&, std::unordered_map<uint32_t, std::array<uint64_t, 2> >&);
14
void
compressSingle
(
const
uint64_t
value
, uint32_t& compressedCode,
uint64_t
& compressedValue)
const
;
15
16
private
:
17
uint32_t
exponentBits_
;
18
uint32_t
mantissaBits_
;
19
uint32_t
truncationBits_
;
20
bool
rounding_
;
21
uint32_t
saturationCode_
;
22
uint64_t
saturationValue_
;
23
};
24
25
#endif
HGCalVFECompressionImpl::mantissaBits_
uint32_t mantissaBits_
Definition:
HGCalVFECompressionImpl.h:18
HGCalVFECompressionImpl::HGCalVFECompressionImpl
HGCalVFECompressionImpl(const edm::ParameterSet &conf)
Definition:
HGCalVFECompressionImpl.cc:5
ParameterSet.h
HGCalVFECompressionImpl::compressSingle
void compressSingle(const uint64_t value, uint32_t &compressedCode, uint64_t &compressedValue) const
Definition:
HGCalVFECompressionImpl.cc:19
value
Definition:
value.py:1
HGCalVFECompressionImpl::truncationBits_
uint32_t truncationBits_
Definition:
HGCalVFECompressionImpl.h:19
HGCalVFECompressionImpl
Definition:
HGCalVFECompressionImpl.h:9
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
HGCalVFECompressionImpl::rounding_
bool rounding_
Definition:
HGCalVFECompressionImpl.h:20
edm::ParameterSet
Definition:
ParameterSet.h:48
HGCalVFECompressionImpl::compress
void compress(const std::unordered_map< uint32_t, uint32_t > &, std::unordered_map< uint32_t, std::array< uint64_t, 2 > > &)
Definition:
HGCalVFECompressionImpl.cc:71
HGCalVFECompressionImpl::saturationCode_
uint32_t saturationCode_
Definition:
HGCalVFECompressionImpl.h:21
HGCalVFECompressionImpl::saturationValue_
uint64_t saturationValue_
Definition:
HGCalVFECompressionImpl.h:22
HGCalVFECompressionImpl::exponentBits_
uint32_t exponentBits_
Definition:
HGCalVFECompressionImpl.h:17
Generated for CMSSW Reference Manual by
1.8.14