919 po::options_description control(
"Rate control options");
920 control.add_options()
921 (
"quiet,q",
po_bool(),
"Disable printing more informations during rate control.")
922 (
"pixel-map-file", var<string>()->required(),
"Pixel mapping file. Used here to get the default reference voltage.")
929 po::options_description runtype(
"Run type configuration");
930 runtype.add_options()
931 (
"run-type", vars<string>(),
"Name of run-types (replace the * in the following configuration by the case-sensitive names defined here)")
932 (
"calibration-type.*", var<uint16_t>(),
"Calibration type (0: none, 1: by rate, 2: by current)")
933 (
"target-rate.*", var<uint16_t>(),
"Target rate for calibration by rate")
934 (
"min-threshold.*", var<uint16_t>(),
"Minimum threshold which can be applied in a calibration")
935 (
"average-time.*", var<uint16_t>(),
"Time in seconds to average the currents for a calibration by current.")
936 (
"required-events.*", var<uint16_t>(),
"Number of required current events to start a calibration by current.");
void AddOptions(const po::options_description &opt, bool visible=true)
po::typed_value< bool > * po_bool(bool def=false)