Download GSI Lean Analysis, User Manual
Transcript
Getting Started
must be declared on a machine with different endian as:
short i_type;
short i_subtype;
short i_used;
char h_end;
char h_begin;
In LeA all input is swapped if necessary, structures are defined correctly, and the event structure
members can be referenced independent of the byte ordering.
Event
Little Endian representation:
typedef struct
{
long l_dlen;
short i_type;
short i_subtype;
short i_dummy;
short i_trigger;
long l_count;
} s_vehe;
/*
/*
/*
/*
/*
/*
Data length + 4 in words
Type number
Subtype
Not used yet
Trigger number
Current event number
*/
*/
*/
*/
*/
*/
Subevent
Little Endian representation:
typedef struct
{
long l_dlen;
short i_type;
short i_subtype;
short i_procid;
char h_subcrate;
char h_control;
} s_veshe;
/*
/*
/*
/*
/*
/*
Data length +2 in words
Type number
Subtype
Processor ID [from setup]
Subcrate number
Processor type code
*/
*/
*/
*/
*/
*/
For table readout the data per CAMAC channel is
typedef struct
{
short i_index;
short i_data;
} s_data;
/*
/*
CAMAC parameter table index
CAMAC data value
Version 3.5 July 18, 2002
*/
*/
17