6 #ifndef GAR_RAWDATA_RAW_H 7 #define GAR_RAWDATA_RAW_H 96 #endif // GAR_RAWDATA_RAW_H std::vector< ADC_t > ADCvector_t
void CompressHuffman(gar::raw::ADCvector_t &adc)
void ZeroUnsuppression(const gar::raw::ADCvector_t &adc, gar::raw::ADCvector_t &uncompressed, gar::raw::ADC_t pedestal)
int ZeroSuppression(gar::raw::ADCvector_t &adc, gar::raw::ADC_t zerothreshold, size_t ticksbefore_in, size_t ticksafter_in)
void UncompressHuffman(const gar::raw::ADCvector_t &adc, gar::raw::ADCvector_t &uncompressed)
enum gar::raw::_compress Compress_t
General GArSoft Utilities.
void Uncompress(const gar::raw::ADCvector_t &adc, gar::raw::ADCvector_t &uncompressed, gar::raw::Compress_t compress)
Uncompresses a raw data buffer.
void Compress(gar::raw::ADCvector_t &adc, gar::raw::Compress_t compress)
In-place compression of raw data buffer.