12#ifndef CBMMQTSAMULTISAMPLERTOF_H_
13#define CBMMQTSAMULTISAMPLERTOF_H_
16#include "MicrosliceDescriptor.hpp"
17#include "StorableTimeslice.hpp"
18#include "Timeslice.hpp"
19#include "TimesliceSource.hpp"
21#include "FairMQDevice.h"
58 bool SendData(
const fles::StorableTimeslice& component);
63 bool SendData(
const fles::StorableTimeslice&,
int);
65 bool AppendData(
const fles::StorableTimeslice&,
int);
70 std::chrono::steady_clock::time_point
fTime;
84 std::vector<std::string>
fAllowedChannels = {
"stscomponent",
"trdcomponent",
"tofcomponent",
"syscmd",
"syscmdin"};
85 std::vector<int>
fSysId = {16, 64, 96};
fles::TimesliceSource * fSource
CbmMQTsaMultiSamplerTof()
std::chrono::steady_clock::time_point fTime
std::vector< std::string > fAllowedChannels
std::vector< std::string > fInputFileList
List of input files.
bool CreateAndCombineComponents(const fles::Timeslice &, int)
bool SendData(const fles::StorableTimeslice &component)
bool AppendData(const fles::StorableTimeslice &, int)
virtual bool ConditionalRun()
std::vector< std::vector< std::string > > fChannelsToSend
bool IsChannelNameAllowed(std::string)
bool CheckTimeslice(const fles::Timeslice &ts)
bool CreateAndSendComponent(const fles::Timeslice &, int)
std::vector< int > fSysId
std::vector< int > fComponentsToSend
bool IsChannelUp(std::string)
virtual ~CbmMQTsaMultiSamplerTof()
void PrintMicroSliceDescriptor(const fles::MicrosliceDescriptor &mdsc)