Adjusted setup in readme

This commit is contained in:
rskuza 2022-08-30 11:45:57 +02:00
parent 03066c590e
commit e626160426
2 changed files with 7 additions and 7 deletions

View File

@ -1,12 +1,12 @@
# Angular Analysis of B+toK*+Pi0Mu-Mu+
## Setup
In order to setup a python virtual environment with the corresponding dependencies, do the following:
1. `pip install virtualenv`
2. `virtualenv myenv`
3. `source myenv/bin/activate`
4. `pip install -r requirements.txt`
For this setup you will need to install miniconda on the machine you are working and do the following procedure:
1. `conda env create -f requirements.yaml`
2. Check with `conda activate angularanalysis` if the environment is working
3. Check out the following page in order to install the analysis-tool package: `https://github.com/jonas-eschle/analysis-tools`
4. Check out the following page in order to install the angular-analysis B->K*ll package: `https://gitlab.cern.ch/LHCb-RD/ewp-bd2ksteeangular-legacy/-/tree/master/b2kstll`
Afterwards you can use your virtual python environment in order to run the code. But before you do, you need to setup the properties.env. Inside of properties.env you will find different configuration variables which are used throughout the code in order to control the behavior of the code. Below you can find a table which summarizes what these environment variables do.
Afterwards you can use your conda environment in order to run the code. But before you do, you need to setup the properties.env. Inside of properties.env you will find different configuration variables which are used throughout the code in order to control the behavior of the code. Below you can find a table which summarizes what these environment variables do.
|Environment Variable|Use-Case|
| -------------------- | -------- |
|LOWER_COSTHETAK_CUT |Controls the lower boundary of cos(theta_K)|

View File

@ -1,4 +1,4 @@
name: anganalysis
name: angularanalysis
channels:
- defaults
dependencies: