View on GitHub

Online monitor

R+GTK program to analysize SiW ECAL ILD technological prototype data.

Download this project as a .zip file Download this project as a tar.gz file

Installation

In Ubuntu, first, make sure the following packages are installed:

sudo apt-get -y install git
sudo apt-get -y install libgtk2.0-dev
sudo apt-get -y install r-base
sudo apt-get -y install r-doc-info

In Scientific Linux:

sudo yum install git
sudo yum install R
sudo yum install gtk2-devel

Then, run

sudo R

and type in R session (if you have problems when installing R packages, please, select http:// mirror sites instead of https://, their list appears after clicking on the very bottom line of the initial pop-up list):

install.packages("ggplot2")
install.packages("data.table")
install.packages("e1071")
install.packages("setwidth")
install.packages("RGtk2")
install.packages("cairoDevice")
install.packages("gWidgetsRGtk2", dep = TRUE) # this installs gWidgets as well
quit()

Download and compile the code

mkdir <your_github_directory>
cd <your_github_directory>
git clone https://github.com/balagura/online_monitor.git

The code should be in <your_github_directory>/online_monitor

cd <your_github_directory>/online_monitor
cd raw
make
cd ..

Run the code

<your_github_directory>/online_monitor/online_monitor.sh

if it is not executable, first, change permissions:

chmod +x <your_github_directory>/online_monitor/online_monitor.sh

Once the program is started, you may press "Help" button to learn more. The same help information can be found in the bottom of online_monitor.R file.

Contacting the author

If you have any questions or comments, please, do not hesitate to contact me (Vladislav Balagura, balagura@llr.in2p3.fr).