Changeset 18446


Ignore:
Timestamp:
02/24/16 10:06:26 (9 years ago)
Author:
tbretz
Message:
Implemented output of global limits
File:
1 edited

Legend:

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

    r18444 r18446  
    557557
    558558    ostringstream str;
    559     str << "INSERT INTO Schedule (fStart, fUser, fMeasurementID, fMeasurementTypeKEY, fSourceKEY) VALUES\n";
     559    str << "INSERT INTO Schedule (fStart, fUser, fMeasurementID, fMeasurementTypeKEY, fSourceKEY) VALUES ";
    560560
    561561    str << "('" << Time(obs[0].begin-startup_offset).GetAsStr() << "', 'auto', 0, " << types["Startup"] << ", NULL),\n"; // [Startup]\n";
     
    645645
    646646    cout << "\n";
     647
    647648    cout << "Date: " << Time(floor(sunset)).GetAsStr() << "\n";
    648649    cout << "Set:  " << Time(sunset).GetAsStr()  << "  [" << Time(sun_set.set)   << "]\n";
    649650    cout << "Rise: " << Time(sunrise).GetAsStr() << "  [" << Time(sun_rise.rise) << "]\n";
    650     cout << endl;
     651
     652    cout << "\n";
     653
     654    cout << "Global maximum current:  " << Source::max_current << " uA/pix\n";
     655    cout << "Global zenith distance:  " << Source::max_zd << " deg\n";
     656
     657    cout << "\n";
    651658
    652659    // ------------- Get Sources from databasse ---------------------
Note: See TracChangeset for help on using the changeset viewer.