cms-l1-dpg / Phase2-L1MenuTools

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.
3 stars 10 forks source link

Export online thresholds from menu seeds #84

Open artlbv opened 3 months ago

artlbv commented 3 months ago

For the Global Trigger (P2GT) we need to export the online thresholds of the L1 seeds we define in our menu. I previously did this manually by loading all the scalings and printing the threshold (converted from offline to online pt) for each eta region. This should be automatised.

Lara813 commented 1 week ago

Hi @artlbv, I am not sure whether I understand that issue correctly. But would a solution be to take what is done here (https://github.com/cms-l1-dpg/Phase2-L1MenuTools/blob/3bd0982f3d66a660598f900dffaf6f5099e4a885/menu_tools/utils/scalings.py#L68-L69) already and safe the the return in some sort of output? And how would such an output look like

artlbv commented 1 week ago

Hi @Lara813 yes it would be this way. However with this PR this issue might be obsolete, as we directly export the MenuTools scalings to the CMSSW config of the Global Trigger: https://github.com/cms-sw/cmssw/pull/46489

TBC also with @robertjward if this is still needed.