12#ifndef CBMMQTSASAMPLERTOF_H_
13#define CBMMQTSASAMPLERTOF_H_
16#include "MicrosliceDescriptor.hpp"
17#include "StorableTimeslice.hpp"
18#include "Timeslice.hpp"
19#include "TimesliceSource.hpp"
22#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};
bool IsChannelUp(std::string)
bool AppendData(const fles::StorableTimeslice &, int)
std::vector< int > fComponentsToSend
std::vector< int > fSysId
virtual bool ConditionalRun()
fles::TimesliceSource * fSource
bool CreateAndCombineComponents(const fles::Timeslice &, int)
bool IsChannelNameAllowed(std::string)
std::vector< std::string > fAllowedChannels
bool CreateAndSendComponent(const fles::Timeslice &, int)
bool SendData(const fles::StorableTimeslice &component)
std::vector< std::string > fInputFileList
List of input files.
std::chrono::steady_clock::time_point fTime
void PrintMicroSliceDescriptor(const fles::MicrosliceDescriptor &mdsc)
bool CheckTimeslice(const fles::Timeslice &ts)
virtual ~CbmMQTsaSamplerTof()
std::vector< std::vector< std::string > > fChannelsToSend