Namespaces | Functions | Variables
raw.h File Reference
#include <vector>
#include <map>
#include <functional>
#include <boost/circular_buffer.hpp>
#include "larcoreobj/SimpleTypesAndConstants/RawTypes.h"

Go to the source code of this file.

Namespaces

 raw
 Raw data description.
 

Functions

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::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, 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 (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, unsigned int &zerothreshold)
 
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 (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::CompressHuffman (std::vector< short > &adc)
 
void raw::UncompressHuffman (const std::vector< short > &adc, std::vector< short > &uncompressed)
 
short raw::fibonacci_decode (std::vector< bool > &chunk)
 
void raw::fibonacci_encode_table (int end, std::vector< std::vector< bool >> &table)
 
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::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 (std::vector< short > &adc, unsigned int &zerothreshold)
 
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)
 
int raw::ADCStickyCodeCheck (const short adc_value, const int pedestal, bool fADCStickyCodeFeature)
 

Variables

const unsigned int raw::onemask = 0x003f