2 #include "runFairMQDevice.h"
7 namespace bpo = boost::program_options;
11 options.add_options()(
"IgnOverMs",
12 bpo::value<bool>()->default_value(
true),
13 "Ignore overlap MS if true");
14 options.add_options()(
"DebugMoni",
15 bpo::value<bool>()->default_value(
false),
16 "Debug Monitor Mode");
17 options.add_options()(
"IgnCritErr",
18 bpo::value<bool>()->default_value(
true),
19 "Ignore Critical Errors");
20 options.add_options()(
"HistEvoSz",
21 bpo::value<uint32_t>()->default_value(1800),
22 "Size of evolution histos in seconds");
23 options.add_options()(
"PulsTotMin",
24 bpo::value<uint32_t>()->default_value(185),
25 "Minimal TOT for pulser cut");
26 options.add_options()(
"PulsTotMax",
27 bpo::value<uint32_t>()->default_value(195),
28 "Maximal TOT for pulser cut");
29 options.add_options()(
31 bpo::value<int32_t>()->default_value(-1),
32 "Single gDPB selection by index, -1 (default) to disable");
33 options.add_options()(
"PubFreqTs",
34 bpo::value<uint32_t>()->default_value(100),
35 "Histo publishing frequency in TS");
36 options.add_options()(
"PubTimeMin",
37 bpo::value<double_t>()->default_value(1.0),
38 "Minimal time between two publishing");
39 options.add_options()(
"PubTimeMax",
40 bpo::value<double_t>()->default_value(10.0),
41 "Maximal time between two publishing");
42 options.add_options()(
44 bpo::value<std::string>()->default_value(
"tofcomponent"),
45 "MQ channel name for TS data");
46 options.add_options()(
48 bpo::value<std::string>()->default_value(
"histogram-in"),
49 "MQ channel name for histos");
50 options.add_options()(
"ChNameHistCfg",
51 bpo::value<std::string>()->default_value(
"histo-conf"),
52 "MQ channel name for histos config");
53 options.add_options()(
"ChNameCanvCfg",
54 bpo::value<std::string>()->default_value(
"canvas-conf"),
55 "MQ channel name for canvases config");
58 FairMQDevicePtr
getDevice(
const FairMQProgOptions& ) {