HOPS
HOPS class reference
Classes | Macros | Functions
tapeDB.h File Reference

Go to the source code of this file.

Classes

struct  head_pos
 
struct  tapeDB
 

Macros

#define ABS(a)   (((a) < 0) ? -(a) : (a))
 
#define FALSE   0
 
#define MAX_INDEX   (MAX_TAPE_LENGTH / POSITION_TOLERENCE) /* 38 */
 
#define MAX_NAMESIZE   32
 
#define MAX_PASS   61 /* From mk4_ccfile.h */
 
#define MAX_TAPE_LENGTH   19000 /* Feet */
 
#define POSITION_TOLERENCE   500 /* Feet */
 
#define TAPEDB_VERSION   2
 
#define TAPEINFO   "/correlator/tapelib/tapeinfo/"
 

Functions

int tapehead (int thisSU, short Ondx, struct head_pos **ptape_footage, struct head_pos **pphintsFootage)
 

Class Documentation

◆ head_pos

struct head_pos
Class Members
int head_pos_offset[2]

◆ tapeDB

struct tapeDB
Class Members
char exper_name[32]
short exper_num
int head[MAX_PASS]
int headpos[MAX_PASS]
struct head_pos pass[MAX_PASS][MAX_INDEX]
char record_id[3]
char site_id[3]
struct date start_time
char station
unsigned char sus[5]
char version_no[2]
char vsn[MAX_NAMESIZE]

Macro Definition Documentation

◆ ABS

#define ABS (   a)    (((a) < 0) ? -(a) : (a))

◆ FALSE

#define FALSE   0

◆ MAX_INDEX

#define MAX_INDEX   (MAX_TAPE_LENGTH / POSITION_TOLERENCE) /* 38 */

◆ MAX_NAMESIZE

#define MAX_NAMESIZE   32

◆ MAX_PASS

#define MAX_PASS   61 /* From mk4_ccfile.h */

◆ MAX_TAPE_LENGTH

#define MAX_TAPE_LENGTH   19000 /* Feet */

◆ POSITION_TOLERENCE

#define POSITION_TOLERENCE   500 /* Feet */

◆ TAPEDB_VERSION

#define TAPEDB_VERSION   2

◆ TAPEINFO

#define TAPEINFO   "/correlator/tapelib/tapeinfo/"

Function Documentation

◆ tapehead()

int tapehead ( int  thisSU,
short  Ondx,
struct head_pos **  ptape_footage,
struct head_pos **  pphintsFootage 
)