bbWW¶
This is a temporary repository for bbWW analysis code, which is implemented on top of the coffea4bees framework. The code is under development.
Installation¶
To run the analysis, you need to have the coffea4bees
framework installed. This can be done by cloning the repository and installing the required dependencies.
To install the necessary dependencies, run:
git clone ssh://git@gitlab.cern.ch:7999/cms-cmu/coffea4bees.git
cd coffea4bees/python/
git clone ssh://git@gitlab.cern.ch:7999/cms-cmu/bbWW.git
Contributing¶
If you want to contribute, please make a merge request by pushing your changes to branch different from master
and then creating a merge request.
Gitlab CI tests¶
The repository includes a Gitlab CI configuration file (.gitlab-ci.yml
) that runs tests on the code. These tests are run on every commit and merge request to ensure that the code is working correctly.
To run the tests locally, you can use the snakemake workflow defined in bbww/workflows/Snakemake_CI
. You can run the tests by executing the following command:
./run_container snakemake -s bbww/workflows/Snakemake_CI --use-apptainer XXXXX
Replace XXXXX
with the name of the job you want to run from the gitlab CI configuration file. For example, to run the analysis_test
job, you can use:
./run_container snakemake -s bbww/workflows/Snakemake_CI --use-apptainer analysis_test
The output of the tests will be saved in the bbww/CI_output/
directory.