49 _nsamples = (SubeventData[0] >> 24 ) & 0xff;
50 _l1_delay = (SubeventData[0] >> 16 ) & 0xff;
51 _slot_nr = (SubeventData[0] >> 8 ) & 0xff;
58 _clock = (SubeventData[2] >> 16 ) & 0xffff;
59 _evtnr = SubeventData[2] & 0xffff;
73 for (
int sample = 0; sample <
_nsamples ; sample++)
75 array[sample][2*ch] = k[index] & 0xffff;
76 array[sample][2*ch+1] = (k[index]>>16) & 0xffff;
92 return array[sample][ch];
101 if ( strcmp(what,
"SAMPLES") == 0 )
106 if ( strcmp(what,
"CHANNELS") == 0 )
111 if ( strcmp(what,
"L1DELAY") == 0 )
116 if ( strcmp(what,
"SLOTNR") == 0 )
121 if ( strcmp(what,
"NRMODULES") == 0 )
126 if ( strcmp(what,
"CLOCK") == 0 )
131 if ( strcmp(what,
"EVTNR") == 0 )
144 os <<
"Evt Nr: " <<
iValue(0,
"EVTNR") << std::endl;
145 os <<
"Clock: " <<
iValue(0,
"CLOCK") << std::endl;
146 os <<
"Channels: " <<
iValue(0,
"CHANNELS") << std::endl;
147 os <<
"Samples: " <<
iValue(0,
"SAMPLES") << std::endl;
148 os <<
"L1 Delay: " <<
iValue(0,
"L1DELAY") << std::endl;
149 os <<
"Slot Nr: " <<
iValue(0,
"SLOTNR") << std::endl;
150 os <<
"Nr Modules: " <<
iValue(0,
"NRMODULES") << std::endl;
157 os << setw(4) <<
c <<
" | ";