Update 'Selection code'

Renata Kopecná 2022-01-26 15:30:15 +01:00
parent 9c46b20176
commit 7f1d812202

@ -2,7 +2,12 @@ The selection code is a set of C++ scripts. First, the running of the code is in
## Setting up ROOT ## Setting up ROOT
**TODO** **TODO**
In order to make pretty plots, dedicated code in [Design.cpp|Design.cpp] is always checked for compilation when starting ROOT. This is done by creating a `.rootrc` file in your home directory and telling ROOT to always compile the Design.cpp:
```
{
gROOT->ProcessLine(".L path/to/your/folder/Design.cpp+");
}
```
# Running the code # Running the code
The code consists of several C++ scripts that are compiled and executed in ROOT. Before every step, it is worth closing and opening ROOT, as it is possible ROOT will complain about redefinition of functions. The code consists of several C++ scripts that are compiled and executed in ROOT. Before every step, it is worth closing and opening ROOT, as it is possible ROOT will complain about redefinition of functions.