CbmRoot
Loading...
Searching...
No Matches
runTsaMultiSamplerTof.cxx
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 PI-UHd, GSI
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Norbert Herrmann [committer] */
4
6
7#include "runFairMQDevice.h"
8
9namespace bpo = boost::program_options;
10
11void addCustomOptions(bpo::options_description& options)
12{
13 options.add_options()("filename", bpo::value<std::string>()->default_value(""), "Filename of the input file")(
14 "dirname", bpo::value<std::string>()->default_value(""), "Directory name where to find the input files")(
15 "flib-host", bpo::value<std::string>()->default_value(""), "Host where the timeslice server is running")(
16 "max-timeslices", bpo::value<uint64_t>()->default_value(0),
17 "Maximum number of timeslices to process for Run/ConditionalRun/OnData (0 "
18 "- infinite)")("flib-port", bpo::value<uint64_t>()->default_value(0), "Port where the timeslice server is running")(
19 "SelectComponents", bpo::value<uint64_t>()->default_value(0), "Select components for transport");
20}
21
22FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmMQTsaMultiSamplerTof(); }
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)