2 #include "runFairMQDevice.h"
4 namespace bpo = boost::program_options;
7 options.add_options()(
"OutRootFile",
8 bpo::value<std::string>()->default_value(
""),
9 "Root output file name");
10 options.add_options()(
"MaxEvent",
11 bpo::value<int64_t>()->default_value(-1),
12 "Nr of Event for ROOT file");
13 options.add_options()(
"RunId",
14 bpo::value<int64_t>()->default_value(11),
15 "Run identifier for ROOT geometry file");
16 options.add_options()(
"Mode",
17 bpo::value<int64_t>()->default_value(0),
18 "Choose device operation mode");
19 options.add_options()(
"PulserMode",
20 bpo::value<int64_t>()->default_value(0),
21 "Choose pulser configuration");
22 options.add_options()(
"PulMulMin",
23 bpo::value<uint64_t>()->default_value(0),
24 "Min number of pulsed detectors");
25 options.add_options()(
"PulDetRef",
26 bpo::value<uint64_t>()->default_value(0),
27 "Pulser Reference Detector");
28 options.add_options()(
29 "PulTotMin", bpo::value<uint64_t>()->default_value(0),
"Min Tot value");
30 options.add_options()(
31 "PulTotMax", bpo::value<uint64_t>()->default_value(0),
"Max Tot value");
33 options.add_options()(
34 "DutType", bpo::value<uint64_t>()->default_value(0),
"Dut type identifier");
35 options.add_options()(
36 "DutSm", bpo::value<uint64_t>()->default_value(0),
"Dut module number");
37 options.add_options()(
38 "DutRpc", bpo::value<uint64_t>()->default_value(1),
"Dut counter number");
40 options.add_options()(
41 "SelType", bpo::value<uint64_t>()->default_value(0),
"Sel type identifier");
42 options.add_options()(
43 "SelSm", bpo::value<uint64_t>()->default_value(1),
"Sel module number");
44 options.add_options()(
45 "SelRpc", bpo::value<uint64_t>()->default_value(1),
"Sel counter number");
47 options.add_options()(
"Sel2Type",
48 bpo::value<uint64_t>()->default_value(0),
49 "Sel2 type identifier");
50 options.add_options()(
51 "Sel2Sm", bpo::value<uint64_t>()->default_value(2),
"Sel2 module number");
52 options.add_options()(
53 "Sel2Rpc", bpo::value<uint64_t>()->default_value(1),
"Sel2 counter number");
55 options.add_options()(
"BRefType",
56 bpo::value<uint64_t>()->default_value(0),
57 "Beam Reference type identifier");
58 options.add_options()(
"BRefSm",
59 bpo::value<uint64_t>()->default_value(3),
60 "Beam Reference module number");
61 options.add_options()(
"BRefDet",
62 bpo::value<uint64_t>()->default_value(1),
63 "Beam Reference counter number");
65 options.add_options()(
66 "CalMode", bpo::value<uint64_t>()->default_value(0),
"Calibration Mode");
67 options.add_options()(
68 "CalSel", bpo::value<uint64_t>()->default_value(0),
"Calibration Selector");
69 options.add_options()(
"CaldXdYMax",
70 bpo::value<double_t>()->default_value(30.),
72 options.add_options()(
"CalCluMulMax",
73 bpo::value<uint64_t>()->default_value(3),
74 "Max Counter Multiplicity");
75 options.add_options()(
"CalRefSel",
76 bpo::value<uint64_t>()->default_value(0),
77 "Reference Selector");
78 options.add_options()(
"CalTotMax",
79 bpo::value<double_t>()->default_value(20.),
80 "Time Over Threhold Maximum");
81 options.add_options()(
"CalTotMean",
82 bpo::value<double_t>()->default_value(5.),
83 "Time Over Threhold Mean");
84 options.add_options()(
"MaxTimeDist",
85 bpo::value<double_t>()->default_value(1.),
86 "Cluster range in ns");
87 options.add_options()(
"DelTofMax",
88 bpo::value<double_t>()->default_value(60.),
89 "acceptance range for cluster distance");
90 options.add_options()(
"Sel2MulMax",
91 bpo::value<double_t>()->default_value(3.),
92 "Limit of 2nd selector multiplicity");
93 options.add_options()(
"ChannelDeadtime",
94 bpo::value<double_t>()->default_value(50.),
95 "channel deadtime in ns");
96 options.add_options()(
"CalYFitMin",
97 bpo::value<double_t>()->default_value(1.E4),
98 "Min counts for box fit");
100 options.add_options()(
"OutHstFile",
101 bpo::value<std::string>()->default_value(
""),
102 "monitor histogram file name");
103 options.add_options()(
"OutParFile",
104 bpo::value<std::string>()->default_value(
""),
105 "parameter histogram file name");