2 #include "runFairMQDevice.h"
7 namespace bpo = boost::program_options;
11 options.add_options()(
"DebugMoni",
12 bpo::value<bool>()->default_value(
false),
13 "Debug Monitor Mode");
14 options.add_options()(
"HistEvoSz",
15 bpo::value<uint32_t>()->default_value(1800),
16 "Size of evolution histos in seconds");
17 options.add_options()(
"PulsTotMin",
18 bpo::value<uint32_t>()->default_value(185),
19 "Minimal TOT for pulser cut");
20 options.add_options()(
"PulsTotMax",
21 bpo::value<uint32_t>()->default_value(195),
22 "Maximal TOT for pulser cut");
23 options.add_options()(
"PubFreqTs",
24 bpo::value<uint32_t>()->default_value(100),
25 "Histo publishing frequency in TS");
26 options.add_options()(
"PubTimeMin",
27 bpo::value<double_t>()->default_value(1.0),
28 "Minimal time between two publishing");
29 options.add_options()(
"PubTimeMax",
30 bpo::value<double_t>()->default_value(10.0),
31 "Maximal time between two publishing");
32 options.add_options()(
"TsNameIn",
33 bpo::value<std::string>()->default_value(
"unpts_0"),
34 "MQ channel name for TS data");
35 options.add_options()(
37 bpo::value<std::string>()->default_value(
"histogram-in"),
38 "MQ channel name for histos");
39 options.add_options()(
"ChNameHistCfg",
40 bpo::value<std::string>()->default_value(
"histo-conf"),
41 "MQ channel name for histos config");
42 options.add_options()(
"ChNameCanvCfg",
43 bpo::value<std::string>()->default_value(
"canvas-conf"),
44 "MQ channel name for canvases config");
47 FairMQDevicePtr
getDevice(
const FairMQProgOptions& ) {