00001 #ifndef _DAQ_RIC_H_
00002 #define _DAQ_RIC_H_
00003
00004 #include <stdio.h>
00005
00006 #include <DAQ_READER/daq_det.h>
00007
00008 struct ric_t {
00009 int mode ;
00010 int channels ;
00011 int max_channels ;
00012
00013 u_short adc[16][960] ;
00014 } ;
00015
00016
00017
00018 class daq_ric : public daq_det {
00019 private:
00020 class daq_dta *handle_legacy() ;
00021
00022 class daq_dta *legacy ;
00023
00024 static const char *help_string ;
00025 protected:
00026
00027
00028 public:
00029 daq_ric(daqReader *rts_caller=0) ;
00030 ~daq_ric() ;
00031
00032
00033 daq_dta *get(const char *bank="*",int c1=-1, int c2=-1, int c3=-1, void *p1=0, void *p2=0) ;
00034
00035 void help() const {
00036 printf("%s\n%s\n",GetCVS(),help_string) ;
00037 }
00038
00039 const char *GetCVS() const {
00040 static const char cvs[]="Tag $Name: $Id: built "__DATE__" "__TIME__ ; return cvs;
00041 }
00042
00043 } ;
00044
00045
00046 #endif // _DAQ_RIC_H_