Changeset 17822 for trunk/FACT++


Ignore:
Timestamp:
05/10/14 14:41:57 (10 years ago)
Author:
tbretz
Message:
Added isMC, isDRS and isCalibrated
Location:
trunk/FACT++/www/viewer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.html

    r17817 r17822  
    468468<tr><td>$.file.runEnd</td><td>MJD of run end minus 40587 (unix time in days)</td></tr>
    469469<tr><td>$.file.drsFile</td><td>If this is a DRS calibration file, the step id, otherwise -1</td></tr>
     470<tr><td>$.file.isMC</td><td>True is this was requested as Monte Carlo file</td></tr>
     471<tr><td>$.file.isDRS</td><td>True if DRS calibration constants were requested</td></tr>
     472<tr><td>$.file.isCalibrated</td><td>True if a calibrated file was requested</td></tr>
    470473<tr><td>$.event</td><td>The event header information as obtained from the file</td></tr>
    471474<tr><td>$.event.numRoi</td><td>Number of samples per pixel</td></tr>
  • trunk/FACT++/www/viewer/index.php

    r17821 r17822  
    204204$evt = array();
    205205$fil = array();
     206$fil['isMC']         = isset($_POST['montecarlo']);
     207$fil['isDRS']        = isset($_POST['drsfile']);
     208$fil['isCalibrated'] = isset($_POST['calibrated']);
    206209
    207210$fil['runType'] = trim(fread($file, 80));
Note: See TracChangeset for help on using the changeset viewer.