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

possibility of configuring the OMTF emulator directly from XMLs (14_0_X) #45988

Merged

Conversation

kbunkow
Copy link
Contributor

@kbunkow kbunkow commented Sep 12, 2024

PR description:

This PR adds the possibility of configuring the OMTF emulator directly from the config XML, without using the L1TMuonOverlapPhase1ParamsESProducer.

PR validation:

The PR was validated by running the L1T DQM on one file from run 385422.

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:

This PR is a backport of #45032
Only the files from the L1TMuonOverlapPhase1 folder are backported, as L1TMuonOverlapPhase2 is not included in the CMSSW_14_0_X.
This PR will be followed by the backport of #45984

This PR and the backport of #45984 will ensure that the OMTF emulator will be configured from the XML files corresponding to the 2024 OMTF algorithm version that was deployed at CSM on 19th March 2024, provided the Era Run3_2024 is defined for the job.
This will fix the data-emulator mismatches present in the DQM since the beginning of the 2024 pp run. Besides, will ensure the upcoming 2024 MC production will use the 2024 OMTF algorithm version.

Details of changes:

OMTFReconstruction.h and OMTFReconstruction.cc
The possibility of configuring the OMTF emulator directly from the config XML is added. When both patternsXMLFile and configXMLFile are given from the python config of the simOmtfDigis or simOmtfPhase2Digis, the L1TMuonOverlapParams are read directly from these files, and the L1TMuonOverlapPhase1ParamsESProducer is not needed. Otherwise, the L1TMuonOverlapParams are obtained from the eventSetup (so from the DB, or from the L1TMuonOverlapPhase1ParamsESProducer - if it is defined).

L1Trigger/L1TMuonOverlapPhase1/src/Omtf/OMTFProcessor.cc line
trackAddr[3] = myCand->getGpResultUnconstr().getPdfSumUnconstr(); is removed, as uGMT expects 3 entries in the TrackAddress (when there were 4, uGMT was generating a warning).

OMTFReconstruction.h and OMTFReconstruction.cc
The possibility of configuring the OMTF emulator directly from the
config XML is added. When both patternsXMLFile and configXMLFile are
given from the python config of the simOmtfDigis or simOmtfPhase2Digis,
the L1TMuonOverlapParams are read directly from these files, and
the L1TMuonOverlapPhase1ParamsESProducer is not needed. Otherwise, the
L1TMuonOverlapParams are obtained from the eventSetup (so from the DB,
or from the L1TMuonOverlapPhase1ParamsESProducer - if it is defined).

L1Trigger/L1TMuonOverlapPhase1/src/Omtf/OMTFProcessor.cc
line
trackAddr[3] = myCand->getGpResultUnconstr().getPdfSumUnconstr();
is removed, as uGMT expects 3 entries in the TrackAddress (when there
were 4, uGMT was generating a warning).
@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 12, 2024

A new Pull Request was created by @kbunkow for CMSSW_14_0_X.

It involves the following packages:

  • L1Trigger/L1TMuonOverlapPhase1 (l1)

@aloeliger, @cmsbuild, @epalencia can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @dinyar, @eyigitba, @missirol, @mmusich, @thomreis 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

cmsbuild commented Sep 12, 2024

cms-bot internal usage

@kbunkow kbunkow changed the title possibility of configuring the OMTF emulator directly from XMLs possibility of configuring the OMTF emulator directly from XMLs (14_0_X) Sep 12, 2024
@kbunkow
Copy link
Contributor Author

kbunkow commented Sep 12, 2024

@aloeliger: maybe I should add the backport of #45984 to this PR? #45984 changes only one file L1Trigger/L1TMuonOverlapPhase1/python/simOmtfDigis_cfi.py

@kbunkow
Copy link
Contributor Author

kbunkow commented Sep 16, 2024

@aloeliger: maybe I should add the backport of #45984 to this PR? The PR #45984 changes only one file L1Trigger/L1TMuonOverlapPhase1/python/simOmtfDigis_cfi.py

@aloeliger
Copy link
Contributor

@kbunkow I would keep them separate.

@aloeliger
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb9134/41530/summary.html
COMMIT: ff3777b
CMSSW: CMSSW_14_0_X_2024-09-16-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45988/41530/install.sh to create a dev area with all the needed externals and cmssw changes.

There was an issue with git-cms-merge-topic you can see the log here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb9134/41530/git-merge-result

@aloeliger
Copy link
Contributor

Weird error attempting to merge in the PR:

++ git ls-remote -t git@github.com:cms-sw/cmssw.git 'refs/pull/45988/head^{}'
++ cut -c -40
kex_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
+ COMMIT=
+ '[' -z '' ']'
+ COMMIT=refs/pull/45988/head
+ git fetch -n git@github.com:cms-sw/cmssw.git +refs/pull/45988/head:cms-sw/refs/pull/45988/head
kex_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@aloeliger
Copy link
Contributor

Hopefully it's temporary?

@aloeliger
Copy link
Contributor

please test

@vlimant
Copy link
Contributor

vlimant commented Sep 16, 2024

urgent

@mmusich
Copy link
Contributor

mmusich commented Sep 16, 2024

backport of #45032

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 12KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb9134/41531/summary.html
COMMIT: ff3777b
CMSSW: CMSSW_14_0_X_2024-09-16-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45988/41531/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@aloeliger
Copy link
Contributor

+l1

@cmsbuild
Copy link
Contributor

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

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit ff95c2a into cms-sw:CMSSW_14_0_X Sep 16, 2024
9 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