RawTypes.h
Go to the documentation of this file.
1 #ifndef GAR_RAWTYPES_H
2 #define GAR_RAWTYPES_H
3 
4 #include <vector>
5 #include <cstdint>
6 #include <cstddef>
7 
8 namespace gar
9 {
10  namespace raw
11  {
12  typedef short ADC_t;
13  typedef std::vector<ADC_t> ADCvector_t;
14 
15  typedef enum _compress {
16  kNone, ///< no compression
17  kHuffman, ///< Huffman Encoding
18  kZeroSuppression, ///< Zero Suppression algorithm
19  kZeroHuffman, ///< Zero Suppression followed by Huffman Encoding
20  kDynamicDec ///< Dynamic decimation
21  } Compress_t;
22  }
23 }
24 #endif // GAR_RAWTYPES_H
std::vector< ADC_t > ADCvector_t
Definition: RawTypes.h:13
Zero Suppression followed by Huffman Encoding.
Definition: RawTypes.h:19
Dynamic decimation.
Definition: RawTypes.h:20
enum gar::raw::_compress Compress_t
Raw data description.
Zero Suppression algorithm.
Definition: RawTypes.h:18
short ADC_t
Definition: RawTypes.h:12
no compression
Definition: RawTypes.h:16
General GArSoft Utilities.
Huffman Encoding.
Definition: RawTypes.h:17