Belle II Software  release-06-01-15
ECLDeltaCompress Class Reference

ECL waveform compression/decompression to/from the BitStream storage with the DELTA algorithm. More...

#include <ECLCompress.h>

Inheritance diagram for ECLDeltaCompress:
Collaboration diagram for ECLDeltaCompress:

Public Member Functions

void compress (BitStream &out, const int *adc) override
 Compress the ECL waveform. More...
 
void uncompress (BitStream &out, int *adc) override
 Decompress the ECL waveform. More...
 

Detailed Description

ECL waveform compression/decompression to/from the BitStream storage with the DELTA algorithm.

Definition at line 137 of file ECLCompress.h.

Member Function Documentation

◆ compress()

void compress ( BitStream out,
const int *  adc 
)
overridevirtual

Compress the ECL waveform.

Parameters
out– where we stream the compressed data
adc– the waveform to compress

Implements ECLCompress.

Definition at line 59 of file ECLCompress.cc.

◆ uncompress()

void uncompress ( BitStream in,
int *  adc 
)
overridevirtual

Decompress the ECL waveform.

Parameters
in– the stream from which we fetch the compressed data
adc– the decompressed waveform

Implements ECLCompress.

Definition at line 84 of file ECLCompress.cc.


The documentation for this class was generated from the following files: