00001
00002
00003
00004
00005
00006
00007 #ifndef STAR_StFtpcSequencer
00008 #define STAR_StFtpcSequencer
00009
00010 #include "tables/St_fcl_ftpcndx_Table.h"
00011 #include "tables/St_fcl_ftpcsqndx_Table.h"
00012 #include "tables/St_fcl_ftpcadc_Table.h"
00013
00014 class StFtpcSequencer
00015 {
00016 public:
00017 StFtpcSequencer(St_fcl_ftpcndx *ftpcndxIn,
00018 St_fcl_ftpcsqndx *ftpcsqndxIn,
00019 St_fcl_ftpcadc *ftpcadcIn);
00020 ~StFtpcSequencer();
00021 int writeArray(const int *cArray,
00022 const int numberPadrows,
00023 const int numberSectors,
00024 const int numberPads,
00025 const int numberTimebins);
00026 private:
00027 FCL_FTPCNDX_ST *ndx;
00028 int numNdx;
00029 int maxNdx;
00030 FCL_FTPCSQNDX_ST *sqndx;
00031 int numSqndx;
00032 int maxSqndx;
00033 FCL_FTPCADC_ST *adc;
00034 int numAdc;
00035 int maxAdc;
00036 St_fcl_ftpcndx *ftpcndx;
00037 St_fcl_ftpcsqndx *ftpcsqndx;
00038 St_fcl_ftpcadc *ftpcadc;
00039 };
00040 #endif
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051