LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
RawTypes.h
Go to the documentation of this file.
1 #ifndef RAW_TYPES_H
2 #define RAW_TYPES_H
3 
4 #include <limits> // std::numeric_limits<>
5 
6 namespace raw {
7 
8  typedef enum _compress {
9  kNone,
15  } Compress_t;
16 
17  typedef enum _auxdettype {
22  } AuxDetType_t;
23 
25  typedef int TDCtick_t;
26 
28  typedef unsigned int ChannelID_t;
29 
31  constexpr ChannelID_t InvalidChannelID = std::numeric_limits<ChannelID_t>::max();
32 
35  inline constexpr bool isValidChannelID(raw::ChannelID_t channel)
36  {
37  return channel != InvalidChannelID;
38  }
39 
40 } // namespace raw
41 
42 #endif
Huffman Encoding.
Definition: RawTypes.h:10
enum raw::_compress Compress_t
_compress
Definition: RawTypes.h:8
enum raw::_auxdettype AuxDetType_t
Zero Suppression followed by Huffman Encoding.
Definition: RawTypes.h:12
Raw data description.
Definition: RawTypes.h:6
Cherenkov counter.
Definition: RawTypes.h:21
Scintillator paddle.
Definition: RawTypes.h:19
no compression
Definition: RawTypes.h:9
int TDCtick_t
Type representing a TDC tick.
Definition: RawTypes.h:25
_auxdettype
Definition: RawTypes.h:17
Zero Suppression algorithm.
Definition: RawTypes.h:11
constexpr ChannelID_t InvalidChannelID
ID of an invalid channel.
Definition: RawTypes.h:31
constexpr bool isValidChannelID(raw::ChannelID_t channel)
Definition: RawTypes.h:35
Fibonacci encoding.
Definition: RawTypes.h:14
Time of flight.
Definition: RawTypes.h:20
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28
Dynamic decimation.
Definition: RawTypes.h:13