![]() |
Belle II Software development
|
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. | |
| virtual void | uncompress (BitStream &in, int *adc)=0 |
| Decompress the ECL waveform. | |
Abstract class (interface) for ECL waveform compression/decompression to/from the BitStream storage.
Definition at line 39 of file ECLCompress.h.
|
inlinevirtual |
virtual destructure
Definition at line 42 of file ECLCompress.h.
|
pure virtual |
Compress the ECL waveform.
| out | – where we stream the compressed data |
| adc | – the waveform to compress |
Implemented in ECLBaseCompress, ECLDCTCompress, and ECLDeltaCompress.
|
pure virtual |
Decompress the ECL waveform.
| in | – the stream from which we fetch the compressed data |
| adc | – the decompressed waveform |
Implemented in ECLBaseCompress, ECLDCTCompress, and ECLDeltaCompress.