Skip to content

This repository contains the 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.

Notifications You must be signed in to change notification settings

cms-l1-dpg/Phase2-L1MenuTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phase2-L1MenuTools

Trigger efficiencies and rates

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 in objectPerformance.

Detailed instructions on how to run each step of the workflow are provided in each folder.

Setup of Python environment

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>

About

This repository contains the 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.

Resources

Stars

Watchers

Forks