@@ -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).
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
constdoubleSTATION_RADIUS=0.70;//(m)
constdoubleSTATION_HEIGHT=1.46;//(m)
constdoubleSTATION_RADIUS=0.78;//(m)
constdoubleSTATION_HEIGHT=1.54;//(m)
constintNPM=1;
constdoubleX_PM[NPM]={0.};// (0,0) is the center of the tank roof
constdoubleY_PM[NPM]={0.};// (0,0) is the center of the tank roof
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.