16 return fSample + GetIndex(agetIdx, chIdx, 0);
28 memset(fSample, 0,
sizeof(Int_t) * 4 * 68 * 512);
39 for (Int_t iItem = 0; iItem <
GetNItems(); iItem++) {
44 UShort_t agetIdx = ((item & 0xc0000000) >> 30);
45 UShort_t chIdx = ((item & 0x3f800000) >> 23);
46 UShort_t tbIdx = ((item & 0x007fc000) >> 14);
47 UShort_t sample = (item & 0x00000fff);
49 fSample[GetIndex(agetIdx, chIdx, tbIdx)] = sample;
53 for (Int_t iItem = 0; iItem <
GetNItems(); iItem++) {
58 UShort_t agetIdx = ((item & 0xc000) >> 14);
59 UShort_t chIdx = ((iItem / 8) * 2 + iItem % 2) % 68;
60 UShort_t tbIdx = iItem / (68 * 4);
61 UShort_t sample = item & 0x0fff;
63 fSample[GetIndex(agetIdx, chIdx, tbIdx)] = sample;
70 UInt_t GETBasicFrame::GetIndex(Int_t agetIdx, Int_t chIdx, Int_t tbIdx)
72 return agetIdx * 68 * 512 + chIdx * 512 + tbIdx;