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

Several improvements to L1 tracking code #46360

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

tomalin
Copy link
Contributor

@tomalin tomalin commented Oct 12, 2024

PR description:

This consists of several improvements from the Phase 2 L1 tracking group.

  1. "combined" versions of the prompt & displaced tracking are now run by default, corresponding to the current firmware choice.
  2. Serious bugs were fixed in the duplicate track removal. In addition, dependencies of the "combined module" version of the duplicate removal "wiring map" on the older non-combined module have been removed.
  3. The L1 Track Quality variable is digitized according to the latest agreement.
  4. The tracking performance plotting ROOT macro L1TrackNtupleMaker.C now prints both fake track rate and duplicate track rate in its summary printout.
  5. For the HYBRID_NEWKF version of the L1 tracking, which corresponds to FW, but is not the current default for L1 trigger studies, the Kalman Filter Track fit EDProducers have been significantly rearranged, with the advantage that the output TTTrack collection is now created from the end of the chain, and so includes the TrackQuality variable.
  6. Truncation has been reduced in the MatchProcessor module.
  7. The TrackletProcessorDisplaced.cc code has been shortened by removing unnecessary code.

This PR does not significantly change the displaced L1 track performance, as is shown in the talk https://indico.cern.ch/event/1473530/contributions/6203794/attachments/2957687/5201212/Oct30_IanPRcombModulesQA_SeanPRgetMapCPUImprov.pdf .

IMPORTANT: The changes to the duplicate track removal algorithm in this PR are dependent on the changes in cms-data from this PR cms-data/L1Trigger-TrackFindingTracklet#6 , so the two PRs must be introduced into the same version of CMSSW.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 12, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46360/42200

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • L1Trigger/TrackFindingTracklet (l1)
  • L1Trigger/TrackerDTC (upgrade, l1)
  • L1Trigger/TrackerTFP (l1)

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

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46360/42206

@cmsbuild
Copy link
Contributor

Pull request #46360 was updated. @Moanwar, @aloeliger, @cmsbuild, @epalencia, @srimanob, @subirsarkar can you please check and sign again.

@srimanob
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals
Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5b63f8/42150/summary.html
COMMIT: 021af0d
CMSSW: CMSSW_14_2_X_2024-10-13-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 14-Oct-2024 12:25:57 CEST-----------------------
An exception of category 'ConfigFileReadError' occurred while
   [0] Processing the python configuration file named step2_DIGI_L1TrackTrigger_L1_L1P2GT_DIGI2RAW_HLT.py
Exception Message:
 unknown python problem occurred.
RuntimeError: An exception of category 'FileInPathError' occurred.
Exception Message:
edm::FileInPath unable to find file L1Trigger/TrackFindingTracklet/data/memorymodules_hourglassExtendedAllCombined.dat anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/poison:/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/src:/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/external/el8_amd64_gcc12/data:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/poison:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/external/el8_amd64_gcc12/data
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-relvals/matrix-results/29696.0_CloseByPGun_CE_E_Front_120um+2026D110


At:
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Types.py(1001): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Mixins.py(397): insertContentsInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Mixins.py(532): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Modules.py(161): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Config.py(1217): _insertManyInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Config.py(1490): fillProcessDesc
  <string>(2): <module>

----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 14-Oct-2024 12:26:46 CEST-----------------------
An exception of category 'ConfigFileReadError' occurred while
   [0] Processing the python configuration file named step2_DIGI_L1TrackTrigger_L1_L1P2GT_DIGI2RAW_HLT.py
Exception Message:
 unknown python problem occurred.
RuntimeError: An exception of category 'FileInPathError' occurred.
Exception Message:
edm::FileInPath unable to find file L1Trigger/TrackFindingTracklet/data/memorymodules_hourglassExtendedAllCombined.dat anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/poison:/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/src:/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/external/el8_amd64_gcc12/data:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/poison:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/external/el8_amd64_gcc12/data
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-relvals/matrix-results/29700.0_CloseByPGun_CE_H_Coarse_Scint+2026D110


At:
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Types.py(1001): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Mixins.py(397): insertContentsInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Mixins.py(532): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Modules.py(161): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Config.py(1217): _insertManyInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Config.py(1490): fillProcessDesc
  <string>(2): <module>

----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 14-Oct-2024 12:29:24 CEST-----------------------
An exception of category 'ConfigFileReadError' occurred while
   [0] Processing the python configuration file named step2_DIGI_L1TrackTrigger_L1_L1P2GT_DIGI2RAW_HLT.py
Exception Message:
 unknown python problem occurred.
RuntimeError: An exception of category 'FileInPathError' occurred.
Exception Message:
edm::FileInPath unable to find file L1Trigger/TrackFindingTracklet/data/memorymodules_hourglassExtendedAllCombined.dat anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/poison:/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/src:/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42150/CMSSW_14_2_X_2024-10-13-2300/external/el8_amd64_gcc12/data:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/poison:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src:/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/external/el8_amd64_gcc12/data
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-relvals/matrix-results/29634.75_TTbar_14TeV+2026D110_HLT75e33Timing


At:
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Types.py(1001): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Mixins.py(397): insertContentsInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Mixins.py(532): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Modules.py(161): insertInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Config.py(1217): _insertManyInto
  /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02859/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_2_X_2024-10-13-2300/src/FWCore/ParameterSet/python/Config.py(1490): fillProcessDesc
  <string>(2): <module>

----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

@srimanob
Copy link
Contributor

test parameters:

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46360/42410

@cmsbuild
Copy link
Contributor

Pull request #46360 was updated. @Moanwar, @aloeliger, @cmsbuild, @epalencia, @srimanob, @subirsarkar can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46360/42412

@cmsbuild
Copy link
Contributor

Pull request #46360 was updated. @Moanwar, @aloeliger, @cmsbuild, @epalencia, @srimanob, @subirsarkar can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46360/42413

@cmsbuild
Copy link
Contributor

Pull request #46360 was updated. @Moanwar, @aloeliger, @cmsbuild, @epalencia, @srimanob, @subirsarkar can you please check and sign again.

@tomalin tomalin marked this pull request as ready for review October 31, 2024 08:48
@srimanob
Copy link
Contributor

srimanob commented Nov 2, 2024

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2024

+1

Size: This PR adds an extra 12KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5b63f8/42562/summary.html
COMMIT: 8c1d039
CMSSW: CMSSW_14_2_X_2024-11-02-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46360/42562/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-5b63f8/42562/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5b63f8/42562/git-merge-result

Comparison Summary

Summary:

  • You potentially added 14 lines to the logs
  • Reco comparison results: 13 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3569567
  • DQMHistoTests: Total failures: 813
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3568733
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.008 KiB( 45 files compared)
  • DQMHistoSizes: changed ( 140.56 ): 0.004 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 140.56 ): 0.004 KiB MessageLogger/Warnings
  • Checked 201 log files, 171 edm output root files, 46 DQM output files
  • TriggerResults: found differences in 4 / 44 workflows

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