Changeset 17654 for trunk/FACT++/src
- Timestamp:
- 04/04/14 11:34:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/makeplots.cc
r17653 r17654 45 45 po::options_description control("Smart FACT"); 46 46 control.add_options() 47 ("ra", var<double>(), "Source right ascension")48 ("dec", var<double>(), "Source declination")47 //("ra", var<double>(), "Source right ascension") 48 //("dec", var<double>(), "Source declination") 49 49 ("date-time", var<string>(), "SQL time (UTC)") 50 50 ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database.") 51 ("max-current", var<double>( 75), "Maximum current to display in other plots.")52 ("max-zd", var<double>( 75), "Maximum zenith distance to display in other plots")51 ("max-current", var<double>(100), "Maximum current to display in other plots.") 52 ("max-zd", var<double>(50), "Maximum zenith distance to display in other plots") 53 53 ("no-limits", po_switch(), "Switch off limits in plots") 54 54 ; … … 75 75 "twilight which is 12deg below horizon.\n" 76 76 "\n" 77 "Usage: makeplots sql-datetime [--ra={ra} --dec={dec}]\n"; 77 "Usage: makeplots sql-datetime\n"; 78 // "Usage: makeplots sql-datetime [--ra={ra} --dec={dec}]\n"; 78 79 cout << endl; 79 80 } … … 90 91 return 127; 91 92 92 if (conf.Has("ra")^conf.Has("dec"))93 {94 cout << "ERROR - Either --ra or --dec missing." << endl;95 return 1;96 }93 // if (conf.Has("ra")^conf.Has("dec")) 94 // { 95 // cout << "ERROR - Either --ra or --dec missing." << endl; 96 // return 1; 97 // } 97 98 98 99 // ------------------ Eval config --------------------- … … 359 360 c4.SaveAs((t+"-MoonDist.root").c_str()); 360 361 362 c1.Print((t+".pdf(").c_str(), "pdf"); 363 c2.Print((t+".pdf" ).c_str(), "pdf"); 364 c3.Print((t+".pdf" ).c_str(), "pdf"); 365 c4.Print((t+".pdf" ).c_str(), "pdf"); 366 c5.Print((t+".pdf)").c_str(), "pdf"); 367 361 368 return 0; 362 369 }
Note:
See TracChangeset
for help on using the changeset viewer.