This repository contains the python-based framework for the measurement of matching efficiencies, trigger turn-on curves, and scalings for the assessment of the physics performance of the CMS Phase-2 L1 Menu.
The repository is organized as follows:
-
objectPerformance
: tools for the measurement of the performance (matching efficiency, L1 turn-on efficiency curves, and online-to-offline scalings) of L1 objects. The definition of the L1 objects should follow the recommendations detailed here. -
rates
: tools for the measurement of trigger rates starting from the scalings derived with the tools inobjectPerformance
.
Detailed instructions on how to run each step of the workflow are provided in each folder.
Note: The code should run without any setup on lxplus
.
A standard venv with Python3.11 can be created on lxplus
via python3.11 -m venv <name_of_venv>
and all necessary
dependencies installed via pip install .
:
python3.11 -m venv pyenv
source <name_of_venv>/bin/activate
pip install .
You can then execute the tools (e.g. for object performance) via
python -m menu_tools.object_performance.plotter <path_to_config>