CMS 3D CMS Logo

HGCalVFECompressionImpl.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalVFECompressionImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalVFECompressionImpl_h__
3 
6 
8 public:
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::saturationCode_
uint32_t saturationCode_
Definition: HGCalVFECompressionImpl.h:18
HGCalVFECompressionImpl::exponentBits_
uint32_t exponentBits_
Definition: HGCalVFECompressionImpl.h:15
HGCalVFECompressionImpl::rounding_
bool rounding_
Definition: HGCalVFECompressionImpl.h:17
HGCalVFECompressionImpl::mantissaBits_
uint32_t mantissaBits_
Definition: HGCalVFECompressionImpl.h:16
HGCalVFECompressionImpl
Definition: HGCalVFECompressionImpl.h:7
edm::ParameterSet
Definition: ParameterSet.h:36
value
Definition: value.py:1
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
Exception.h
HGCalVFECompressionImpl::HGCalVFECompressionImpl
HGCalVFECompressionImpl(const edm::ParameterSet &conf)
Definition: HGCalVFECompressionImpl.cc:3
HGCalVFECompressionImpl::compressSingle
void compressSingle(const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue) const
Definition: HGCalVFECompressionImpl.cc:15
ParameterSet.h