2 #include "runFairMQDevice.h"
7 namespace bpo = boost::program_options;
11 options.add_options()(
"ReqMode",
12 bpo::value<uint64_t>()->default_value(0),
13 "Time intervall selector");
14 options.add_options()(
"SelectComponents",
15 bpo::value<uint64_t>()->default_value(1),
16 "Select components for transport");
17 options.add_options()(
"ReqTint",
18 bpo::value<uint64_t>()->default_value(100),
19 "Time intervall length in ns");
20 options.add_options()(
"PulserMode",
21 bpo::value<int64_t>()->default_value(0),
22 "Choose pulser configuration");
23 options.add_options()(
"PulMulMin",
24 bpo::value<uint64_t>()->default_value(0),
25 "Min number of pulsed detectors");
26 options.add_options()(
"PulTotMin",
27 bpo::value<uint64_t>()->default_value(0),
28 "Min pulser TimeOverThreshold");
29 options.add_options()(
"TShiftRef",
30 bpo::value<double_t>()->default_value(0.),
31 "Time shift of reference counter to match digis");
32 options.add_options()(
"MaxAsicInactive",
33 bpo::value<uint64_t>()->default_value(0),
34 "Max number of disabled ASICs");
37 for (
int i = 0;
i < iNDet;
i++)
38 options.add_options()(Form(
"ReqDet%d",
i),
39 bpo::value<uint64_t>()->default_value(0),
43 FairMQDevicePtr
getDevice(
const FairMQProgOptions& ) {