#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_ |
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(), B2GTnPMonitor_cfi::item, and jets_cff::payload.
void HGCalVFECompressionImpl::compressSingle | ( | const uint32_t | value, |
uint32_t & | compressedCode, | ||
uint32_t & | compressedValue | ||
) | const |
Definition at line 15 of file HGCalVFECompressionImpl.cc.
References HLT_2018_cff::exponent, mantissaBits_, rounding_, saturationCode_, saturationValue_, mitigatedMETSequence_cff::U, and relativeConstraints::value.
Referenced by HGCalConcentratorCoarsenerImpl::assignCoarseTriggerCellEnergy(), compress(), and HGCalConcentratorSuperTriggerCellImpl::getCompressedSTCEnergy().
|
private |
Definition at line 15 of file HGCalVFECompressionImpl.h.
Referenced by HGCalVFECompressionImpl().
|
private |
Definition at line 16 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 17 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle().
|
private |
Definition at line 18 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().
|
private |
Definition at line 19 of file HGCalVFECompressionImpl.h.
Referenced by compressSingle(), and HGCalVFECompressionImpl().