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

Phase 2 GTT TrackVertexAssociation Firmware limit #43278

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

NJManganelli
Copy link
Contributor

PR description:

This PR implements matching of emulation to a firmware feature for the Global Track Trigger. For GTT, there are 18 optical links (9 phi sectors x 2 eta sectors) from the TrackFindingProcessors. Each link can send up to 104 tracks, but a limitation in the current firmware prevents all from being considered for association with the primary vertex: the limit is currently 94/104, and this limit is encoded in a configurable parameter in the l1tTrackVertexAssociation_cfi.py file. This has no impact on vertices (which are found using all (selected) tracks sent to GTT and strictly upstream of the TrackVertexAssociation), and in the cases of track-only objects, is expected to impact less than 1 in 10^6 ttbar (200PU) events (the original limit of 104 tracks per link was designed around such a figure of merit + an overhead, this PR decreases the overhead a small amount)

Bit-accurate outputs are maintained for board integration tests on 1008 events ttbar (200PU) events.

In anticipation of another PR, the code used to determine the link a track belongs to is encapsulated in a function in the codecs header, to be used commonly in the GTTFile{Reader,Writer} when updated.

PR validation:

This PR passed:
scram b
scram b code-checks
scram b code-format
Used to generate GTT test vectors for APx/Serenity on ~1000 events from TT (CMSSW_13_1) sample
Test vectors pass tests with corresponding update for TrackVertexAssociation in the LibHLS repo
runTheMatrix.py -l limited -i all --ibeos

Ports

This PR is a port from the cms-l1t-offline 13_3_0_pre3 integration branch, with commits squashed
cms-l1t-offline#1176

Nick Manganelli added 3 commits November 14, 2023 20:50
…ficial test vector validation.

Add Converted tracks input tag and link-limit constant from firmware as configurable parameter.

Prototype fills of remaining vtx words
…hod in codecs and L1TrackVertexAssociationProducer

Fix L1TrackVertexAssociationProducer.cc etaSector calculation

Centralize the gttLinkID method in the tracks codecs

code format for codecs/tracks.h

Add sectorsEtaPhi inversion func
…ationProducer.cc, apply code-format

Remove prototype filled vertices

Update L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc

Remove leftover comment
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43278/37687

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @NJManganelli (Nick) for master.

It involves the following packages:

  • L1Trigger/DemonstratorTools (l1)
  • L1Trigger/L1TTrackMatch (l1, upgrade)

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

cms-bot commands are listed here

@epalencia
Copy link
Contributor

Please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4d5e7a/35818/summary.html
COMMIT: ce16588
CMSSW: CMSSW_14_0_X_2023-11-14-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43278/35818/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4d5e7a/35818/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4d5e7a/35818/git-merge-result

Comparison Summary

Summary:

  • You potentially added 121 lines to the logs
  • Reco comparison results: 138 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3362986
  • DQMHistoTests: Total failures: 2401
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3360563
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 331.947 KiB( 49 files compared)
  • DQMHistoSizes: changed ( 10024.0,... ): 15.807 KiB L1TEMU/L1TdeStage2uGT
  • Checked 214 log files, 167 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@aloeliger
Copy link
Contributor

+l1

  • Reviewed already in the L1 fork

@srimanob
Copy link
Contributor

+Upgrade

@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. @antoniovilela, @rappoccio, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 497cfe9 into cms-sw:master Nov 22, 2023
11 checks passed
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.

6 participants