Skip to content

Bugfix: Fixed channel mapping and adc calibration for STS Unpacker in Algo namespace.

Dominik Smith requested to merge d.smith/cbmroot:FixSTSUnpacker into master

@v.friese

This MR fixes two issues with the STS unpacker the algo namespace:

  • Default values for ADC gain and offset were set from 0 to 1.0.
  • Channel mapping was fixed.

With these changes, the unpacker now bitwise resproduces the output of CbmStsUnpackAlgo for all digi fields (tested on the first timeslice of 1588_node8_1_0000.tsa; this unpacker currently supports the data format of the 2021 beamtime only).

To match the output, the CbmStsUnpackAlgo must be run in the following way:

  • Duplicate hit rejection is switched off.
  • No masked channels or ADC cuts
  • No walk correction
  • SetDoIgnoreOverlappMs(false)

Also, CbmStsUnpackAlgo by default writes pulser digis to a different output branch. This must be disabled, as the algo unpacker does not treat pulser digis different from others.

Merge request reports