Update 'Selection code'

Renata Kopecná 2022-02-10 11:16:15 +01:00
parent 6fb9215e65
commit abe38dafca

@ -173,12 +173,11 @@ TMVAClassAppAll(1); TMVAClassAppAll(2);
Remove all multiple candidates, defined in [[RemoveMultipleCandidates.py|RemoveMultipleCandidates.py]]. Before running this for the first time, you have to change the path in [`getTreePath` function](https://git.physi.uni-heidelberg.de/kopecna/EWP-BplusToKstMuMu-AngAna/wiki/Utils3.py#gettreepath) and similarly in the [`getTreeList` function](https://git.physi.uni-heidelberg.de/kopecna/EWP-BplusToKstMuMu-AngAna/wiki/Utils3.py#gettreelist). Don't forget to compile [[getPathForPython.cc||getPathForPython]] before the first usage of the code!
```
python RemoveMultipleCandidates.py -all
```
**TODO** plotting using Scripts/PlotMultiple.py
You can plot the functions by running [PlotMultiple.py](https://git.physi.uni-heidelberg.de/kopecna/EWP-BplusToKstMuMu-AngAna/wiki/RemoveMultipleCandidates.py#plotting).
We have to rerun the weights and therefore also the MVA: the shape of the B mass peak is fixed to the one after MVA.
```