Skip to content
Snippets Groups Projects
Forked from Sami Lehti / ZbAnalysis
This fork has diverged from the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

ZbAnalysis

Z+jet analysis to obtain the inputs for the L2L3Residuals within the JetMET group of CMS as described by the JERC sub-group. The results are to be combined with the photon+jet and dijet analyses with the scripts provided in the jecsys3 repository.

Dependencies

An installation of ROOT is required to run the scripts.

How to run

Run on slurm for 2022+2023 recompiling the libraries

python runIOVs.py -i all -v version

This script executes the following actions:

  • comment / uncomment the #define PNETREG / #define PNETREGNEUTRINO in src/Analysis.cc to choose whether to apply the PNet regression or the PNet regression including neutrino
  • make clean
  • make

Once the jobs are completed, to do the post processing run:

python post_processing.py  -i all -v version

This script executes the following actions:

  • merge together the output directories
  • create the combined outputs by running python plot_v3.py multicrabdir

How to create the multicrab inputs

Follow the instructions in the NanoAnalysis repository to create the multicrab inputs.