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 
13 private:
14  void compressSingle(const uint32_t value, uint32_t& compressedCode, uint32_t& compressedValue);
15 
16  uint32_t exponentBits_;
17  uint32_t mantissaBits_;
18  bool rounding_;
19  uint32_t saturationCode_;
20  uint32_t saturationValue_;
21 };
22 
23 #endif
HGCalVFECompressionImpl(const edm::ParameterSet &conf)
void compress(const std::unordered_map< uint32_t, uint32_t > &, std::unordered_map< uint32_t, std::array< uint32_t, 2 > > &)
Definition: value.py:1
void compressSingle(const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue)