ROOTANA
Data Structures | Functions
midasio.cxx File Reference
#include "midasio.h"
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <ctime>
#include <string>
#include <zlib.h>
#include "mlz4frame.h"
Include dependency graph for midasio.cxx:

Go to the source code of this file.

Data Structures

class  ErrorReader
 
class  FileReader
 
class  PipeReader
 
class  ZlibReader
 
class  Lz4Reader
 
class  FileWriter
 

Functions

static std::string to_string (int v)
 
static std::string Errno (const char *s)
 
static int ReadPipe (FILE *fp, char *buf, int length)
 
static std::string Lz4Error (int errorCode)
 
static int hasSuffix (const char *name, const char *suffix)
 
TMReaderInterfaceTMNewReader (const char *source)
 
TMWriterInterfaceTMNewWriter (const char *destination)
 
static uint16_t GetU16 (const void *ptr)
 
static uint32_t GetU32 (const void *ptr)
 
static void PutU16 (char *ptr, uint16_t v)
 
static void PutU32 (char *ptr, uint32_t v)
 
static size_t Align8 (size_t size)
 
TMEventTMReadEvent (TMReaderInterface *reader)
 
void TMWriteEvent (TMWriterInterface *writer, const TMEvent *event)
 
static size_t FindFirstBank (TMEvent *e)
 
static size_t FindNextBank (TMEvent *e, size_t pos, TMBank **pb)
 

Function Documentation

◆ Align8()

static size_t Align8 ( size_t  size)
static

Definition at line 579 of file midasio.cxx.

Here is the caller graph for this function:

◆ Errno()

static std::string Errno ( const char *  s)
static

Definition at line 35 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindFirstBank()

static size_t FindFirstBank ( TMEvent e)
static

Definition at line 869 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindNextBank()

static size_t FindNextBank ( TMEvent e,
size_t  pos,
TMBank **  pb 
)
static

Definition at line 911 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetU16()

static uint16_t GetU16 ( const void *  ptr)
static

Definition at line 559 of file midasio.cxx.

Here is the caller graph for this function:

◆ GetU32()

static uint32_t GetU32 ( const void *  ptr)
static

Definition at line 564 of file midasio.cxx.

Here is the caller graph for this function:

◆ hasSuffix()

static int hasSuffix ( const char *  name,
const char *  suffix 
)
static

Definition at line 438 of file midasio.cxx.

Here is the caller graph for this function:

◆ Lz4Error()

static std::string Lz4Error ( int  errorCode)
static

Definition at line 251 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PutU16()

static void PutU16 ( char *  ptr,
uint16_t  v 
)
static

Definition at line 569 of file midasio.cxx.

Here is the caller graph for this function:

◆ PutU32()

static void PutU32 ( char *  ptr,
uint32_t  v 
)
static

Definition at line 574 of file midasio.cxx.

Here is the caller graph for this function:

◆ ReadPipe()

static int ReadPipe ( FILE *  fp,
char *  buf,
int  length 
)
static

Definition at line 47 of file midasio.cxx.

Here is the caller graph for this function:

◆ TMNewReader()

TMReaderInterface* TMNewReader ( const char *  source)

Definition at line 447 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TMNewWriter()

TMWriterInterface* TMNewWriter ( const char *  destination)

Definition at line 543 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TMReadEvent()

TMEvent* TMReadEvent ( TMReaderInterface reader)

Definition at line 585 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TMWriteEvent()

void TMWriteEvent ( TMWriterInterface writer,
const TMEvent event 
)

Definition at line 651 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_string()

static std::string to_string ( int  v)
static

Definition at line 28 of file midasio.cxx.

Here is the caller graph for this function: