10 #include <boost/circular_buffer.hpp> 34 std::vector<short> &uncompressed,
38 std::vector<short> &uncompressed,
42 void Compress(std::vector<short> &adc,
44 int &nearestneighbor);
45 void Compress(std::vector<short> &adc,
47 unsigned int &zerothreshold,
48 int &nearestneighbor);
49 void Compress(std::vector<short> &adc,
51 unsigned int &zerothreshold,
54 bool fADCStickyCodeFeature=
false);
68 void Compress(std::vector<short> &adc,
70 void Compress(std::vector<short> &adc,
72 unsigned int &zerothreshold);
74 void Compress(
const boost::circular_buffer<std::vector<short>> &adcvec_neighbors,
75 std::vector<short> &adc,
77 unsigned int &zerothreshold,
78 int &nearestneighbor);
80 void Compress(
const boost::circular_buffer<std::vector<short>> &adcvec_neighbors,
81 std::vector<short> &adc,
83 unsigned int &zerothreshold,
86 bool fADCStickyCodeFeature=
false);
91 std::vector<short> &uncompressed);
94 unsigned int &zerothreshold,
95 int &nearestneighbor);
98 unsigned int &zerothreshold,
100 int &nearestneighbor,
101 bool fADCStickyCodeFeature=
false);
105 unsigned int &zerothreshold);
107 void ZeroSuppression(
const boost::circular_buffer<std::vector<short>> &adcvec_neighbors,
108 std::vector<short> &adc,
109 unsigned int &zerothreshold,
110 int &nearestneighbor);
112 void ZeroSuppression(
const boost::circular_buffer<std::vector<short>> &adcvec_neighbors,
113 std::vector<short> &adc,
114 unsigned int &zerothreshold,
116 int &nearestneighbor,
117 bool fADCStickyCodeFeature=
false);
121 std::vector<short> &uncompressed);
124 std::vector<short> &uncompressed,
131 bool fADCStickyCodeFeature);
135 #endif // RAWDATA_RAW_H void CompressHuffman(std::vector< short > &adc)
enum raw::_compress Compress_t
void UncompressHuffman(const std::vector< short > &adc, std::vector< short > &uncompressed)
const unsigned int onemask
int ADCStickyCodeCheck(const short adc_value, const int pedestal, bool fADCStickyCodeFeature)
void ZeroUnsuppression(const std::vector< short > &adc, std::vector< short > &uncompressed)
void Compress(std::vector< short > &adc, raw::Compress_t compress)
Compresses a raw data buffer.
void Uncompress(const std::vector< short > &adc, std::vector< short > &uncompressed, raw::Compress_t compress)
Uncompresses a raw data buffer.
void ZeroSuppression(std::vector< short > &adc, unsigned int &zerothreshold)