Classes | |
class | EventDecoder |
struct | evheader_t |
struct | footer_t |
class | formatexception |
class | HuffDataCompressor |
class | LogStream |
struct | runheader_t |
struct | trigger_t |
Typedefs | |
typedef char | BYTE |
typedef uint16_t | adc16_t |
typedef struct dlardaq::trigger_t | trigger_t |
typedef struct dlardaq::runheader_t | runheader_t |
typedef struct dlardaq::evheader_t | evheader_t |
typedef struct dlardaq::footer_t | footer_t |
Functions | |
void | pack16into12 (const void *in, void *out, size_t n) |
void | unpack12into16 (const void *in, void *out, size_t n) |
void | write12 (const char *fname, std::vector< adc16_t > &adc) |
void | read12 (const char *fname, std::vector< adc16_t > &adc) |
template<typename T > | |
T | ConvertToValue (const void *in) |
ssize_t | decode_runhead (const char *buf, runheader_t &rh) |
ssize_t | decode_evehead (const char *buf, evheader_t &eh) |
ssize_t | decode_filefoot (const char *buf, footer_t &rf) |
static LogStream | msg_info (std::cout, _strinfo) |
static LogStream | msg_warn (std::cout, _strwarn) |
static LogStream | msg_err (std::cerr, _strerror) |
Variables | |
static formatexception | fex |
static const size_t | RunHeadSz = 5 |
static const size_t | EveHeadSz = 35 |
static const size_t | FileFootSz = 4 |
static const short | BitsADC = 12 |
static std::string | _strinfo = "[ \033[22;32mINFO\033[0m ] " |
static std::string | _strwarn = "[ \033[01;35mWARN\033[0m ] " |
static std::string | _strerror = "[ \033[22;31mERROR\033[0m ] " |
typedef uint16_t dlardaq::adc16_t |
typedef char dlardaq::BYTE |
typedef struct dlardaq::evheader_t dlardaq::evheader_t |
typedef struct dlardaq::footer_t dlardaq::footer_t |
typedef struct dlardaq::runheader_t dlardaq::runheader_t |
typedef struct dlardaq::trigger_t dlardaq::trigger_t |
T dlardaq::ConvertToValue | ( | const void * | in | ) |
ssize_t dlardaq::decode_evehead | ( | const char * | buf, |
dlardaq::evheader_t & | eh | ||
) |
Definition at line 174 of file dlardaq_service.cc.
ssize_t dlardaq::decode_filefoot | ( | const char * | buf, |
dlardaq::footer_t & | rf | ||
) |
Definition at line 221 of file dlardaq_service.cc.
ssize_t dlardaq::decode_runhead | ( | const char * | buf, |
dlardaq::runheader_t & | rh | ||
) |
Definition at line 146 of file dlardaq_service.cc.
void dlardaq::pack16into12 | ( | const void * | in, |
void * | out, | ||
size_t | n | ||
) |
Definition at line 30 of file dlardaq_service.cc.
void dlardaq::read12 | ( | const char * | fname, |
std::vector< adc16_t > & | adc | ||
) |
Definition at line 105 of file dlardaq_service.cc.
void dlardaq::unpack12into16 | ( | const void * | in, |
void * | out, | ||
size_t | n | ||
) |
Definition at line 52 of file dlardaq_service.cc.
void dlardaq::write12 | ( | const char * | fname, |
std::vector< adc16_t > & | adc | ||
) |
Definition at line 74 of file dlardaq_service.cc.
|
static |
|
static |
|
static |
|
static |