CbmRoot
runTsaMultiSamplerTof.cxx
Go to the documentation of this file.
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  "dirname",
11  bpo::value<std::string>()->default_value(""),
12  "Directory name where to find the input files")(
13  "flib-host",
14  bpo::value<std::string>()->default_value(""),
15  "Host where the timeslice server is running")(
16  "max-timeslices",
17  bpo::value<uint64_t>()->default_value(0),
18  "Maximum number of timeslices to process for Run/ConditionalRun/OnData (0 "
19  "- infinite)")("flib-port",
20  bpo::value<uint64_t>()->default_value(0),
21  "Port where the timeslice server is running")(
22  "SelectComponents",
23  bpo::value<uint64_t>()->default_value(0),
24  "Select components for transport");
25 }
26 
27 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) {
28  return new CbmMQTsaMultiSamplerTof();
29 }
addCustomOptions
void addCustomOptions(bpo::options_description &options)
Definition: runTsaMultiSamplerTof.cxx:6
CbmMQTsaMultiSamplerTof
Definition: CbmMQTsaMultiSamplerTof.h:23
CbmMQTsaMultiSamplerTof.h
getDevice
FairMQDevicePtr getDevice(const FairMQProgOptions &)
Definition: runTsaMultiSamplerTof.cxx:27