#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 > > &) |
void | compressSingle (const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue) const |
HGCalVFECompressionImpl (const edm::ParameterSet &conf) | |
Private Attributes | |
uint32_t | exponentBits_ |
uint32_t | mantissaBits_ |
bool | rounding_ |
uint32_t | saturationCode_ |
uint32_t | saturationValue_ |
uint32_t | truncationBits_ |
Definition at line 9 of file HGCalVFECompressionImpl.h.
HGCalVFECompressionImpl::HGCalVFECompressionImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 5 of file HGCalVFECompressionImpl.cc.
References Exception, exponentBits_, mantissaBits_, saturationCode_, saturationValue_, and truncationBits_.
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 71 of file HGCalVFECompressionImpl.cc.
References compressSingle(), B2GTnPMonitor_cfi::item, and relativeConstraints::value.
void HGCalVFECompressionImpl::compressSingle | ( | const uint32_t | value, |
uint32_t & | compressedCode, | ||
uint32_t & | compressedValue | ||
) | const |
Definition at line 19 of file HGCalVFECompressionImpl.cc.
References HLT_FULL_cff::exponent, mantissaBits_, rounding_, saturationCode_, saturationValue_, and truncationBits_.
Referenced by HGCalConcentratorCoarsenerImpl::assignCoarseTriggerCellEnergy(), compress(), and HGCalConcentratorSuperTriggerCellImpl::getCompressedSTCEnergy().
|
private |
Definition at line 17 of file HGCalVFECompressionImpl.h.
Referenced by HGCalVFECompressionImpl().
|
private |
Definition at line 18 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 20 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle().
|
private |
Definition at line 21 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 22 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 19 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().