StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
itpcInterpreter Class Reference

Classes

struct  fee_t
 
struct  itpc_config_t
 

Public Types

enum  s_type {
  S_IDLE, S_FEE_ASCII, S_FEE_ASCII_END, S_FEE_PORT,
  S_TRIGGER, S_FEE_END_A, S_FEE_END_B, S_FEE_END_HDR
}
 

Public Member Functions

void run_start (u_int run)
 
void run_stop ()
 
void start_event (u_int bytes)
 
void stop_event ()
 
void fee_dbase (const char *fname=0)
 
int rdo_scan_top (u_int *ddata, int words)
 
int ana_send_config (u_int *data, u_int *data_end)
 
int ana_pedestal (u_int *data, u_int *data_end)
 
int ana_triggered (u_int *data, u_int *data_end)
 
int rdo_scan (u_int *ddata, int words)
 
u_int * fee_scan (u_int *start, u_int *end)
 
u_int * sampa_lane_scan (u_int *start, u_int *end)
 
u_int * sampa_ch_hunt (u_int *start, u_int *end)
 
int sampa_ch_scan ()
 
void run_err_add (int rdo1, int type)
 

Static Public Member Functions

static u_int ifee_mask (int sec1, int rdo1)
 
static int fee_map_check ()
 
static int parse_config (const char *fname)
 
static int parse_default ()
 

Public Attributes

FILE * fout
 
int id
 
int dbg_level
 
int realtime
 
u_int run_number
 
int sector_id
 
int rdo_id
 
u_int evt_status
 
u_int status
 
u_int evt_bytes
 
u_int word_ix
 
u_int evt_ix
 
u_int fee_evt_cou
 
s_type state
 
itpcDataped_c
 
u_int evt_err [8]
 
u_int rdo_wire1_id
 
struct itpcInterpreter::fee_t fee [17]
 
u_int fpga_fee_v_all
 
int rdo_version
 
int expected_rdo_version
 
int fee_version
 
int expected_fee_version
 
int fee_port
 
u_int fee_id
 
u_int fee_bx
 
u_int found_ch_mask
 
int sampa_bx
 
int sampa_id
 
int sampa_ch
 
int fee_ch
 
int tb_cou
 
u_short tb_buff [1024]
 
int d_cou
 
int ascii_cou
 
char ascii_dta [1024]
 

Static Public Attributes

static atomic_t run_errors [4][16]
 
static struct
itpcInterpreter::itpc_config_t 
itpc_config [25]
 
static int itpc_fee_map [24][4][16]
 

Detailed Description

Definition at line 13 of file itpcInterpreter.h.


The documentation for this class was generated from the following files: