14 static const int ROW_MAX = 45 ;
15 static const int PAD_MAX = 182 ;
16 static const int SEQ_MAX = 64 ;
17 static const int SIM_FIFOS = 64 ;
25 virtual int rdo_scan(
char *mem,
int words) ;
26 virtual int from22to23(
char *dta,
int words) ;
69 int gains_from_cache(
const char *fname=0) ;
70 virtual u_int get_token_s(
char *c_addr,
int words) {
return 0xFFFFF ;} ;
79 static short bad_fee_cou[24][46] ;
80 static short bad_fee[24][46][36] ;
82 struct row_pad_t (*rp_gain)[ROW_MAX+1][PAD_MAX+1] ;
90 int rowlen[ROW_MAX+1] ;
94 static struct sim_dta_t {
99 } sim_dta[SIM_FIFOS] ;
101 int load_replay(
const char *fname,
int sec_soft) ;
102 virtual u_int set_rdo(
int sec,
int rdo) {
return 0 ; } ;
106 void sim_evt_start(
int sector) ;
108 int do_ch_sim(
int row,
int pad, u_short *adc,
int *track_id) ;
109 static int fcf_decode(u_int *p_buff,
daq_sim_cld_x *dc, u_int version) ;
140 struct seq_t seq[SEQ_MAX+1] ;
141 } s1[ROW_MAX+1][PAD_MAX+1] ;
149 } blob[PAD_MAX*SEQ_MAX] ;
153 int blob_ix[PAD_MAX*SEQ_MAX] ;
162 u_short store[PAD_MAX+1][512] ;
163 short smooth[PAD_MAX+1][512] ;
172 int *store_track_id ;
177 int row_stage1(
int row) ;
178 int row_stage2(
int row) ;