Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hddm_t.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <particleType.h>

Go to the source code of this file.

Classes

struct  t_Hit_t
 
struct  t_Hits_t
 
struct  t_Side_t
 
struct  t_Sides_t
 
struct  t_Slab_t
 
struct  t_Slabs_t
 
struct  t_ForwardTOF_t
 
struct  t_HDDM_t
 
struct  t_iostream
 

Macros

#define SAW_t_Side_t
 
#define SAW_t_Slab_t
 
#define SAW_t_ForwardTOF_t
 
#define SAW_t_HDDM_t
 
#define t_DocumentString
 
#define HDDM_STREAM_INPUT   -91
 
#define HDDM_STREAM_OUTPUT   -92
 

Functions

t_Hits_tmake_t_Hits (int n)
 
t_Sides_tmake_t_Sides (int n)
 
t_Slabs_tmake_t_Slabs (int n)
 
t_ForwardTOF_tmake_t_ForwardTOF ()
 
t_HDDM_tmake_t_HDDM ()
 
t_HDDM_tread_t_HDDM (t_iostream *fp)
 
int flush_t_HDDM (t_HDDM_t *p, t_iostream *fp)
 
t_iostreamopen_t_HDDM (char *filename)
 
t_iostreaminit_t_HDDM (char *filename)
 
void close_t_HDDM (t_iostream *fp)
 

Variables

char HDDM_t_DocumentString []
 

Macro Definition Documentation

#define HDDM_STREAM_INPUT   -91

Definition at line 100 of file hddm_t.h.

Referenced by open_t_HDDM(), and read_t_HDDM().

#define HDDM_STREAM_OUTPUT   -92

Definition at line 101 of file hddm_t.h.

Referenced by flush_t_HDDM(), and init_t_HDDM().

#define SAW_t_ForwardTOF_t

Definition at line 67 of file hddm_t.h.

#define SAW_t_HDDM_t

Definition at line 75 of file hddm_t.h.

#define SAW_t_Side_t

Definition at line 39 of file hddm_t.h.

#define SAW_t_Slab_t

Definition at line 53 of file hddm_t.h.

#define t_DocumentString

Definition at line 93 of file hddm_t.h.

Function Documentation

void close_t_HDDM ( t_iostream fp)

Definition at line 502 of file hddm_t.c.

References t_iostream::fd, t_iostream::filename, and t_iostream::hddm.

int flush_t_HDDM ( t_HDDM_t p,
t_iostream fp 
)

Definition at line 309 of file hddm_t.c.

References dp, t_iostream::fd, HDDM_STREAM_OUTPUT, t_iostream::iomode, pack_t_HDDM(), and sp.

t_iostream* init_t_HDDM ( char *  filename)
t_ForwardTOF_t* make_t_ForwardTOF ( )

Definition at line 47 of file hddm_t.c.

References size.

Referenced by unpack_t_ForwardTOF().

t_HDDM_t* make_t_HDDM ( )

Definition at line 55 of file hddm_t.c.

References size.

Referenced by unpack_t_HDDM().

t_Hits_t* make_t_Hits ( int  n)

Definition at line 20 of file hddm_t.c.

References size.

Referenced by unpack_t_Hits().

t_Sides_t* make_t_Sides ( int  n)

Definition at line 29 of file hddm_t.c.

References size.

Referenced by unpack_t_Sides().

t_Slabs_t* make_t_Slabs ( int  n)

Definition at line 38 of file hddm_t.c.

References size.

Referenced by unpack_t_Slabs().

Variable Documentation

char HDDM_t_DocumentString[]

Definition at line 63 of file hddm_t.c.

Referenced by init_t_HDDM(), and open_t_HDDM().