Skip to content
Snippets Groups Projects
Commit 8d17c8fd authored by Hernán Asorey's avatar Hernán Asorey
Browse files

Minor changes in readme

parent 04fce5f0
No related branches found
No related tags found
No related merge requests found
......@@ -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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment