diff --git a/Selection-code.md b/Selection-code.md index 7d9815e..46cf02d 100644 --- a/Selection-code.md +++ b/Selection-code.md @@ -2,7 +2,12 @@ The selection code is a set of C++ scripts. First, the running of the code is in ## Setting up ROOT **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 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.