12#ifndef CBMMQTSAMULTISAMPLER_H_
13#define CBMMQTSAMULTISAMPLER_H_
16#include "MicrosliceDescriptor.hpp"
17#include "StorableTimeslice.hpp"
18#include "Timeslice.hpp"
19#include "TimesliceSource.hpp"
21#include "FairMQDevice.h"
81 bool SendData(
const fles::StorableTimeslice&,
int);
82 bool SendData(
const fles::StorableTimeslice&, std::string);
89 std::chrono::steady_clock::time_point
fTime;
105 std::vector<std::string>
fAllowedChannels = {
"stscomponent",
"richcomponent",
"trdcomponent",
"muchcomponent",
106 "tofcomponent",
"t0component",
"psdcomponent"};
108 std::vector<int>
fSysId = {0x10, 0x30, 0x40, 0x50, 0x60, 0x90, 0x80};
std::string fsChannelNameCanvasConfig
bool fbListCompPerChannelReady
std::vector< std::string > fAllowedChannels
std::vector< std::pair< std::string, std::string > > fvpsHistosFolder
Vector of string pairs with ( HistoName, FolderPath ) to send to the histogram server.
std::chrono::steady_clock::time_point fTime
virtual ~CbmMQTsaMultiSampler()
bool SendData(const fles::StorableTimeslice &, int)
std::vector< std::vector< uint32_t > > fvvCompPerChannel
std::string fsChannelNameHistosConfig
std::vector< std::vector< uint32_t > > fvvCompPerSysId
std::vector< std::string > fInputFileList
List of input files.
void PrintMicroSliceDescriptor(const fles::MicrosliceDescriptor &mdsc)
bool CreateAndCombineComponentsPerChannel(const fles::Timeslice &)
bool SendMissedTsIdx(std::vector< uint64_t > vIndices)
bool IsChannelNameAllowed(std::string)
virtual bool ConditionalRun()
bool CheckTimeslice(const fles::Timeslice &ts)
TH1I * fhTsRate
Histograms.
bool fbListCompPerSysIdReady
std::vector< std::vector< std::string > > fChannelsToSend
std::vector< int > fComponentsToSend
std::vector< std::pair< std::string, std::string > > fvpsCanvasConfig
bool CreateAndSendFullTs(const fles::Timeslice &)
double_t fdMinPublishTime
TObjArray fArrayHisto
Array of histograms to send to the histogram server.
std::chrono::system_clock::time_point fLastPublishTime
fles::TimesliceSource * fSource
std::vector< std::string > fvChannelsToSend
bool CreateAndCombineComponentsPerSysId(const fles::Timeslice &)
std::string fsChannelNameCommands
std::string fsChannelNameMissedTs
std::vector< int > fSysId
bool CreateAndSendComponent(const fles::Timeslice &, int)
std::string fsChannelNameHistosInput
bool SendCommand(std::string sCommand)
double_t fdMaxPublishTime