LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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,
14  } Compress_t;
15 
16  typedef enum _auxdettype {
21  } AuxDetType_t;
22 
24  typedef int TDCtick_t;
25 
27  typedef unsigned int ChannelID_t;
28 
30  constexpr ChannelID_t InvalidChannelID
32 
33 
36  inline constexpr bool isValidChannelID(raw::ChannelID_t channel)
37  { return channel != InvalidChannelID; }
38 
39 } // namespace raw
40 
41 #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:20
Scintillator paddle.
Definition: RawTypes.h:18
no compression
Definition: RawTypes.h:9
int TDCtick_t
Type representing a TDC tick.
Definition: RawTypes.h:24
_auxdettype
Definition: RawTypes.h:16
Zero Suppression algorithm.
Definition: RawTypes.h:11
Int_t max
Definition: plot.C:27
constexpr ChannelID_t InvalidChannelID
ID of an invalid channel.
Definition: RawTypes.h:31
constexpr bool isValidChannelID(raw::ChannelID_t channel)
Definition: RawTypes.h:36
Time of flight.
Definition: RawTypes.h:19
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:27
Dynamic decimation.
Definition: RawTypes.h:13