Open artlbv opened 3 months 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
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.
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.