Add 'flav.io'

Renata Kopecná 2022-01-20 14:39:58 +01:00
parent c48dcff05c
commit 27738f3513

30
flav.io.md Normal file

@ -0,0 +1,30 @@
# Content of the folder
In the `Code/Selection/flavio` folder, one finds subfolder `Measurements`, where the previous measurements by ATLAS, CMS and the LHCb B+->K*+(Kspi+)mumu measurement are saved as `.yml` files.
The sensitivity from toy studies done for the B+->K*+(Kspi+)mumu analysis are saved in `SensitivityFromToys`.
Then, the scripts needed to produce the prodoctuvity plot and the plot are saved.
# Sensitivity plots production using flav.io
In this folder, the sensiticity plots assume that K+pi0 channel will be as sensitive as the KSpi+ channel.
## Installation
* Make sure you are using python3!
* Install flavio with
```
pip3 install flavio
```
## 2D (C9-C10 plane) sensitivity plots production
The statistical sensitivity from the B+->K*+(Kspi+)mumu toys is stored in `./SensitivityFromToys/`. The sensitivity is automatically loaded using the `parse_sensitivities.py`. The 2D plot is produced in two steps:
* Load the sensitivity for flavio
```
python3 parse_sensitivities.py
```
* Plot the sensitivity in C9-C10 plane
```
python3 -i flavio_sensitivity.py
```