Changes between Version 4 and Version 5 of InstallingEventViewer


Ignore:
Timestamp:
11/10/18 21:54:36 (6 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingEventViewer

    v4 v5  
    11The [https://www.fact-project.org/viewer/ Event Viewer] is a tool which allows to display raw data and manipulate raw data from a web browser. It is ideal to develop new algorithms without recompiling any code or writing a new framework. The disadvantage is that it is quite tedious to install. Here are some instructions.
    22
    3 == Requirements ==
     3= Requirements =
    44
    55== PHP ==
     
    8989If you get an error that V8Js is not properly installed, you might need to create a file `php.ini` with the following contents
    9090{{{
    91 extenstion=v8js.so
     91extension=v8js.so
    9292}}}
    9393
     
    139139[5] sudo service apache2 reload
    140140}}}
     141
     142= Event Viewer =
     143
     144To setup the event viewer, you have to provide the paths to `getevent` (part of FACT++) and to your data in `index.php`. Add that in the following lines (the paths are just an example and should be replaced with the correct paths on your system):
     145
     146{{{#!php
     147$getevent = "/home/user/FACT++/build/getevent";
     148
     149$path = array(
     150              "cal" => "/home/user/data/",
     151              "raw" => "/home/user/data/",
     152              "mc"  => "/home/user/data/",
     153              );
     154}}}
     155
     156As Monte Carlo and Calibrated data needs special preparation, you will only want to look at raw data. You can just put the same path three times.