Belle II Software development
ECLCompress Class Referenceabstract

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

#include <ECLCompress.h>

Inheritance diagram for ECLCompress:
ECLBaseCompress ECLDCTCompress ECLDeltaCompress

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.
 

Detailed Description

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

Definition at line 39 of file ECLCompress.h.

Constructor & Destructor Documentation

◆ ~ECLCompress()

virtual ~ECLCompress ( )
inlinevirtual

virtual destructure

Definition at line 42 of file ECLCompress.h.

42{};

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 ECLBaseCompress, ECLDeltaCompress, and ECLDCTCompress.

◆ 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 ECLDCTCompress, ECLBaseCompress, and ECLDeltaCompress.


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