Skip to content

Conversation

@folguera
Copy link

@folguera folguera commented Apr 9, 2024

PR description:

This contains the required config files to load the correct OMTF configuration for Phase-2. This is built on top of #1241 and it requires cms-data/L1Trigger-L1TMuon#27 to be merged and downloaded inside L1Trigger/L1TMuon/data/omtf_data

PR validation:

First quick look at efficiencies look OK: https://folguera.web.cern.ch/L1T/2024_04_AR_Tests/V36nano_muons_test/object_performance/turnons/MuonTFsMatching_Eta_Pt15toInf_-999_V36nano_muons.png

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

Attempts to compile this PR succeeded!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -j 8

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

I found no issues with the code checks!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 code-checks && scram b -k -j 8 code-checks

I found no issues with the headers!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 check-headers

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

I found 2 files that did not meet formatting requirements:

  • L1Trigger/L1TMuon/src/MicroGMTConfiguration.cc
  • L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFwdMuonTranslator.cc

Please run scram b code-format to auto-apply code formatting

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 code-format-all

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

This PR passes available unit tests!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b runtests

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation

I found a non-zero return code running the relval workflows for this PR!

Info Value
return code 1
command eval scramv1 runtime -sh && runTheMatrix.py --what upgrade -l 26834.78

@folguera folguera marked this pull request as ready for review April 10, 2024 14:36
@folguera
Copy link
Author

Hi @aloeliger @epalencia, this seems to be ready now, from a quick look, the efficiency for GMT SA muons is recovered (running with more stats now) I'd appreciate is @kbunkow and @zhenbinwu could have a look as well. This superseeds #1241

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

Attempts to compile this PR succeeded!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -j 8

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

I found no issues with the code checks!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 code-checks && scram b -k -j 8 code-checks

I found no issues with the headers!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 check-headers

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

I found 1 files that did not meet formatting requirements:

  • L1Trigger/L1TMuon/src/MicroGMTConfiguration.cc

Please run scram b code-format to auto-apply code formatting

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 code-format-all

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

This PR passes available unit tests!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b runtests

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation

I found a non-zero return code running the relval workflows for this PR!

Info Value
return code 1
command eval scramv1 runtime -sh && runTheMatrix.py --what upgrade -l 26834.78

prompt.push_back(samuon);
else if (mu.hwPtUnconstrained() > 0)
}
if (mu.hwPtUnconstrained() > 0) //Assume exculsive, need double check

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the old comments?

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

Attempts to compile this PR succeeded!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -j 8

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

I found no issues with the code checks!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 code-checks && scram b -k -j 8 code-checks

I found no issues with the headers!

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 check-headers

@triggerDoctor
Copy link

Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation.

I found 2 files that did not meet formatting requirements:

  • L1Trigger/L1TMuon/src/MicroGMTConfiguration.cc
  • L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFwdMuonTranslator.cc

Please run scram b code-format to auto-apply code formatting

Info Value
return code 0
command eval scramv1 runtime -sh && scram b -k -j 8 code-format-all

@zhenbinwu
Copy link

Unfortunately it is not working for me. It miss the xml file
edm::FileInPath unable to find file L1Trigger/L1TMuon/data/omtf_config/Patterns_ExtraplMB1nadMB2DTQualAndEtaFixedP_ValueP1Scale_t20_v1_SingleMu_iPt_and_OneOverPt_classProb17_recalib2_minDP0.xml anywhere in the search path.

I can't find it from the cms-data : https://github.com/cms-data/L1Trigger-L1TMuon/tree/master/omtf_config

@folguera
Copy link
Author

folguera commented Apr 10, 2024 via email

@aloeliger
Copy link

The data files required by this PR have been added into the prototype explicitly with #1250

@aloeliger aloeliger added Phase-2 Pertains to phase-2 development Bug fix For minor bug fixing PRs labels Apr 11, 2024
@aloeliger
Copy link

@folguera Given the time crunch, we're not going to spend too much time debating the nature of this here provided everything still compiles and we can run our commands. I think we can already go ahead and merge this. Please go ahead and open the PR to central CMSSW, and we'll merge this here.

@folguera
Copy link
Author

@aloeliger @epalencia this PR requires #1196 to be merged to central before.

@aloeliger
Copy link

@folguera Can this be added to cms-sw#44557 then?

@aloeliger
Copy link

@folguera @zhenbinwu @epalencia @omiguelc I am going to merge this, #1250, and #1249 when I get back to my apartment in an hour or so. Are there any further expected muon fixes? Are we waiting for anything else to provide to the menu team?

@cbotta
Copy link

cbotta commented Apr 11, 2024

@folguera @zhenbinwu @omiguelc I would like to ask if all these PRs allow the Menu team to use the GMT Standalone collection for the Standalone prompt muon efficiencies/rates, and for the Standalone displaced muon efficiencies/rates. Thanks a lot for confirming.

@aloeliger : I think we still expect a PR to fix the GMT TkMuon efficiency at low pT

@folguera
Copy link
Author

@cbotta YES, standalone muons, both prompt and (hopefully) displaced can be used by the menu team.

@zhenbinwu
Copy link

For this PR, the prompt OMTF looks OK. For the displaced OMTF, we need the experts to confirm the efficiency I saw. Thanks

@zhenbinwu
Copy link

Ok, please merge this PR for the SAMuon. Thanks

@aloeliger aloeliger merged commit 5fb1ece into cms-l1t-offline:phase2-l1t-integration-14_0_0_pre3 Apr 11, 2024
aloeliger added a commit that referenced this pull request Apr 11, 2024
aloeliger added a commit that referenced this pull request Apr 11, 2024
@zhenbinwu
Copy link

Hi, I have cherry-picked the recent PRs (#1228, #1239, #1249, #1251) to the GMT PR (cms-sw#44498), expect this one.

Part of this PR is in the Phase-2 OMTF PR (cms-sw#44557). So I will leave these commits to that PR.

@aloeliger
Copy link

@folguera For our records, I need to understand if this has ended up in a PR to CMSSW, and where it ended up finally. Is there a PR to CMSSW with these commits in them?

@folguera
Copy link
Author

Not yet, we need to add them to cms-sw#44557

@zhenbinwu
Copy link

Since the OMTF PR need to be merged before the GMT PR, I think it would be more practical to split the changes of L1Trigger/L1TMuonOverlapPhase2/python/fakeOmtfParamsPhase2_cff.py and L1Trigger/L1TMuonOverlapPhase2/python/simOmtfPhase2Digis_extrapol_cfi.py to the OMTF PR, L1Trigger/Configuration/python/SimL1Emulator_cff.py and L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFwdMuonTranslator.cc to the GMT PR.

I can just commit the changes to the GMT branch, dropping Santi's commit history, if that is OK.

@folguera
Copy link
Author

folguera commented Apr 22, 2024 via email

@epalencia
Copy link

@zhenbinwu, was this fixed finally ported to CMSSW? If so, where?

@zhenbinwu
Copy link

@zhenbinwu, was this fixed finally ported to CMSSW? If so, where?

Yes, part of this PR was added to GMT PR cms-sw@642efa5

I think the OMTF part are merged in CMSSW as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug fix For minor bug fixing PRs Phase-2 Pertains to phase-2 development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants