12 fSiHitList(new TClonesArray(
"PndMvdSiHit")),
13 fTdcValues(new TClonesArray(
"PndMvdTdcData")),
14 fQdcValues(new TClonesArray(
"PndMvdQdcData")),
17 fScalerValuesAllocSize(0),
19 fExtClockResetCount(0)
53 WORD numFrames = (hits[
i]&0x00f80000) >> 19;
54 WORD channel = (hits[
i]&0x0007f000) >> 12;
55 WORD height = (hits[
i]&0x00000fff);
56 WORD box = adcChannel/6;
57 channel += (adcChannel%6)*128;
59 new(hitList[hitList.GetEntriesFast()])
PndMvdSiHit(box, channel, height, numFrames);
68 if ( (tdcValues[
i] & 0xf8000000) == 0)
70 int trailing = (tdcValues[
i] & 0x04000000) >> 26;
71 int channel = (tdcValues[
i] & 0x03E00000) >> 21;
72 int value = (tdcValues[
i] & 0x001fffff);
73 new(tdcList[tdcList.GetEntriesFast()])
PndMvdTdcData(channel, value, trailing);
83 int channel = (qdcValues[
i] & 0xff000000) >> 24;
84 int value = (qdcValues[
i] & 0x00ffffff);
85 new(qdcList[qdcList.GetEntriesFast()])
PndMvdQdcData(channel, value);
94 if ( (tdcValues[
i] & 0xf8000000) == 0)
96 int trailing = (tdcValues[
i] & 0x04000000) >> 26;
97 int channel = (tdcValues[
i] & 0x03E00000) >> 21;
98 int value = (tdcValues[
i] & 0x001fffff);
99 new(tdcList[tdcList.GetEntriesFast()])
PndMvdTdcData(channel+32, value, trailing);
109 int channel = (qdcValues[
i] & 0x001F0000) >> 16;
110 int value = (qdcValues[
i] & 0x00000fff);
111 int underflow = (qdcValues[
i] & 0x00002000);
112 int overflow = (qdcValues[
i] & 0x00001000);
113 if (underflow || overflow)
117 new(qdcList[qdcList.GetEntriesFast()])
PndMvdQdcData(channel+32, value);
void FillGiQdcValues(DWORD *qdcValues, WORD count)
void FillTdcValues(DWORD *tdcValues, WORD count)
void FillQdcValues(DWORD *qdcValues, WORD count)
size_t fScalerValuesAllocSize
TClonesArray * fQdcValues
void FillSiHits(int adcChannel, DWORD *hits, WORD count)
void Clear(const Option_t *=NULL)
TClonesArray * fTdcValues
void FillScalerValues(DWORD *qdcValues, WORD count)
TClonesArray * fSiHitList
void FillGiTdcValues(DWORD *tdcValues, WORD count)