24 void init(
int sec,
int active_rbs) ;
27 void accum(
char *evbuff,
int bytes) ;
30 int to_altro(
char *buff,
int rb,
int timebins) ;
32 int to_evb(
char *buff) ;
34 int from_cache(
char *fname = 0, u_int r_mask = 0x3F) ;
35 int to_cache(
char *fname = 0, u_int run = 0) ;
37 int special_setup(
int run_type,
int sub_type) ;
38 int hlt_debug_setup(
int param) ;
40 int kill_bad(
int r0_logical,
int row,
int pad) ;
42 void smooth(
int mode=0) ;
82 struct peds *
get(
int r0_logical,
int row,
int pad) {
83 if(rb_mask & (1<<r0_logical)) ;
86 if(ped_rdo_store[r0_logical].peds == 0) {
92 int ix = ped_rdo_store[r0_logical].ix[row][pad] ;
95 return ped_rdo_store[r0_logical].peds + ix ;
99 for(
int i=0;i<1152;i++) {
100 if(ped_rdo_store[r0_logical].peds[i].row == row) {
102 if(ped_rdo_store[r0_logical].peds[i].pad == pad) {
104 return (ped_rdo_store[r0_logical].peds + i) ;