Update 'Selection code'

Renata Kopecná 2022-02-03 14:40:59 +01:00
parent ca23f38ec9
commit 56bb66e2f2

@ -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 source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_97python3 x86_64-centos7-gcc9-opt
``` ```
## General remarks ## General remarks
Verbosity **TODO** The code is a long series of tweaks, be patient when something is not ideal.
Run = 0 means do it per year **TODO**
#### 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 # 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.