- Timestamp:
- 05/05/19 22:32:57 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/dch/db_explorer.php
r19501 r19502 89 89 // ETh: 764 GeV 90 90 $crabflux="3.3"; 91 break; 91 92 case "CutsLC": 92 93 $zdfactor="pow(cos(fZenithDistanceMean*PI()/180)*exp(1-cos(fZenithDistanceMean*PI()/180)),4.5)"; … … 94 95 // ETh: 543 GeV 95 96 $crabflux="5.7"; 97 break; 96 98 default: 97 99 $zdfactor="0"; … … 405 407 $selecterr="EXCERR(SUM(fNumSigEvts), SUM(fNumBgEvts))/SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn)*3600*SUM(fNumExcEvts/".$zdfactor."/".$thfactor.")/SUM(fNumExcEvts)"; 406 408 $isnull="AND NOT ISNULL(fNumExcEvts) AND NOT ISNULL(fEffectiveOn) AND NOT ISNULL(fZenithDistanceMean) AND NOT (ISNULL(fThresholdMinSet) AND ISNULL(fThresholdMedian)) "; 407 $sqlhaving=" AND e< 1000 ";409 $sqlhaving=" AND abs(e) < 1000 "; 408 410 $titley="Corrected excess rate"; 409 411 $unity="[1/h]"; … … 414 416 $selecterr="EXCERR(SUM(fNumSigEvts), SUM(fNumBgEvts))/SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn)*3600*SUM(fNumExcEvts/".$zdfactor."/".$thfactor."/fCU)/SUM(fNumExcEvts)"; 415 417 $isnull="AND NOT ISNULL(fNumExcEvts) AND NOT ISNULL(fEffectiveOn) AND NOT ISNULL(fZenithDistanceMean) AND NOT (ISNULL(fThresholdMinSet) AND ISNULL(fThresholdMedian)) "; 416 $sqlhaving=" AND e< 1000 ";418 $sqlhaving=" AND abs(e) < 1000 "; 417 419 $titley="Flux"; 418 420 $unity="[CU]"; … … 423 425 $selecterr=$crabflux." * EXCERR(SUM(fNumSigEvts), SUM(fNumBgEvts))/SUM(TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn)*3600*SUM(fNumExcEvts/".$zdfactor."/".$thfactor."/fCU)/SUM(fNumExcEvts)"; 424 426 $isnull="AND NOT ISNULL(fNumExcEvts) AND NOT ISNULL(fEffectiveOn) AND NOT ISNULL(fZenithDistanceMean) AND NOT (ISNULL(fThresholdMinSet) AND ISNULL(fThresholdMedian)) "; 425 $sqlhaving=" AND e< 1000 ";427 $sqlhaving=" AND abs(e) < 1000 "; 426 428 $titley="Flux"; 427 429 $unity="[10^-11/cm2/s]"; … … 768 770 769 771 $hiddenInput =""; 770 if (isset($_GET["t"]))771 $hiddenInput .= "<input type='hidden' name='t' value='".$_GET["t"]."'>\n";772 //if (isset($_GET["t"])) 773 // $hiddenInput .= "<input type='hidden' name='t' value='".$_GET["t"]."'>\n"; 772 774 if (isset($_GET["db"])) 773 775 $hiddenInput .= "<input type='hidden' name='db' value='".$_GET["db"]."'>\n";
Note:
See TracChangeset
for help on using the changeset viewer.