16#include "FairMQDevice.h"
17#include "FairParGenericSet.h"
20#include "Timeslice.hpp"
21#include "much/MuchReadoutConfig.h"
22#include "much/UnpackMuch.h"
23#include "sts/StsReadoutConfigLegacy.h"
24#include "sts/UnpackSts.h"
39 std::map<uint16_t, cbm::algo::UnpackSts>
fAlgoSts = {};
42 std::map<uint16_t, cbm::algo::UnpackMuch>
fAlgoMuch = {};
virtual void InitTask()
Read command line parameters for MQ device.
CbmDigiTimeslice DoUnpack(const fles::Timeslice &ts)
Unpack a single timeslice.
size_t fNumMessages
Statistics & first TS rejection.
std::string fsChannelNameCommands
cbm::algo::StsReadoutConfigLegacy fStsConfig
std::map< uint16_t, cbm::algo::UnpackMuch > fAlgoMuch
std::string fsChannelNameDataInput
message queues
cbm::algo::MuchReadoutConfig fMuchConfig
std::map< uint16_t, cbm::algo::UnpackSts > fAlgoSts
bool ConditionalRun()
Called by run loop, does init steps on first TS.
std::string fsChannelNameDataOutput
bool SendData(const CbmDigiTimeslice ×lice, const TimesliceMetaData &TsMetaData)
Serialize unpacked digi timeslice and send to output channel.
bool InitAlgos()
Initialize runtime parameters for UnpackSts algos.
Collection of digis from all detector systems within one timeslice.