pyhf-based implementation of the ABCD method for background estimation
The code can be run on LXPLUS by following the instructions below.
Create a virtual Python environment:
python3 -m venv abcd-pyhfThis will create a directory named abcd-pyhf that will contain all the necessary packages to run the code.
Activate the virtual Python environment with the following command:
source abcd-pyhf/bin/activateYou can shut down the virtual Python environment at any time with the Bash command deactivate.
You can later reactivate the environment by running the Bash command source abcd-pyhf/bin/activate.
To run the code, you will have to download the necessary packages in the Python environment (this only needs to be done once):
pip install --upgrade pip
pip install abcd-pyhfYou can then use the package in Python:
from abcd_pyhf import ABCD