Changeset 16672 for trunk/Mars


Ignore:
Timestamp:
06/03/13 22:25:08 (11 years ago)
Author:
Daniela Dorner
Message:
fixed that lightcurve stopped at midnight
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/lightcurve.C

    r15527 r16672  
    122122    {
    123123        cout << "NIGHT " << (*row3)[0] << endl;
    124         query =" SELECT IF(ISNULL(fOnTime), Time_to_sec(fRunStop)-Time_to_sec(fRunStart), fOnTime), ";
     124        query =" SELECT IF(ISNULL(fOnTimeAfterCuts, IF(ISNULL(fOnTime), Time_to_sec(Timediff(fRunStop,fRunStart)), fOnTime), fOnTimeAfterCuts), ";
    125125        query+=" fNumBgEvts, fNumSigEvts, fNumExcEvts, ";
    126126        query+=" fRunStart, fRunStop, (fZenithDistanceMax-fZenithDistanceMin)/2, ";
Note: See TracChangeset for help on using the changeset viewer.