12#ifndef CBMDEVICEBUILDDIGIEVENTS_H_
13#define CBMDEVICEBUILDDIGIEVENTS_H_
26#include "FairMQDevice.h"
89 std::chrono::system_clock::time_point
fLastPublishTime = std::chrono::system_clock::now();
TimesliceMetaData * fTsMetaData
std::string fsChannelNameCommands
Bool_t fbFillHistos
Ignore data in Overlap part of the TS.
ECbmModuleId GetDetectorId(std::string detName)
Get detector type from string containing name.
std::vector< std::string > fvsSetTrigMinNb
bool SendHistoConfAndData()
std::string fsEvtOverMode
Switch ON/OFF filling of histograms.
std::vector< std::string > fvsAddDet
bool HandleData(FairMQParts &, int)
bool SendDigiEvents(FairMQParts &partsIn)
std::vector< std::string > fvsSetTrigWin
uint32_t fuPublishFreqTs
Histograms management.
std::vector< CbmMuchDigi > * fvDigiMuch
std::vector< std::string > fvsSetTrigMinLayersNb
std::vector< std::string > fvsSetHistMaxDigiNb
CbmAlgoBuildRawEvents * fpAlgo
Processing algos.
std::string fsChannelNameHistosInput
virtual ~CbmDeviceBuildDigiEvents()
std::vector< CbmTrdDigi > * fvDigiTrd
std::vector< CbmPsdDigi > * fvDigiPsd
std::string fsChannelNameDataInput
message queues
std::vector< CbmBmonDigi > * fvDigiBmon
Digis storage.
size_t fuNbCoreMsPerTs
TS MetaData stable values storage.
std::vector< CbmRichDigi > * fvDigiRich
std::string fsChannelNameDataOutput
std::vector< CbmStsDigi > * fvDigiSts
std::vector< std::pair< std::string, std::string > > fvpsCanvasConfig
CbmDeviceBuildDigiEvents()
std::vector< CbmTofDigi > * fvDigiTof
Bool_t fbIgnoreTsOverlap
Constants.
bool HandleCommand(FairMQMessagePtr &, int)
TObjArray fArrayHisto
Array of histograms to send to the histogram server.
std::vector< std::string > fsAllowedChannels
List of MQ channels names.
CbmTsEventHeader * fCbmTsEventHeader
Total size of all MS in a TS, [nanoseconds].
Double_t fdTsFullSizeInNs
Total size of the overlap MS in a TS, [nanoseconds].
double_t fdMaxPublishTime
std::vector< std::pair< std::string, std::string > > fvpsHistosFolder
Vector of string pairs with ( HistoName, FolderPath ) to send to the histogram server.
TClonesArray * fTimeSliceMetaDataArray
TS MetaData storage.
std::chrono::system_clock::time_point fLastPublishTime
std::vector< std::string > fvsSetTrigMaxNb
Double_t fdTsOverSizeInNs
Total size of the core MS in a TS, [nanoseconds].
uint64_t fulNumMessages
Statistics & first TS rejection.
std::vector< std::string > fvsDelDet
bool fbDoNotSend
I/O control.
bool fbConfigSent
Flag indicating whether the histograms and canvases configurations were already published.
RawEventBuilderDetector GetDetectorBuilderCfg(std::string detName)
Get detector event builder config from string containing name.
bool SendEvents(FairMQParts &partsIn)
Double_t fdTsCoreSizeInNs
Size of a single MS, [nanoseconds].
double_t fdMinPublishTime
bool IsChannelNameAllowed(std::string channelName)
Check wether an MQ channel name is among those expected for this device.