Changeset 19500 for trunk/www/dch/db_explorer.php
- Timestamp:
- 05/05/19 17:03:13 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/dch/db_explorer.php
r18883 r19500 370 370 $selecty="SUM(fNumExcEvts)*3600/SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn)"; 371 371 $selecterr="EXCERR(SUM(fNumSigEvts), SUM(fNumBgEvts))/SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn)*3600"; 372 $isnull="AND NOT ISNULL(fNumExcEvts) ";372 $isnull="AND NOT ISNULL(fNumExcEvts) AND NOT ISNULL(fEffectiveOn)"; 373 373 $titley="Excess events"; 374 374 $unity="[1/h]"; … … 554 554 ($selectx) AS x, 555 555 ($selecty) AS y, 556 (SUM( fOnTimeAfterCuts)/60) AS ontime,556 (SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn)/60) AS ontime, 557 557 ($selecterr) AS e, 558 558 (LIMA(SUM(fNumSigEvts), SUM(fNumBgEvts))) AS s,
Note:
See TracChangeset
for help on using the changeset viewer.