2 #include "runFairMQDevice.h"
7 namespace bpo = boost::program_options;
11 options.add_options()(
13 bpo::value<std::string>()->default_value(
"mcbm_digis_events.root"),
14 "Name (full or relative path) of the output .root file ");
15 options.add_options()(
"EvtNameIn",
16 bpo::value<std::string>()->default_value(
"events"),
17 "MQ channel name for built events");
18 options.add_options()(
20 bpo::value<bool>()->default_value(
false),
21 "Fill histograms and send them to histo server if true");
22 options.add_options()(
24 bpo::value<std::string>()->default_value(
"histogram-in"),
25 "MQ channel name for histos");
26 options.add_options()(
"ChNameHistCfg",
27 bpo::value<std::string>()->default_value(
"histo-conf"),
28 "MQ channel name for histos config");
29 options.add_options()(
"ChNameCanvCfg",
30 bpo::value<std::string>()->default_value(
"canvas-conf"),
31 "MQ channel name for canvases config");
32 options.add_options()(
"PubFreqTs",
33 bpo::value<uint32_t>()->default_value(100),
34 "Histo publishing frequency in TS");
35 options.add_options()(
"PubTimeMin",
36 bpo::value<double_t>()->default_value(1.0),
37 "Minimal time between two publishing");
38 options.add_options()(
"PubTimeMax",
39 bpo::value<double_t>()->default_value(10.0),
40 "Maximal time between two publishing");
43 FairMQDevicePtr
getDevice(
const FairMQProgOptions& ) {