4 #include <DAQ_READER/daq_det.h>
6 #define SST_RDO_COU 3 //per sector maximum
7 #define SST_FIBER_COU 8
8 #define SST_HYBRID_COU 16
9 #define SST_STRIP_COU 768
20 short ped[SST_HYBRID_COU][SST_STRIP_COU] ;
21 short rms[SST_HYBRID_COU][SST_STRIP_COU] ;
36 #define SST_PED_ADC_OFFSET 375
37 #define SST_OUTLIERBAND 256
43 double ped[SST_FIBER_COU][SST_HYBRID_COU][SST_STRIP_COU];
44 double rms[SST_FIBER_COU][SST_HYBRID_COU][SST_STRIP_COU];
45 u_int cou[SST_FIBER_COU][SST_HYBRID_COU][SST_STRIP_COU];
51 class daq_dta *handle_raw(
int sec,
int rdo) ;
52 class daq_dta *handle_ped(
int sec) ;
53 class daq_dta *handle_adc(
int sec,
int rdo,
char *buff=0,
int words=0) ;
59 static const char *help_string ;
67 daq_dta *
get(
const char *bank=
"*",
int c1=-1,
int c2=-1,
int c3=-1,
void *p1=0,
void *p2=0) ;
69 int get_l2(
char *buff,
int buff_bytes,
struct daq_trg_word *trg,
int prompt) ;
72 int raw_to_adc_utility(
int s,
int r,
char *rdobuff,
int words,
daq_sst_ped_t *ped,
int mode) ;
74 const char *GetCVS()
const {
75 static const char cvs[]=
"Tag $Name: $Id: built " __DATE__
" " __TIME__ ;
return cvs;
79 u_int events[SST_RDO_COU] ;
80 u_int fiber_events[SST_RDO_COU][SST_FIBER_COU] ;