Changeset 16693


Ignore:
Timestamp:
06/04/13 18:19:46 (12 years ago)
Author:
Daniela Dorner
Message:
bugfix in query
File:
1 edited

Legend:

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

    r16672 r16693  
    122122    {
    123123        cout << "NIGHT " << (*row3)[0] << endl;
    124         query =" SELECT IF(ISNULL(fOnTimeAfterCuts, IF(ISNULL(fOnTime), Time_to_sec(Timediff(fRunStop,fRunStart)), fOnTime), fOnTimeAfterCuts), ";
     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.