CbmRoot
Loading...
Searching...
No Matches
runTsaInfo.cxx
Go to the documentation of this file.
1/* Copyright (C) 2018 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
5#include "CbmMQTsaInfo.h"
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 "flib-host", bpo::value<std::string>()->default_value(""), "Host where the timeslice server is running")(
15 "max-timeslices", bpo::value<uint64_t>()->default_value(0),
16 "Maximum number of timeslices to process for Run/ConditionalRun/OnData (0 "
17 "- infinite)")("flib-port", bpo::value<uint64_t>()->default_value(0), "Port where the timeslice server is running");
18}
19
20FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmMQTsaInfo(); }
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)