Ignore:
Timestamp:
04/29/14 16:16:51 (11 years ago)
Author:
tbretz
Message:
Added marker for selected pixel; added runinfo and trigger info; updated position of autocomplete dialog
File:
1 edited

Legend:

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

    r17723 r17728  
    119119      <pre style="color:green" id="console"></pre>
    120120   </div>
     121   <h3><a href="#">Run info</a></h3>
     122   <div>
     123      <pre id="runinfo"></pre>
     124   </div>
    121125   <h3><a href="#">Debug</a></h3>
    122126   <div id="debug">
     
    159163   <table width="100%">
    160164      <colgroup>
    161          <col style="width:50%;">
    162          <col style="width:50%;">
     165         <col style="width:40%;">
     166         <col style="width:20%;">
     167         <col style="width:40%;">
    163168      </colgroup>
    164169      <tr>
     
    175180               <input id="cameramaxon1" type="checkbox" onclick="onCameraMinMaxOn(1);" checked="true"></input>
    176181            </span>
     182         </td>
     183         <td style="text-align:center" id="eventinfo">
    177184         </td>
    178185         <td style="text-align:right">
     
    233240         </td>
    234241         <td style="text-align:center;">
    235             Pixel value:
    236             <input id="value" type="text" readonly="true"  value="0" style="text-align:right;width:100px"></input>
     242            <input id="marker" type="checkbox" checked="true" onclick="onMarker();">Show pixel marker</input>
     243            <!--Pixel value:
     244            <input id="value" type="text" readonly="true"  value="0" style="text-align:right;width:100px"></input>-->
    237245         </td>
    238246         <td style="text-align:right">
     
    323331The environment provides a global object (namesapce) called $ with the following members:
    324332<table>
     333<tr><td>$.file.numEvents</td><td>Number of events in the file</td></tr>
     334<tr><td>$.file.runStart</td><td>MJD of run start minus 40587 (unix time in days)</td></tr>
     335<tr><td>$.file.runEnd</td><td>MJD of run end minus 40587 (unix time in days)</td></tr>
     336<tr><td>$.file.drsFile</td><td>If this is a DRS calibration file, the step id, otherwise -1</td></tr>
    325337<tr><td>$.event</td><td>The event header information as obtained from the file</td></tr>
    326 <tr><td>$.event.numEvents</td><td>Number of events in the file</td></tr>
    327338<tr><td>$.event.numRoi</td><td>Number of samples per pixel</td></tr>
    328339<tr><td>$.event.numPix</td><td>Number of pixels</td></tr>
     
    330341<tr><td>$.event.triggerNumber</td><td>Trigger number</td></tr>
    331342<tr><td>$.event.triggerType</td><td>Trigger type</td></tr>
     343<tr><td>$.event.trigger</td><td>Decoded trigger information</td></tr>
    332344<tr><td>$.event.unixTime[2]</td><td>Timestamp when the event arrived at the event builder</td></tr>
    333 <tr><td>$.data[numPix][numRoi]</td><td>Theevent data</td></tr>
     345<tr><td>$.data[numPix][numRoi]</td><td>The event data</td></tr>
     346<tr><td>$.nroi</td><td>Shortcut to $.event.numRoi</td></tr>
     347<tr><td>$.npix</td><td>Shortcut to $.event.numPix</td></tr>
     348<tr><td>$.trigger</td><td>Shortcut to $.event.trigger</td></tr>
     349<tr><td>$.neighbors</td><td>Array of 1440 arrays each containing the corresponding neighbors</td></tr>
    334350</table>
    335351
Note: See TracChangeset for help on using the changeset viewer.