Belle II Software  release-08-01-10
ECLCompress Class Referenceabstract

Abstract class (interface) for ECL waveform compression/decompression to/from the BitStream storage. More...

#include <ECLCompress.h>

Inheritance diagram for ECLCompress:

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...
 

Detailed Description

Abstract class (interface) for ECL waveform compression/decompression to/from the BitStream storage.

Definition at line 39 of file ECLCompress.h.

Member Function Documentation

◆ compress()

virtual void compress ( BitStream out,
const int *  adc 
)
pure virtual

Compress the ECL waveform.

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

Implemented in ECLDCTCompress, ECLDeltaCompress, and ECLBaseCompress.

◆ uncompress()

virtual void uncompress ( BitStream in,
int *  adc 
)
pure virtual

Decompress the ECL waveform.

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

Implemented in ECLDeltaCompress, ECLBaseCompress, and ECLDCTCompress.


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