From 8d17c8fd2c6ba980001710266da5fdffc801c271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A1n=20Asorey?= <asoreyh@gmail.com> Date: Wed, 19 Jul 2017 00:14:51 -0300 Subject: [PATCH] Minor changes in readme --- README.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cf5cc80..7a6abd6 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,13 @@ Please follow this simple instructions. ## Requirements -You just need a working [ROOT](http://root.cern.ch/) installation (ROOT v 5.34.36 or higher is the recommended version). Then you just execute <kbd>make</kbd> at the main directory. It will create the <kbd>${LAGO_EASY}</kbd> environment variable and modify the <kbd>$HOME/.bashrc</kbd> file. Please source it again before to continue. +You just need a working [ROOT](http://root.cern.ch/) installation (ROOT v 5.34.36 or higher is the recommended version). Then you just execute <kbd>make</kbd> at the main directory: + +```bash +make +``` + +It will create the <kbd>${LAGO_EASY}</kbd> environment variable and modify the <kbd>$HOME/.bashrc</kbd> file. Please source it again before to continue. Please report any installation problems please [email us](mailto:lago@lagoproject.org). @@ -38,13 +44,16 @@ Please report any installation problems please [email us](mailto:lago@lagoprojec The detector geometry is defined in the <kbd>src/Constants.h</kbd> file. A symbolink link named <kbd>configs.h</kbd> is provided. To modify just edit this file: - <kbd>vim configs.h</kbd> +```bash +vim configs.h</kbd> +``` and modify it by changing the values of STATION_RADIUS, STATION_HEIGHT and the number and position of PMTs (NPM X_PM and Y_PM). For example, for one of our detectors deployed at the LAGO Bariloche site, the configuring block is: + ``` cpp //DETECTOR CONSTANTS -const double STATION_RADIUS = 0.70; //(m) -const double STATION_HEIGHT = 1.46; //(m) +const double STATION_RADIUS = 0.78; //(m) +const double STATION_HEIGHT = 1.54; //(m) const int NPM = 1; const double X_PM[NPM] = {0.}; // (0,0) is the center of the tank roof const double Y_PM[NPM] = {0.}; // (0,0) is the center of the tank roof @@ -54,6 +63,7 @@ const double TOP_FACT = 1.; //white top ``` If you change detector geometry, you will need to recompile the whole package. Just execute <kbd>make</kbd> at the parent directory: + ```bash cd ${LAGO_EASY}/src make @@ -63,6 +73,9 @@ If you change detector geometry, you will need to recompile the whole package. J The simulation execution is governed by the <kbd>default.inp</kbd> file. Just edit if following the examples given in that file. It is straightforward. Please be sure to be in CALIB mode (SHOWER mode is deactivated in LAGO code). Then, for run the simulation just use - <kbd>make run</kbd> +```bash +cd ${LAGO_EASY} +make run +``` in the parent directory. It will provide a <kbd>.root</kbd> file with a specific name depending on the parameters defined in the <kbd>default.inp</kbd> file. It is then converted into ASCII, extracting the FADC traces, producing a <kbd>.dat</kbd> ASCII file. -- GitLab