From e4267d4f3d3b540fcd4dbb3a2724f60002f26336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Tue, 8 Feb 2022 12:59:32 +0100 Subject: [PATCH] Update 'getPathForPython' --- getPathForPython.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/getPathForPython.md b/getPathForPython.md index 831d3ac..841a67e 100644 --- a/getPathForPython.md +++ b/getPathForPython.md @@ -1,5 +1,7 @@ This script is a helper function for the python scripts. It loads the hardcoded paths from [[Paths.hpp|Paths.hpp]] and returns them as a string based on the specified options. +**Before compiling this, one has to go to Utils.hpp and comment out functions `getResult`, `getVarFromResult` and `getBplusMeanFromResult`.** This is due to the fact it is a header file: it cannot properly link the RooFit functions. If the function was properly defined and compiled, runinng the scripts from the ROOT shell would be a living hell. Without running in the ROOT shell, one would have to constantly change the main file and recompile everything 400 times a day, so this is the price to pay. + First, compile the script to be a standalone executable that can be called by pyhton: ``` cd Code/Selection/ComparisonTool