Update 'Selection code'

Renata Kopecná 2022-02-03 10:46:46 +01:00
parent e61d77b16f
commit 4ad27de152

@ -1,6 +1,6 @@
The selection code is a set of C++ scripts. First, the running of the code is introduced. Then, each part of the code is explained. The main file of the selection code is [[B2Kstmumu.cpp|B2Kstmumu]]. However, as the code required a lot of reruns and checks at different places, the main code execution became obsolete and the scripts are compiled and run in ROOT step by step. However, the file [[B2Kstmumu.pro|B2Kstmumu.pro]] can be used by the QtCreator IDE. The selection code is a set of C++ scripts. First, the running of the code is introduced. Then, each part of the code is explained. The main file of the selection code is [[B2Kstmumu.cpp|B2Kstmumu]]. However, as the code required a lot of reruns and checks at different places, the main code execution became obsolete and the scripts are compiled and run in ROOT step by step. However, the file [[B2Kstmumu.pro|B2Kstmumu.pro]] can be used by the QtCreator IDE.
## Table of Contents ## Table of Contents TODO UPDATE
* [Setting up ROOT](#setting-up-root) * [Setting up ROOT](#setting-up-root)
* [Running the code](#running-the-code) * [Running the code](#running-the-code)
* [Mass Fit compilation](#mass-fit-compilation) * [Mass Fit compilation](#mass-fit-compilation)
@ -23,7 +23,10 @@ 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
Verbosity **TODO**
Run = 0 means do it per year **TODO**
# 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.