10#ifndef CBMDEVICEEVENTBUILDERETOFSTAR2019_H_
11#define CBMDEVICEEVENTBUILDERETOFSTAR2019_H_
15#include "Timeslice.hpp"
17#include "FairMQDevice.h"
20#include "TStopwatch.h"
30 virtual Bool_t
DoUnpack(
const fles::Timeslice& ts,
size_t component);
55 virtual bool SendEvent(std::vector<Int_t>,
int);
76 std::vector<std::string>
fAllowedChannels = {
"tofcomponent",
"parameters",
"etofevts",
"syscmd"};
bool HandleData(FairMQMessagePtr &, int)
void SetSandboxMode(Bool_t bSandboxMode=kTRUE)
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
uint64_t fulTsCounter
Statistics & first TS rejection.
virtual bool SendEvent(std::vector< Int_t >, int)
bool IsChannelNameAllowed(std::string channelName)
CbmStar2019TofPar * fUnpackPar
CbmDeviceEventBuilderEtofStar2019(const CbmDeviceEventBuilderEtofStar2019 &)=delete
void SetEventDumpEnable(Bool_t bDumpEna=kTRUE)
Bool_t fbEventDumpEna
Switch OFF the emission of data toward the STAR DAQ.
bool HandleMessage(FairMQMessagePtr &, int)
std::vector< std::string > fAllowedChannels
const UInt_t kuBinDumpEndWord
std::vector< std::vector< std::string > > fChannelsToSend
virtual ~CbmDeviceEventBuilderEtofStar2019()
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Temp until we change from CbmMcbmUnpack to something else.
CbmDeviceEventBuilderEtofStar2019 operator=(const CbmDeviceEventBuilderEtofStar2019 &)=delete
CbmDeviceEventBuilderEtofStar2019()
std::fstream * fpBinDumpFile
Event dump to binary file.
Bool_t ReInitContainers()
Bool_t fbSandboxMode
Switch ON the filling of a additional set of histograms.
CbmStar2019EventBuilderEtofAlgo * fEventBuilderAlgo
Processing algo.
Bool_t fbMonitorMode
Control flags.
virtual bool SendSubevent(uint, char *, int, int)
bool HandleParts(FairMQParts &, int)
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
const UInt_t kuBinDumpBegWord
bool CheckTimeslice(const fles::Timeslice &ts)
TList * fParCList
Switch ON the dumping of the events to a binary file.
void SetNbMsInTs(size_t, size_t)