From 56bb66e2f29329f6bdc25b4cf964d5f009057ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Thu, 3 Feb 2022 14:40:59 +0100 Subject: [PATCH] Update 'Selection code' --- Selection-code.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/Selection-code.md b/Selection-code.md index c6c5742..7370878 100644 --- a/Selection-code.md +++ b/Selection-code.md @@ -22,11 +22,37 @@ gROOT->ProcessLine(".L path/to/your/folder/Design.cpp+"); ``` source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_97python3 x86_64-centos7-gcc9-opt ``` - ## General remarks -Verbosity **TODO** -Run = 0 means do it per year **TODO** +The code is a long series of tweaks, be patient when something is not ideal. + +#### Input parameters + +Generally, the input parameters are + + * **string magnet**\ + Refers to the polarity of the sample, it is either "down" or "up" + * **string year**\ + Year of the sample, 2011, 2012, 2015, 2016, 2017 or 2018 + * **int Run**\ + * 0: run the function per given year and not run + * 1: 2011+2012 + * 2: 2015+2016+2017+2018 + * 12: Both runs + * **bool MC**\ + false = use data\ + true = use MC + * **bool ReferenceChannel**\ + false = use the signal Q2 region\ + true = use the Jpsi Q2 region + * **bool PHSP**\ + false = do not use PHSP MC\ + true = use PHSP MC\ + +### Verbosity + +There are 5 levels of verbosity: The level of verbosity is defined in [GlobalFunctions.hh](https://git.physi.uni-heidelberg.de/kopecna/EWP-BplusToKstMuMu-AngAna/wiki/GlobalFunctions.hh#output-levels). The default level is \[INFO\], corresponding to level 2. + # 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.