From 12b62cec48dac7ab3bd7a4ae330d9fad833d66f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Mon, 7 Mar 2022 16:37:09 +0100 Subject: [PATCH] Update 'Selection code' --- Selection-code.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Selection-code.md b/Selection-code.md index 8924405..e27e549 100644 --- a/Selection-code.md +++ b/Selection-code.md @@ -43,6 +43,12 @@ gROOT->ProcessLine(".L path/to/your/folder/B2KstarMuMu/Code/Selection/Design.cpp } ``` +And we need to tell ROOT where to look: create a '.rootrc' file in your home directory with: +``` +Rint.Load: $(HOME)/.rootalias.C +``` + + Anytime you start ROOT by using `root`, the intro printout shows up. I find it useful to set an alias to automatically include the `-l`flag that supresses this output. Open your `~.bashrc` file and add ``` alias root="root -l"