5#ifndef CBMDEVICEEVTSINK_H_
6#define CBMDEVICEEVTSINK_H_
9#include "FairMQDevice.h"
virtual ~CbmDevEventSink()
Destructor.
CbmDevEventSink()
Constructor.
virtual void InitTask()
Initialization.
FairRootManager * fFairRootMgr
FairRootManager used for ROOT file I/O.
FairRunOnline * fFairRun
FairRunOnline to instantiate FairRootManager.
uint64_t fPrevTsIndex
Index of last processed timeslice.
size_t fNumMessages
Number of received data messages.
std::vector< CbmDigiEvent > * fEventVec
Data output: events.
TimesliceMetaData * fTsMetaData
Data output: TS meta data.
bool HandleCommand(FairMQMessagePtr &, int flag)
Action on command messages.
size_t fNumTs
Number of processed timeslices.
void Finish()
Finishing run.
bool fFinishDone
Keep track of whether the Finish method was already called.
bool HandleData(FairMQParts &parts, int flag)
Action on data messages.