Starting with datasets from Jennet's repo, processors drawn heavily from Connor's boostedhiggs
First, create a virtual environment (micromamba is recommended):
# Download the micromamba setup script (change if needed for your machine https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html)
# Install: (the micromamba directory can end up taking O(1-10GB) so make sure the directory you're using allows that quota)
"${SHELL}" <(curl -L micro.mamba.pm/install.sh)
# You may need to restart your shell
micromamba create -n hbb-env python=3.10 -c conda-forge
micromamba activate hbb-env
Remember to install this in your mamba environment.
# Clone the repository
git clone <repo>
cd hbb-run3/
# Perform an editable installation
pip install -e .
To install the requirements
pip install -r requirements.txt
pip install xrootd
python3 -m pip install setuptools==59.5.0
e.g. for a test
python -u -W ignore src/run.py --year 2023 --starti 0 --endi 1 --samples VJets --subsamples Zto2Q-2Jets_PTQQ-400to600_1J --processor hbbprocessor --nano-version v12v2_private