5 #include <DAQ_READER/daq_det.h>
7 #define TPC_READER_MAX_CLUSTERS 5000
16 u_short t1, t2, p1, p2 ;
25 int max_channels_all ;
26 int max_channels_sector ;
31 u_short counts[45][182] ;
35 u_short timebin[45][182][512] ;
39 u_char adc[45][182][512] ;
42 u_short cl_counts[45] ;
45 struct tpc_cl cl[45][TPC_READER_MAX_CLUSTERS] ;
49 u_char rdo_present[6] ;
54 class daq_dta *handle_adc(
int sec,
int rdo) ;
55 class daq_dta *handle_cld(
int sec,
int rdo) ;
56 class daq_dta *handle_legacy(
int sec,
int rdo) ;
62 static const int MAX_SEC = 24 ;
63 static const int MAX_RDO = 6 ;
79 int fcfReader(
int sector,
int *t0c, u_int *gainc,
tpc_t *tpc_p) ;
81 daq_dta *
get(
const char *bank=
"*",
int c1=-1,
int c2=-1,
int c3=-1,
void *p1=0,
void *p2=0) ;
83 int get_l2(
char *buff,
int buff_bytes,
struct daq_trg_word *trg,
int prompt) ;
85 const char *GetCVS()
const {
86 static const char cvs[]=
"Tag $Name: $Id: built " __DATE__
" " __TIME__ ;
return cvs;