Skip to content

Fair MQ Device for algo::UnpackSts

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

Implemented a Fair MQ Device for the new STS Unpacker algo::UnpackSts. The class is currently called "CbmDeviceAlgoUnpack" until a final name is chosen.

The new unpacker device sends CbmDigiTimeSlice objects to the output channel. A switch was added to "CbmDeviceEventBuilder", to choose either these objects as input, or use the old format where digi vectors are sent through the channel.

New lines were added to the script MQ/mcbm/startEventBuilder.sh.in, which allow the activation of the new unpacker. These are commented out and exist alongside the old version. If the new algo is chosen for the unpacker, then the new input format must be activated for the event builder.

No histograms are currently produced, as algo::UnpackSts currently does not gather monitoring data. The command-line options for histogram production are kept in CbmDeviceAlgoUnpack however, as they will likely be used in some later version.

Parameters are currently read from a hard-coded "StsReadoutConfig" object, and hence cannot currently be set externally (i.e. no interaction with a parameter server is implemented). This is similar to the current state of reco/tasks/CbmTaskUnpack and will likely be changed in the future.

Currently only STS is supported in this MQ device.

Tests have been run and the output seems to be as expected. More extensive tests are welcome.

@v.friese @p.-a.loizeau

Merge request reports