Definition at line 2729 of file ftmctrl.cc.
References Configuration::AddOptions(), freq, and po_bool().
Referenced by main().
2731 po::options_description control(
"Control options");
2732 control.add_options()
2733 (
"no-dim",
po_bool(),
"Disable dim services")
2734 (
"addr,a", var<string>(
"localhost:5000"),
"Network address of FTM")
2735 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
2736 (
"hex-out",
po_bool(),
"Enable printing contents of all printed messages also as hex data.")
2737 (
"dynamic-out",
po_bool(),
"Enable printing received dynamic data.")
2741 po::options_description
freq(
"Sampling frequency setup");
2743 (
"clock-conditioner.frequency", vars<uint16_t>(),
"Frequencies for which to setup the clock-conditioner (replace the * in the following options by this definition)")
2744 (
"clock-conditioner.R0.*", var<Hex<uint32_t>>(),
"Clock-conditioner R0")
2745 (
"clock-conditioner.R1.*", var<Hex<uint32_t>>(),
"Clock-conditioner R1")
2746 (
"clock-conditioner.R8.*", var<Hex<uint32_t>>(),
"Clock-conditioner R8")
2747 (
"clock-conditioner.R9.*", var<Hex<uint32_t>>(),
"Clock-conditioner R9")
2748 (
"clock-conditioner.R11.*", var<Hex<uint32_t>>(),
"Clock-conditioner R11")
2749 (
"clock-conditioner.R13.*", var<Hex<uint32_t>>(),
"Clock-conditioner R13")
2750 (
"clock-conditioner.R14.*", var<Hex<uint32_t>>(),
"Clock-conditioner R14")
2751 (
"clock-conditioner.R15.*", var<Hex<uint32_t>>(),
"Clock-conditioner R15");
2753 po::options_description runtype(
"Run type configuration");
2754 runtype.add_options()
2755 (
"run-type", vars<string>(),
"Name of run-types (replace the * in the following configuration by the case-sensitive names defined here)")
2756 (
"sampling-frequency.*", var<uint16_t>(),
"Sampling frequency as defined in the clock-conditioner.frequency")
2757 (
"trigger.enable-trigger.*", var<bool>(),
"Enable trigger output of physics trigger")
2758 (
"trigger.enable-external-1.*", var<bool>(),
"Enable external trigger line 1")
2759 (
"trigger.enable-external-2.*", var<bool>(),
"Enable external trigger line 2")
2760 (
"trigger.enable-veto.*", var<bool>(),
"Enable veto line")
2761 (
"trigger.enable-clock-conditioner.*", var<bool>(),
"")
2762 (
"trigger.sequence.interval.*", var<uint16_t>(),
"Interval between two artifical triggers in units of ms")
2763 (
"trigger.sequence.pedestal.*", var<uint16_t>(),
"Number of pedestal events in the sequence of artificial triggers")
2764 (
"trigger.sequence.lp-int.*", var<uint16_t>(),
"Number of LPint events in the sequence of artificial triggers")
2765 (
"trigger.sequence.lp-ext.*", var<uint16_t>(),
"Number of LPext events in the sequence of artificial triggers")
2766 (
"trigger.multiplicity-physics.*", var<uint16_t>(),
"Multiplicity for physics events (n out of 40)")
2767 (
"trigger.multiplicity-calib.*", var<uint16_t>(),
"Multiplicity for LPext events (n out of 40)")
2768 (
"trigger.coincidence-window-physics.*", var<uint16_t>(),
"Coincidence window for physics triggers in units of n*4ns+8ns")
2769 (
"trigger.coincidence-window-calib.*", var<uint16_t>(),
"Coincidence window for LPext triggers in units of n*4ns+8ns")
2770 (
"trigger.dead-time.*", var<uint16_t>(),
"Dead time after trigger in units of n*4ns+8ns")
2771 (
"trigger.delay.*", var<uint16_t>(),
"Delay of the trigger send to the FAD boards after a trigger in units of n*4ns+8ns")
2772 (
"trigger.time-marker-delay.*", var<uint16_t>(),
"Delay of the time-marker after a trigger in units of n*4ns+8ns")
2773 (
"trigger.disable-pixel.*", vars<uint16_t>(),
"")
2774 (
"trigger.disable-patch.*", vars<uint16_t>(),
"")
2775 (
"trigger.threshold.patch.*", var<uint16_t>(),
"")
2776 (
"trigger.threshold.logic.*", var<uint16_t>(),
"")
2777 (
"ftu-report-interval.*", var<uint16_t>(),
"")
2778 (
"disable-ftu.*", vars<uint16_t>(),
"")
2779 (
"light-pulser.external.enable-group1.*", var<bool>(),
"Enable LED group 1 of external light pulser")
2780 (
"light-pulser.external.enable-group2.*", var<bool>(),
"Enable LED group 2 of external light pulser")
2781 (
"light-pulser.internal.enable-group1.*", var<bool>(),
"Enable LED group 1 of internal light pulser")
2782 (
"light-pulser.internal.enable-group2.*", var<bool>(),
"Enable LED group 2 of internal light pulser")
2783 (
"light-pulser.external.intensity.*", var<uint16_t>(),
"Intensity of external light pulser")
2784 (
"light-pulser.internal.intensity.*", var<uint16_t>(),
"Intensity of internal light pulser")
void AddOptions(const po::options_description &opt, bool visible=true)
po::typed_value< bool > * po_bool(bool def=false)