Namespaces | Functions
raw.cxx File Reference
#include "lardataobj/RawData/raw.h"
#include <iostream>
#include <bitset>
#include <numeric>
#include <iterator>
#include "cetlib_except/exception.h"
#include "messagefacility/MessageLogger/MessageLogger.h"

Go to the source code of this file.

Namespaces

 raw
 Raw data description.
 

Functions

void raw::Compress (std::vector< short > &adc, raw::Compress_t compress)
 Compresses a raw data buffer. More...
 
void raw::Compress (std::vector< short > &adc, raw::Compress_t compress, int &nearestneighbor)
 
void raw::Compress (std::vector< short > &adc, raw::Compress_t compress, unsigned int &zerothreshold)
 
void raw::Compress (std::vector< short > &adc, raw::Compress_t compress, unsigned int &zerothreshold, int &nearestneighbor)
 
void raw::Compress (const boost::circular_buffer< std::vector< short >> &adcvec_neighbors, std::vector< short > &adc, raw::Compress_t compress, unsigned int &zerothreshold, int &nearestneighbor)
 
void raw::Compress (std::vector< short > &adc, raw::Compress_t compress, unsigned int &zerothreshold, int pedestal, int &nearestneighbor, bool fADCStickyCodeFeature)
 
void raw::Compress (const boost::circular_buffer< std::vector< short >> &adcvec_neighbors, std::vector< short > &adc, raw::Compress_t compress, unsigned int &zerothreshold, int pedestal, int &nearestneighbor, bool fADCStickyCodeFeature)
 
void raw::ZeroSuppression (std::vector< short > &adc, unsigned int &zerothreshold)
 
void raw::ZeroSuppression (std::vector< short > &adc, unsigned int &zerothreshold, int &nearestneighbor)
 
void raw::ZeroSuppression (std::vector< short > &adc, unsigned int &zerothreshold, int pedestal, int &nearestneighbor, bool fADCStickyCodeFeature)
 
void raw::ZeroSuppression (const boost::circular_buffer< std::vector< short >> &adcvec_neighbors, std::vector< short > &adc, unsigned int &zerothreshold, int &nearestneighbor)
 
void raw::ZeroSuppression (const boost::circular_buffer< std::vector< short >> &adcvec_neighbors, std::vector< short > &adc, unsigned int &zerothreshold, int pedestal, int &nearestneighbor, bool fADCStickyCodeFeature)
 
void raw::ZeroUnsuppression (const std::vector< short > &adc, std::vector< short > &uncompressed)
 
void raw::ZeroUnsuppression (const std::vector< short > &adc, std::vector< short > &uncompressed, int pedestal)
 
void raw::Uncompress (const std::vector< short > &adc, std::vector< short > &uncompressed, raw::Compress_t compress)
 Uncompresses a raw data buffer. More...
 
void raw::Uncompress (const std::vector< short > &adc, std::vector< short > &uncompressed, int pedestal, raw::Compress_t compress)
 
void raw::CompressHuffman (std::vector< short > &adc)
 
void raw::UncompressHuffman (const std::vector< short > &adc, std::vector< short > &uncompressed)
 
int raw::ADCStickyCodeCheck (const short adc_value, const int pedestal, bool fADCStickyCodeFeature)
 
void raw::add_to_sequence_terminate (std::vector< bool > array, std::vector< bool > &cmp)
 
void raw::CompressFibonacci (std::vector< short > &wf, std::function< void(int, std::vector< std::vector< bool >> &)> add_to_table)
 
void raw::UncompressFibonacci (const std::vector< short > &adc, std::vector< short > &uncompressed, std::function< int(std::vector< bool > &)> decode_table_chunk)
 
void raw::fibonacci_encode_table (int end, std::vector< std::vector< bool >> &table)
 
short raw::fibonacci_decode (std::vector< bool > &chunk)