![]() |
Belle II Software
release-08-02-05
|
Abstract class (interface) for ECL waveform compression/decompression to/from the BitStream storage. More...
#include <ECLCompress.h>

Public Member Functions | |
| virtual | ~ECLCompress () |
| virtual destructure | |
| virtual void | compress (BitStream &out, const int *adc)=0 |
| Compress the ECL waveform. More... | |
| virtual void | uncompress (BitStream &in, int *adc)=0 |
| Decompress the ECL waveform. More... | |
Abstract class (interface) for ECL waveform compression/decompression to/from the BitStream storage.
Definition at line 39 of file ECLCompress.h.
|
pure virtual |
Compress the ECL waveform.
| out | – where we stream the compressed data |
| adc | – the waveform to compress |
Implemented in ECLDCTCompress, ECLDeltaCompress, and ECLBaseCompress.
|
pure virtual |
Decompress the ECL waveform.
| in | – the stream from which we fetch the compressed data |
| adc | – the decompressed waveform |
Implemented in ECLDeltaCompress, ECLBaseCompress, and ECLDCTCompress.