#include <HGCalVFECompressionImpl.h>
Public Member Functions | |
void | compress (const std::unordered_map< uint32_t, uint32_t > &, std::unordered_map< uint32_t, std::array< uint32_t, 2 > > &) |
HGCalVFECompressionImpl (const edm::ParameterSet &conf) | |
Private Member Functions | |
void | compressSingle (const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue) |
Private Attributes | |
uint32_t | exponentBits_ |
uint32_t | mantissaBits_ |
bool | rounding_ |
uint32_t | saturationCode_ |
uint32_t | saturationValue_ |
Definition at line 7 of file HGCalVFECompressionImpl.h.
HGCalVFECompressionImpl::HGCalVFECompressionImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 3 of file HGCalVFECompressionImpl.cc.
References Exception, exponentBits_, mantissaBits_, saturationCode_, and saturationValue_.
void HGCalVFECompressionImpl::compress | ( | const std::unordered_map< uint32_t, uint32_t > & | payload, |
std::unordered_map< uint32_t, std::array< uint32_t, 2 > > & | compressed_payload | ||
) |
Definition at line 65 of file HGCalVFECompressionImpl.cc.
References compressSingle().
|
private |
Definition at line 15 of file HGCalVFECompressionImpl.cc.
References dedxEstimators_cff::exponent, mantissaBits_, rounding_, saturationCode_, saturationValue_, mitigatedMETSequence_cff::U, and relativeConstraints::value.
Referenced by compress().
|
private |
Definition at line 16 of file HGCalVFECompressionImpl.h.
Referenced by HGCalVFECompressionImpl().
|
private |
Definition at line 17 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 18 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle().
|
private |
Definition at line 19 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 20 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().