Changeset 15110


Ignore:
Timestamp:
Mar 18, 2013, 4:42:47 PM (7 years ago)
Author:
tbretz
Message:
Removed default from file name resources.
Location:
trunk/FACT++/src
Files:
4 edited

Legend:

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

    r14615 r15110  
    21312131        if (!conf.Has("bias-map-file") && !conf.Has("bias-database"))
    21322132        {
    2133             T::Error("Neither bias-map-file not bias-dtabase specified.");
     2133            T::Error("Neither bias-map-file not bias-database specified.");
    21342134            return 5;
    21352135        }
     
    21882188        ("volt-max-abs",    var<float>(75),      "Absolte upper limit for the voltage (in Volts)")
    21892189        ("volt-max-rel",    var<float>(2.5),     "Relative upper limit for the voltage w.r.t. the G-APD reference voltage (in Volts)")
    2190         ("bias-map-file",   var<string>("GAPDmap.txt"), "File with nominal and offset voltages for each channel.")
    2191         ("bias-database",   var<string>(""),      "")
     2190        ("bias-map-file",   var<string>(),      "File with nominal and offset voltages for each channel.")
     2191        ("bias-database",   var<string>(),       "")
    21922192        ;
    21932193
  • trunk/FACT++/src/feedback.cc

    r15031 r15110  
    15001500    po::options_description control("Feedback options");
    15011501    control.add_options()
    1502         ("pixel-map-file",      var<string>("FACTmapV5a.txt"), "Pixel mapping file. Used here to get the default reference voltage.")
     1502        ("pixel-map-file",      var<string>()->required(), "Pixel mapping file. Used here to get the default reference voltage.")
    15031503        ("current-request-interval",  var<uint16_t>(1000), "Interval between two current requests.")
    15041504        ("num-calib-ignore",    var<uint16_t>(30), "Number of current requests to be ignored before averaging")
  • trunk/FACT++/src/ratecontrol.cc

    r15091 r15110  
    846846    control.add_options()
    847847        ("quiet,q", po_bool(),  "Disable printing more informations during rate control.")
    848         ("pixel-map-file", var<string>("FACTmapV5a.txt"), "Pixel mapping file. Used here to get the default reference voltage.")
     848        ("pixel-map-file", var<string>()->required(), "Pixel mapping file. Used here to get the default reference voltage.")
    849849       //("max-wait",   var<uint16_t>(150), "The maximum number of seconds to wait to get the anticipated resolution for a point.")
    850850       // ("resolution", var<double>(0.05) , "The minimum resolution required for a single data point.")
  • trunk/FACT++/src/smartfact.cc

    r15081 r15110  
    30413041    po::options_description control("Smart FACT");
    30423042    control.add_options()
    3043         ("pixel-map-file",  var<string>("FACTmapV5a.txt"),     "Pixel mapping file. Used here to get the default reference voltage")
     3043        ("pixel-map-file",  var<string>()->required(),     "Pixel mapping file. Used here to get the default reference voltage")
    30443044        ("path",            var<string>("www/smartfact/data"), "Output path for the data-files")
    30453045        ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database.")
Note: See TracChangeset for help on using the changeset viewer.