Skip to content
Snippets Groups Projects
  • Pierre-Alain Loizeau's avatar
    9ca9b0d0
    [MQ] Fix bugs in DigiEventSink device · 9ca9b0d0
    Pierre-Alain Loizeau authored
    - The check for consecutive TS indices was still called when receiving Missing TS Data messages even if the bypass flag was set
      => Surround the call with proper if condition
    - The range when taking the digis data out of the unpacked timeslice to the DigiEvent was missing the last digi for all detectors
      => Increment the stop iterator to make sure it is included
    - In rare case, the device can be pulled down before the Init method is called/finished, which led to a segfault
      => add an InitDone flag + use it to control delete operations in the destructor
    9ca9b0d0
    History
    [MQ] Fix bugs in DigiEventSink device
    Pierre-Alain Loizeau authored
    - The check for consecutive TS indices was still called when receiving Missing TS Data messages even if the bypass flag was set
      => Surround the call with proper if condition
    - The range when taking the digis data out of the unpacked timeslice to the DigiEvent was missing the last digi for all detectors
      => Increment the stop iterator to make sure it is included
    - In rare case, the device can be pulled down before the Init method is called/finished, which led to a segfault
      => add an InitDone flag + use it to control delete operations in the destructor
CbmDeviceDigiEventSink.cxx 40.15 KiB