12 #include "StDaqLib/GENERIC/EventReader.hh"
13 #include "StDaqLib/GENERIC/RecHeaderFormats.hh"
14 #include "StDaqLib/GENERIC/swaps.hh"
17 #define PMD_CRAMS_MAX 12
18 #define PMD_CRAMS_BLOCK 2
19 #define PMD_CRAMS_CH_MAX 1728
43 unsigned long data[PMD_CRAMS_MAX*2*(1+PMD_CRAMS_CH_MAX)];
48 unsigned int data[PMD_CRAMS_MAX*2*(1+PMD_CRAMS_CH_MAX)];
53 unsigned int data[PMD_CRAMS_MAX*2*(1+PMD_CRAMS_CH_MAX)];
58 unsigned int data[PMD_CRAMS_MAX*2*(1+PMD_CRAMS_CH_MAX)];
66 int no_of_channels_in_cram_blk[2][PMD_CRAMS_MAX][PMD_CRAMS_CH_MAX];
68 unsigned short adc[2][PMD_CRAMS_MAX][2][PMD_CRAMS_CH_MAX] ;
70 unsigned short ped[2][PMD_CRAMS_MAX][2][PMD_CRAMS_CH_MAX] ;
71 unsigned short rms[2][PMD_CRAMS_MAX][2][PMD_CRAMS_CH_MAX] ;
72 unsigned short thr[2][PMD_CRAMS_MAX][2][PMD_CRAMS_CH_MAX] ;
80 int ProcessEvent(
const Bank_PMDP *PmdPTR);
PMD_Reader(EventReader *er, Bank_PMDP *pPMDP)
Process PMD+CPV events.
int adcReader(int sec, Bank_PMDADCD *adcd)
PMD_Reader destructor.
~PMD_Reader()
PMD_Reader constructor.