Main Page
Namespaces
Classes
Package Documentation
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
#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
void
compressSingle
(
const
uint32_t
value
, uint32_t& compressedCode, uint32_t& compressedValue)
const
;
13
14
private
:
15
uint32_t
exponentBits_
;
16
uint32_t
mantissaBits_
;
17
bool
rounding_
;
18
uint32_t
saturationCode_
;
19
uint32_t
saturationValue_
;
20
};
21
22
#endif
HGCalVFECompressionImpl::mantissaBits_
uint32_t mantissaBits_
Definition:
HGCalVFECompressionImpl.h:16
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:19
value
Definition:
value.py:1
HGCalVFECompressionImpl
Definition:
HGCalVFECompressionImpl.h:7
Exception.h
HGCalVFECompressionImpl::rounding_
bool rounding_
Definition:
HGCalVFECompressionImpl.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalVFECompressionImpl::saturationCode_
uint32_t saturationCode_
Definition:
HGCalVFECompressionImpl.h:18
HGCalVFECompressionImpl::compressSingle
void compressSingle(const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue) const
Definition:
HGCalVFECompressionImpl.cc:15
HGCalVFECompressionImpl::exponentBits_
uint32_t exponentBits_
Definition:
HGCalVFECompressionImpl.h:15
Generated for CMSSW Reference Manual by
1.8.11