StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcRawWriter.hh
1 // $Id: StFtpcRawWriter.hh,v 1.2 2003/01/29 12:06:36 fsimon Exp $
2 // $Log: StFtpcRawWriter.hh,v $
3 // Revision 1.2 2003/01/29 12:06:36 fsimon
4 // Include switch to enable/disable turning of pad order for ASIC 2 in FTPC E
5 // Was an error on Y2001/2002 DAQ mapping
6 //
7 // Revision 1.1 2000/11/23 10:16:43 hummler
8 // New FTPC slow simulator in pure maker form
9 //
10 //
12 
13 #ifndef STAR_StFtpcRawWriter
14 #define STAR_StFtpcRawWriter
15 
16 #include "tables/St_fcl_ftpcndx_Table.h"
17 #include "tables/St_fcl_ftpcsqndx_Table.h"
18 #include "tables/St_fcl_ftpcadc_Table.h"
19 
21 {
22 public:
23  StFtpcRawWriter(St_fcl_ftpcndx *ftpcndxIn,
24  St_fcl_ftpcsqndx *ftpcsqndxIn,
25  St_fcl_ftpcadc *ftpcadcIn,
26  const int inAsic2EastNotInverted);
27  ~StFtpcRawWriter();
28  int writeArray(float *array,
29  int numberPadrows,
30  int numberSectors,
31  int numberPads,
32  int numberTimebins,
33  int threshold);
34 private:
35  int mAsic2EastNotInverted;
36  FCL_FTPCNDX_ST *ndx;
37  int numNdx;
38  int maxNdx;
39  FCL_FTPCSQNDX_ST *sqndx;
40  int numSqndx;
41  int maxSqndx;
42  FCL_FTPCADC_ST *adc;
43  int numAdc;
44  int maxAdc;
45  St_fcl_ftpcndx *ftpcndx;
46  St_fcl_ftpcsqndx *ftpcsqndx;
47  St_fcl_ftpcadc *ftpcadc;
48 };
49 #endif
50