Main Page
Namespaces
Classes
Package Documentation
src
L1Trigger
L1THGCal
interface
veryfrontend
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
#include "
FWCore/Utilities/interface/Exception.h
"
6
7
class
HGCalVFECompressionImpl
{
8
public
:
9
HGCalVFECompressionImpl
(
const
edm::ParameterSet
& conf);
10
11
void
compress
(
const
std::unordered_map<uint32_t, uint32_t>&, std::unordered_map<uint32_t, std::array<uint32_t, 2> >&);
12
13
private
:
14
void
compressSingle
(
const
uint32_t
value
, uint32_t& compressedCode, uint32_t& compressedValue);
15
16
uint32_t
exponentBits_
;
17
uint32_t
mantissaBits_
;
18
bool
rounding_
;
19
uint32_t
saturationCode_
;
20
uint32_t
saturationValue_
;
21
};
22
23
#endif
HGCalVFECompressionImpl::mantissaBits_
uint32_t mantissaBits_
Definition:
HGCalVFECompressionImpl.h:17
HGCalVFECompressionImpl::HGCalVFECompressionImpl
HGCalVFECompressionImpl(const edm::ParameterSet &conf)
Definition:
HGCalVFECompressionImpl.cc:3
ParameterSet.h
HGCalVFECompressionImpl::compress
void compress(const std::unordered_map< uint32_t, uint32_t > &, std::unordered_map< uint32_t, std::array< uint32_t, 2 > > &)
Definition:
HGCalVFECompressionImpl.cc:65
HGCalVFECompressionImpl::saturationValue_
uint32_t saturationValue_
Definition:
HGCalVFECompressionImpl.h:20
value
Definition:
value.py:1
HGCalVFECompressionImpl
Definition:
HGCalVFECompressionImpl.h:7
Exception.h
HGCalVFECompressionImpl::rounding_
bool rounding_
Definition:
HGCalVFECompressionImpl.h:18
HGCalVFECompressionImpl::compressSingle
void compressSingle(const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue)
Definition:
HGCalVFECompressionImpl.cc:15
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalVFECompressionImpl::saturationCode_
uint32_t saturationCode_
Definition:
HGCalVFECompressionImpl.h:19
HGCalVFECompressionImpl::exponentBits_
uint32_t exponentBits_
Definition:
HGCalVFECompressionImpl.h:16
Generated for CMSSW Reference Manual by
1.8.11