15 #include "StDaqLib/GENERIC/EventReader.hh"
16 #include "StDaqLib/GENERIC/RecHeaderFormats.hh"
19 #define FPDP_NUM_ADC_CHANNELS 256
20 #define FPDP_NUM_TDC_CHANNELS 8
21 #define FPDP_NUM_REG_CHANNELS 3
22 #define FPDP_NUM_PED_CHANNELS 256
23 #define FPDP_NUM_SCL_CHANNELS 128
24 #define FPDP_BBC_NUM_ADC_CHANNELS 72
25 #define FPDP_BBC_NUM_PED_CHANNELS 128
26 #define FPDP_BBC_NUM_SCL_CHANNELS 32
29 #ifndef _DAQ_FORMATS_H
30 typedef unsigned int UINT32;
31 typedef unsigned short UINT16;
32 typedef unsigned char UINT8 ;
49 unsigned short data[1];
58 unsigned int ByteSwapped ;
59 unsigned int EventNumber;
60 unsigned short AdcData[FPDP_NUM_ADC_CHANNELS];
61 unsigned short TdcData[FPDP_NUM_TDC_CHANNELS];
62 unsigned short RegData[FPDP_NUM_REG_CHANNELS];
63 unsigned int PedData[FPDP_NUM_PED_CHANNELS];
64 unsigned short SclData[FPDP_NUM_SCL_CHANNELS];
65 unsigned short BbcAdcData[FPDP_BBC_NUM_ADC_CHANNELS];
66 unsigned short BbcPedData[FPDP_BBC_NUM_PED_CHANNELS];
67 unsigned int BbcSclData[FPDP_BBC_NUM_SCL_CHANNELS];
73 virtual unsigned short GetAdc(
int)=0;
74 virtual unsigned short GetTdc(
int)=0;
75 virtual unsigned short GetReg(
int)=0;
76 virtual unsigned short GetPed(
int)=0;
77 virtual unsigned int GetScl(
int)=0;
78 virtual unsigned short GetBbcAdc(
int)=0;
79 virtual unsigned short GetBbcPed(
int)=0;
80 virtual unsigned int GetBbcScl(
int)=0;
81 virtual unsigned int GetEventNumber()=0;
82 virtual void printRawData()=0;
87 void ProcessEvent(
const Bank_FPDP * FpdPTR);
95 unsigned short GetAdc(
int);
96 unsigned short GetTdc(
int);
97 unsigned short GetReg(
int);
98 unsigned short GetPed(
int);
99 unsigned int GetScl(
int);
100 unsigned short GetBbcAdc(
int);
101 unsigned short GetBbcPed(
int);
102 unsigned int GetBbcScl(
int);
103 unsigned int GetEventNumber();