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 <string>
#include "lz4frame.h"
Include dependency graph for midasio.cxx:

Go to the source code of this file.

Data Structures

class  ErrorReader
 
class  FileReader
 
class  PipeReader
 
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 578 of file midasio.cxx.

Here is the caller graph for this function:

◆ Errno()

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

Definition at line 34 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 862 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 904 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 558 of file midasio.cxx.

Here is the caller graph for this function:

◆ GetU32()

static uint32_t GetU32 ( const void *  ptr)
static

Definition at line 563 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 433 of file midasio.cxx.

Here is the caller graph for this function:

◆ Lz4Error()

static std::string Lz4Error ( int  errorCode)
static

Definition at line 253 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 568 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 573 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 46 of file midasio.cxx.

Here is the caller graph for this function:

◆ TMNewReader()

TMReaderInterface* TMNewReader ( const char *  source)

Definition at line 442 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 540 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 584 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 650 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 27 of file midasio.cxx.

Here is the caller graph for this function: