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(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) const