Changeset 11579


Ignore:
Timestamp:
07/24/11 21:41:38 (13 years ago)
Author:
tbretz
Message:
Added some descriptions for program options.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ftmctrl.cc

    r11578 r11579  
    23492349        ;
    23502350
     2351    po::options_description freq("Sampling frequency setup");
     2352    freq.add_options()
     2353        ("clock-conditioner.frequency",  vars<uint16_t>(),      "Frequencies for which to setup the clock-conditioner (replace the * in the following options by this definition)")
     2354        ("clock-conditioner.R0.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R0")
     2355        ("clock-conditioner.R1.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R1")
     2356        ("clock-conditioner.R8.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R8")
     2357        ("clock-conditioner.R9.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R9")
     2358        ("clock-conditioner.R11.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R11")
     2359        ("clock-conditioner.R13.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R13")
     2360        ("clock-conditioner.R14.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R14")
     2361        ("clock-conditioner.R15.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R15");
     2362
    23512363    po::options_description runtype("Run type configuration");
    23522364    runtype.add_options()
    2353         ("clock-conditioner.frequency",  vars<uint16_t>(),      "Frequencies for which to setup the clock-conditioner")
    2354         ("clock-conditioner.R0.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R0 (replace * by the defined frequency)")
    2355         ("clock-conditioner.R1.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R1 (replace * by the defined frequency)")
    2356         ("clock-conditioner.R8.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R8 (replace * by the defined frequency)")
    2357         ("clock-conditioner.R9.*",       var<Hex<uint32_t>>(),  "Clock-conditioner R9 (replace * by the defined frequency)")
    2358         ("clock-conditioner.R11.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R11 (replace * by the defined frequency)")
    2359         ("clock-conditioner.R13.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R13 (replace * by the defined frequency)")
    2360         ("clock-conditioner.R14.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R14 (replace * by the defined frequency)")
    2361         ("clock-conditioner.R15.*",      var<Hex<uint32_t>>(),  "Clock-conditioner R15 (replace * by the defined frequency)")
    2362         ("run-type",                     vars<string>(),        "")
    2363         ("sampling-frequency.*",         var<uint16_t>(),       "")
    2364         ("trigger.enable-trigger.*",             var<bool>(),           "")
    2365         ("trigger.enable-external-1.*",          var<bool>(),           "")
    2366         ("trigger.enable-external-2.*",          var<bool>(),           "")
    2367         ("trigger.enable-veto.*",                var<bool>(),           "")
    2368         ("trigger.enable-clock-conditioner.*",   var<bool>(),           "")
    2369         ("trigger.sequence.interval.*",          var<uint16_t>(),       "")
    2370         ("trigger.sequence.pedestal.*",          var<uint16_t>(),       "")
    2371         ("trigger.sequence.lp-int.*",            var<uint16_t>(),       "")
    2372         ("trigger.sequence.lp-ext.*",            var<uint16_t>(),       "")
    2373         ("trigger.multiplicity-physics.*",       var<uint16_t>(),       "")
    2374         ("trigger.multiplicity-calib.*",         var<uint16_t>(),       "")
    2375         ("trigger.coincidence-window-physics.*", var<uint16_t>(),       "")
    2376         ("trigger.coincidence-window-calib.*",   var<uint16_t>(),       "")
    2377         ("trigger.dead-time.*",                  var<uint16_t>(),       "")
    2378         ("trigger.delay.*",                      var<uint16_t>(),       "")
    2379         ("trigger.time-marker-delay.*",          var<uint16_t>(),       "")
    2380         ("trigger.disable-pixel.*",              vars<uint16_t>(),      "")
    2381         ("trigger.disable-patch.*",              vars<uint16_t>(),      "")
    2382         ("ftu-report-interval.*",                var<uint16_t>(),       "")
    2383         ("light-pulser.external.enable-group1.*", var<bool>(),       "")
    2384         ("light-pulser.external.enable-group2.*", var<bool>(),       "")
    2385         ("light-pulser.internal.enable-group1.*", var<bool>(),       "")
    2386         ("light-pulser.internal.enable-group2.*", var<bool>(),       "")
    2387         ("light-pulser.external.intensity.*",     var<uint16_t>(),   "")
    2388         ("light-pulser.internal.intensity.*",     var<uint16_t>(),   "")
     2365        ("run-type",                     vars<string>(),        "Name of run-types (replace the * in the following configuration by the case-sensitive names defined here)")
     2366        ("sampling-frequency.*",         var<uint16_t>(),       "Sampling frequency as defined in the clock-conditioner.frequency")
     2367        ("trigger.enable-trigger.*",             var<bool>(),   "Enable trigger output of physics trigger")
     2368        ("trigger.enable-external-1.*",          var<bool>(),   "Enable external trigger line 1")
     2369        ("trigger.enable-external-2.*",          var<bool>(),   "Enable external trigger line 2")
     2370        ("trigger.enable-veto.*",                var<bool>(),   "Enable veto line")
     2371        ("trigger.enable-clock-conditioner.*",   var<bool>(),   "")
     2372        ("trigger.sequence.interval.*",          var<uint16_t>(),  "Interval between two artifical triggers in units of n*4ns+8ns")
     2373        ("trigger.sequence.pedestal.*",          var<uint16_t>(),  "Number of pedestal events in the sequence of artificial triggers")
     2374        ("trigger.sequence.lp-int.*",            var<uint16_t>(),  "Number of LPint events in the sequence of artificial triggers")
     2375        ("trigger.sequence.lp-ext.*",            var<uint16_t>(),  "Number of LPext events in the sequence of artificial triggers")
     2376        ("trigger.multiplicity-physics.*",       var<uint16_t>(),  "Multiplicity for physics events (n out of 40)")
     2377        ("trigger.multiplicity-calib.*",         var<uint16_t>(),  "Multiplicity for LPext events (n out of 40)")
     2378        ("trigger.coincidence-window-physics.*", var<uint16_t>(),  "Coincidence window for physics triggers in units of n*4ns+8ns")
     2379        ("trigger.coincidence-window-calib.*",   var<uint16_t>(),  "Coincidence window for LPext triggers in units of n*4ns+8ns")
     2380        ("trigger.dead-time.*",                  var<uint16_t>(),  "Dead time after trigger in units of n*4ns+8ns")
     2381        ("trigger.delay.*",                      var<uint16_t>(),  "Delay of the trigger send to the FAD boards after a trigger in units of n*4ns+8ns")
     2382        ("trigger.time-marker-delay.*",          var<uint16_t>(),  "Delay of the time-marker after a trigger in units of n*4ns+8ns")
     2383        ("trigger.disable-pixel.*",              vars<uint16_t>(), "")
     2384        ("trigger.disable-patch.*",              vars<uint16_t>(), "")
     2385        ("ftu-report-interval.*",                var<uint16_t>(),  "")
     2386        ("light-pulser.external.enable-group1.*", var<bool>(),     "Enable LED group 1 of external light pulser")
     2387        ("light-pulser.external.enable-group2.*", var<bool>(),     "Enable LED group 2 of external light pulser")
     2388        ("light-pulser.internal.enable-group1.*", var<bool>(),     "Enable LED group 1 of internal light pulser")
     2389        ("light-pulser.internal.enable-group2.*", var<bool>(),     "Enable LED group 2 of internal light pulser")
     2390        ("light-pulser.external.intensity.*",     var<uint16_t>(), "Intensity of external light pulser")
     2391        ("light-pulser.internal.intensity.*",     var<uint16_t>(), "Intensity of internal light pulser")
    23892392        ;
    23902393
    23912394    conf.AddOptions(control);
     2395    conf.AddOptions(freq);
    23922396    conf.AddOptions(runtype);
    23932397}
Note: See TracChangeset for help on using the changeset viewer.