Skip to content

Bugfix for EventData.h

Luc Tomas Le Pottier requested to merge luc-eventDataBugfix into devel

Two small fixes:

  • Lengthen word/hit counters in dataprocessor to ensure they do not roll over
  • Set explicit tag size = 32 bits to match what is being done in EventData.h when writing/reading from file. Not doing this means writing 32 bits of a 16 bit integer to file -> undefined behavior

I do not think we need to change the values of _tag, _l1id, or _bcid in the data processors, however they should probably be specified (16 bits for l1id/bcid, and 16 cast to 32 for tag?)

Merge request reports

Loading