StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcSequencer.hh
1 //==================================================================================================
2 // Writes Embedded data into FTPC SlowSimulator Sequences
3 //
4 // Author: Frank Simon (fsimon@bnl.gov)
5 //==================================================================================================
6 
7 #ifndef STAR_StFtpcSequencer
8 #define STAR_StFtpcSequencer
9 
10 #include "tables/St_fcl_ftpcndx_Table.h"
11 #include "tables/St_fcl_ftpcsqndx_Table.h"
12 #include "tables/St_fcl_ftpcadc_Table.h"
13 
15 {
16 public:
17  StFtpcSequencer(St_fcl_ftpcndx *ftpcndxIn,
18  St_fcl_ftpcsqndx *ftpcsqndxIn,
19  St_fcl_ftpcadc *ftpcadcIn);
21  int writeArray(const int *cArray,
22  const int numberPadrows,
23  const int numberSectors,
24  const int numberPads,
25  const int numberTimebins);
26 private:
27  FCL_FTPCNDX_ST *ndx;
28  int numNdx;
29  int maxNdx;
30  FCL_FTPCSQNDX_ST *sqndx;
31  int numSqndx;
32  int maxSqndx;
33  FCL_FTPCADC_ST *adc;
34  int numAdc;
35  int maxAdc;
36  St_fcl_ftpcndx *ftpcndx;
37  St_fcl_ftpcsqndx *ftpcsqndx;
38  St_fcl_ftpcadc *ftpcadc;
39 };
40 #endif
41 
42  /***************************************************************************
43  *
44  * $Id: StFtpcSequencer.hh,v 1.1 2003/02/14 18:11:25 fsimon Exp $
45  *
46  * $Log: StFtpcSequencer.hh,v $
47  * Revision 1.1 2003/02/14 18:11:25 fsimon
48  * Initial commit of FTPC embedding code
49  *
50  *
51  ***************************************************************************/
int writeArray(const int *cArray, const int numberPadrows, const int numberSectors, const int numberPads, const int numberTimebins)
writeArray method, fills zero-suppressed sequences from ADC array
FTPC Sequencer, creates Simulator sequences from ADC values.
~StFtpcSequencer()
destructor, sets size of sequence arrays
StFtpcSequencer(St_fcl_ftpcndx *ftpcndxIn, St_fcl_ftpcsqndx *ftpcsqndxIn, St_fcl_ftpcadc *ftpcadcIn)
constructor, checks the existence of output sequences