13 if( (
GetData32()[0] & 0xf0000000) != 0xa0000000){
14 std::cerr <<
"First word has wrong identifier; first word = 0x"
15 << std::hex <<
GetData32()[0] << std::dec << std::endl;
28 int number_available_channels = 0;
29 for(
int ch = 0; ch < 16; ch++){
31 number_available_channels++;
35 int nwords_per_channel = (
GetEventSize() - 4)/number_available_channels;
39 for(
int ch = 0; ch < 16; ch++){
43 std::vector<uint32_t> Samples;
44 for(
int i = 0; i < nwords_per_channel; i++){
45 uint32_t sample = (
GetData32()[counter] & 0x3fff);
46 Samples.push_back(sample);
47 sample = (
GetData32()[counter] & 0x3fff0000) >> 16;
48 Samples.push_back(sample);