26 #include "StDaqLib/GENERIC/EventReader.hh"
27 #include "StDaqLib/GENERIC/Error.hh"
28 #include "StDaqLib/GENERIC/RecHeaderFormats.hh"
29 #include "SVTV1P0.Banks.hh"
31 #include "SVTV1P0_Reader.hh"
42 int getPadList(
int hybrid,
unsigned char **anodeList);
43 int getSequences(
int hybrid,
int Anode,
int *nSeq,
Sequence **SeqData);
44 int getSpacePts(
int hybrid,
int *nSpacePts,
SpacePt **SpacePts);
51 int getFeeSequences(
int Fee,
int Pin,
int *nSeq,
Sequence **SeqData);
57 classname(Bank_SVTADCD) *adcd_p;
58 classname(Bank_SVTADCX) *adcx_p;
59 classname(Bank_SVTSEQD) *seqd_p;
60 classname(Bank_SVTMZCLD) *cld_p;
62 int barrel, ladder, wafer;
63 int hyperSector, rcb, mezz, transitionBoard;
64 int nspthybrid[SVT_HYBRIDS];
65 SpacePt *HybridSpacePts[SVT_HYBRIDS];
66 struct Pad Anode_array[SVT_HYBRIDS][SVT_ANODES];
67 struct PadRow Hybrid_array[SVT_HYBRIDS];
68 u_char anodelist[SVT_HYBRIDS][SVT_ANODES];
80 int getPadList(
int hybrid,
unsigned char **anodeList);
81 int getSequences(
int hybrid,
int Anode,
int *nArray, u_char **Array);
90 int barrel, ladder, wafer;
93 u_char anodelist[SVT_HYBRIDS][SVT_ANODES];
95 classname(Bank_SVTADCR) *banks;
102 int barrel, ladder, wafer;
105 classname(Bank_SVTPEDR) *banks;
106 u_char anodelist[SVT_HYBRIDS][SVT_ANODES];
110 int getPadList(
int hybrid,
unsigned char **anodeList);
111 int getSequences(
int hybrid,
int Anode,
int *nArray, u_char **Array);
112 int getNumberOfEvents();
126 int barrel, ladder, wafer;
129 classname(Bank_SVTRMSR) *banks;
130 u_char anodelist[SVT_HYBRIDS][SVT_ANODES];
134 int getPadList(
int hybrid,
unsigned char **anodeList);
135 int getSequences(
int hybrid,
int Anode,
int *nArray, u_char **Array);
136 int getNumberOfEvents();
150 int barrel, ladder, wafer;
154 int getGain(
int hybrid,
int Anode,
struct Gain **gain);
156 int getNumberOfEvents();
170 int getClusters(
int hybrid,
int Anode,
int *nClusters,
181 int barrel, ladder, wafer;
184 classname(Bank_SVTCPPR) *banks[SVT_HYBRIDS];
191 int barrel, ladder, wafer;
194 int IsBad(
int hybrid,
int Anode);
208 int barrel, ladder, wafer;
211 int FEE_id(
int hybrid,
int Anode) = 0;
234 int initialize(
int maxSector);
236 void place(
short barrel,
short ladder,
short wafer,
short hybrid,
ANODK_entry *);
237 void get(
short barrel,
short ladder,
short wafer,
short hybrid,
ANODK_entry *);
238 void get(
short waferIndex,
short hybrid,
ANODK_entry *);
239 short getWaferIndex(
short barrel,
short ladder,
short wafer);
241 int getADCBytes() {
return 128; };
242 int getCPPBytes() {
return 128; };
243 int getPEDBytes() {
return 128; };
244 int getRMSBytes() {
return 128; };
245 int getCFGBytes() {
return 1; };
246 int getGAINBytes() {
return 4; };
251 short packed_address[SVT_WAFERS][SVT_HYBRIDS];
253 short pack(
short hypersector,
short rcb,
short mz,
short offset);