Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AXOL1TL emulator update for L1 Menu parsing with UTMv12 #44510

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

artlbv
Copy link
Contributor

@artlbv artlbv commented Mar 22, 2024

PR description:

This PR is an amendment of the AXOL1TL emulator PRs: #44054 (original backport: #44397).
Essentially reverting and extending the AXO-only part of this revert: #44466

The main changes are:

  • As the original PR, this introduces compatibility with the new UTM "grammar" (v12) for the AXO seed, i.e. what is used in the L1Menu_Collisions2024_v1_1_0 (see the AXO seeds in that menu here.
  • New: Added backward compatibility with the previous UTM "grammar" (pre v12) for the AXO seed, i.e. what is used in the L1Menu_Collisions2024_v1_0_0 (see the AXO seeds in that menu here). Note that UTM v12 supports the old and new AXO condition type.
    For this kind of seeds the AXO model is hard-coded to the v3 version as this is currently the baseline.
  • New: cleaned up the AXO model setting in the L1GlobalProducer/Board code as the model version is not defined globally anymore, but on the seed level.

No additional PRs are needed to test this PR.

PR validation:

I tested this PR in 14_1 (and 14_0) with the following command with the default 1_0_0 L1 menu (old UTM), but also with 1_1_0 (new UTM for AXO) and a menu where I mix both old and new AXO conditions. Note this is inspired by the workflow 141.044_RunJetMET2023D but faster for testing.

Rerunning L1 and HLT with the default L1 Menu 1_0_0:

cmsDriver.py repackuGT_reHLT -s L1REPACK:Full,HLT:@relval2024 --process reHLT --datatier NANOAOD --eventcontent NANOAOD \
-n 100 --era=Run3 \            
--data --conditions=auto:run3_hlt_relval  \
--filein=/store/data/Run2023D/JetMET0/RAW/v1/000/369/978/00000/00b9eba7-c847-465b-a6de-98bceae93613.root

Rerunning L1 and HLT with the 1_0_1 L1 Menu by specifying it via:

--customise=L1Trigger/Configuration/customiseUtils.L1TGlobalMenuXML

In all cases L1 and HLT properly ran. Note though that given the current HLS4ML issues (see #44435), the AXO seeds fire in all events in the current master.
This can be circumvented by adding this to the config (removing the CICADA emulator from the L1 chain):

process.SimL1Emulator.remove(process.simCaloStage2Layer1Summary)

The results are in line with what is expected:

../repackuGT_reHLT_L1_101_L1REPACK_HLT.root
Trigs for 100 events:
DST_PFScouting_AXONominal    100
DST_PFScouting_AXOTight      100
HLT_L1AXOVTight              100
dtype: int64
../repackuGT_reHLT_L1_101_L1REPACK_HLT_noCICADA.root
Trigs for 100 events:
DST_PFScouting_AXONominal    0
DST_PFScouting_AXOTight      0
HLT_L1AXOVTight              0
dtype: int64
../repackuGT_reHLT_def_L1REPACK_HLT.root
Trigs for 100 events:
DST_PFScouting_AXONominal    100
DST_PFScouting_AXOTight      100
HLT_L1AXOVTight              100
dtype: int64
../repackuGT_reHLT_def_L1REPACK_HLT_noCICADA.root
Trigs for 100 events:
DST_PFScouting_AXONominal    2
DST_PFScouting_AXOTight      1
HLT_L1AXOVTight              0

The results for L1 were checked with the L1 menu ntuples and show agreement for using different UTM grammar within the same XML:

141 L1ReEmu
seed                	unp	emu	mism
L1_AXO_Nominal      	0	2	2
L1_AXO_Tight        	0	1	1
L1_AXO_VLoose       	0	11	11
L1_AXO_VLooseNewUTMv3	0	11	11
L1_AXO_VTight       	0	0	0

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

Not a backport, but will be backported immediately for the next 14_0_X release.
Backport: #44511

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 22, 2024

cms-bot internal usage

@artlbv
Copy link
Contributor Author

artlbv commented Mar 22, 2024

FYI @quinnanm @thesps @eyigitba @aloeliger @jmduarte

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44510/39630

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @artlbv for master.

It involves the following packages:

  • HLTrigger/Configuration (hlt)
  • L1Trigger/L1TGlobal (l1)

@aloeliger, @cmsbuild, @Martin-Grunewald, @mmusich, @epalencia can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @missirol, @silviodonato this is something you requested to watch as well.
@rappoccio, @sextonkennedy, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

Copy link
Contributor

@mmusich mmusich left a comment

Choose a reason for hiding this comment

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

cosmetics changes...

@mmusich
Copy link
Contributor

mmusich commented Mar 22, 2024

allow @artlbv test rights

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44510/39635

@cmsbuild
Copy link
Contributor

Pull request #44510 was updated. @cmsbuild, @aloeliger, @epalencia, @Martin-Grunewald, @mmusich can you please check and sign again.

@artlbv
Copy link
Contributor Author

artlbv commented Mar 22, 2024

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd6953/38343/summary.html
COMMIT: ccb11e8
CMSSW: CMSSW_14_1_X_2024-03-21-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44510/38343/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@aloeliger
Copy link
Contributor

@cms-sw/hlt-l2 I want to make sure that I'm on the same page as everyone else, because I think there's been a pretty extended game of message passing.

As far as I have discussed this PR with @artlbv this PR will run AXO on UTM 11 and 12 effectively (i.e. it is backwards compatible), and will read the AXO model from the menu (superseding @quinnanm's PR). So this should be the whole thing and everything necessary to put AXO online, correct?

I don't think immediate ALCA changes as were necessary last time are necessary now due to the compatibility fix, right?

This PR doesn't fix the model collision, put PRs open to the Externals will. I know the CICADA and AXO PRs are open now (and backports). Would you like tests with those?

I think there's been discussion with TSG about having this PR available ASAP (monday was the day I heard), any major blocks to that that you can see?

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44510/39683

@cmsbuild
Copy link
Contributor

Pull request #44510 was updated. @Martin-Grunewald, @mmusich, @epalencia, @cmsbuild, @aloeliger can you please check and sign again.

@mmusich
Copy link
Contributor

mmusich commented Mar 26, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd6953/38423/summary.html
COMMIT: 43e9b00
CMSSW: CMSSW_14_1_X_2024-03-26-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44510/38423/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@mmusich
Copy link
Contributor

mmusich commented Mar 26, 2024

+hlt

  • PR according to description and follow-up review;
  • change in core HLTrigger packages is trivial;
  • achieves desired backward compatibility of the L1T emulator s/w with L1T-2024_v1_0_0 (and earlier)

@aloeliger
Copy link
Contributor

+l1
-@cms-sw/hlt-l2 any final comments?

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit e261384 into cms-sw:master Mar 27, 2024
12 checks passed
cmsbuild added a commit that referenced this pull request Mar 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[14_0_0] Backport of #44510 AXOL1TL emulator update for L1 Menu parsing with UTMv12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants