12#ifndef CBMMQTSASAMPLER_H_
13#define CBMMQTSASAMPLER_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);
62 bool SendData(
const fles::StorableTimeslice&,
int);
65 std::chrono::steady_clock::time_point
fTime;
79 std::vector<std::string>
fAllowedChannels = {
"stscomponent",
"trdcomponent",
"tofcomponent"};
80 std::vector<int>
fSysId = {16, 64, 96};
bool CreateAndSendComponent(const fles::Timeslice &, int)
bool SendData(const fles::StorableTimeslice &component)
fles::TimesliceSource * fSource
virtual ~CbmMQTsaSampler()
std::chrono::steady_clock::time_point fTime
std::vector< std::vector< std::string > > fChannelsToSend
bool CheckTimeslice(const fles::Timeslice &ts)
std::vector< std::string > fAllowedChannels
void PrintMicroSliceDescriptor(const fles::MicrosliceDescriptor &mdsc)
std::vector< std::string > fInputFileList
List of input files.
bool IsChannelNameAllowed(std::string)
std::vector< int > fComponentsToSend
virtual bool ConditionalRun()
std::vector< int > fSysId