Ignore:
Timestamp:
06/17/08 18:02:31 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C

    r8232 r8968  
    282282        // ========== Request number of events ==========
    283283
     284        // Can be replaced by
     285
    284286        const TString runtime =
    285             "SUM(if(TIME_TO_SEC(fRunStop)-TIME_TO_SEC(fRunStart)<0,"
    286             " TIME_TO_SEC(fRunStop)-TIME_TO_SEC(fRunStart)+24*60*60,"
    287             " TIME_TO_SEC(fRunStop)-TIME_TO_SEC(fRunStart))), ";
     287            "SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))), ";
     288            //"SUM(if(TIME_TO_SEC(fRunStop)-TIME_TO_SEC(fRunStart)<0,"
     289            //" TIME_TO_SEC(fRunStop)-TIME_TO_SEC(fRunStart)+24*60*60,"
     290            //" TIME_TO_SEC(fRunStop)-TIME_TO_SEC(fRunStart))), ";
    288291
    289292        const TString where = Form("(fRunNumber BETWEEN %d AND %d) AND fExcludedFDAKEY=1",
Note: See TracChangeset for help on using the changeset viewer.