CbmRoot
runTsaInfo.cxx
Go to the documentation of this file.
1 #include "CbmMQTsaInfo.h"
2 #include "runFairMQDevice.h"
3 
4 namespace bpo = boost::program_options;
5 
6 void addCustomOptions(bpo::options_description& options) {
7  options.add_options()("filename",
8  bpo::value<std::string>()->default_value(""),
9  "Filename of the input file")(
10  "flib-host",
11  bpo::value<std::string>()->default_value(""),
12  "Host where the timeslice server is running")(
13  "max-timeslices",
14  bpo::value<uint64_t>()->default_value(0),
15  "Maximum number of timeslices to process for Run/ConditionalRun/OnData (0 "
16  "- infinite)")("flib-port",
17  bpo::value<uint64_t>()->default_value(0),
18  "Port where the timeslice server is running");
19 }
20 
21 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) {
22  return new CbmMQTsaInfo();
23 }
addCustomOptions
void addCustomOptions(bpo::options_description &options)
Definition: runTsaInfo.cxx:6
CbmMQTsaInfo
Definition: CbmMQTsaInfo.h:24
CbmMQTsaInfo.h
getDevice
FairMQDevicePtr getDevice(const FairMQProgOptions &)
Definition: runTsaInfo.cxx:21