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

Adding 2Loose HMT showers in the GT emulator #41211

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

elfontan
Copy link
Contributor

@elfontan elfontan commented Mar 28, 2023

PR description:

Update of the Global Trigger emulator for 2Loose HMT seeds (targeting the 2023 L1 menu).
It relies on the new utm library v0.11.2 recently integrated: cms-sw/cmsdist#8386.

This PR includes also an update of the GlobalBoard code to check the HMT condition for all BXs (see the discussion in cms-l1t-offline#1071). It should complete the fix of DQM issues at uGT with HMT observed during 2022.

Backport to CMSSW_13_0_X: #41249.

[cc: @dinyar @eyigitba @fmanteca]

PR validation:

Basic tests performed successfully starting from CMSSW_13_1_X_2023-03-28-1100

cmsrel CMSSW_13_1_X_2023-03-28-1100
cd CMSSW_13_1_X_2023-03-28-1100/src
cmsenv
git cms-addpkg L1Trigger/L1TGlobal
git cms-addpkg L1Trigger/Configuration
scram b distclean
git cms-checkdeps -a -A
scram b -j 8
scram b runtests
scram build code-checks
scram build code-format

Changes for the L1Ntuples have been included as well: #41233.
A L1Ntuple [1] has been produced emulating a new menu [2] including the 2LooseHMT seed with the following recipe:

cmsDriver.py l1Ntuple -s RAW2DIGI --python_filename=data_def.py -n 10000 --no_output --era=Run3 --data --conditions=124X_dataRun3_Prompt_v4 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromRAW --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMU --filein=/store/data/Commissioning2023/Cosmics/RAW/v2/000/365/300/00000/0bee10f0-6e0c-4efd-9ab5-c58993f0b709.root --customise=L1Trigger/Configuration/customiseUtils.L1TGlobalMenuXML --fileout=HMT_test_L1Ntuple.root
Note that the file L1Trigger/Configuration/python/customiseUtils.py has to be modify to use the new menu.

The output of the uGTEmuTree has been checked and includes countings for all the three HMT seeds:

L1_TwoMuShower_Loose (Bit 69): 98
L1_SingleMuShower_Nominal (Bit 101): 153
L1_SingleMuShower_Tight (Bit 102): 89

As discussed in HMT, at the moment all HMT rates are high and the reason is under investigation. Anyway, the uGT updates can be considered validated.

[1] /afs/cern.ch/work/e/elfontan/public/L1MenuTeamWork/HMT_test_L1Ntuple.root
[2] /afs/cern.ch/work/e/elfontan/public/L1MenuTeamWork/L1TMenu_test_HMT.xml (Bit 69)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41211/34917

  • This PR adds an extra 40KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @elfontan (Elisa Fontanesi) for master.

It involves the following packages:

  • L1Trigger/L1TGlobal (l1)

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

cms-bot commands are listed here

@aloeliger
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0ff451/31659/summary.html
COMMIT: e4ec80a
CMSSW: CMSSW_13_1_X_2023-03-28-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/41211/31659/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
24234.61 step 2
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3554236
  • DQMHistoTests: Total failures: 9
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3554205
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 213 log files, 164 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@aloeliger
Copy link
Contributor

@elfontan This seems to pass most basic tests. Is there some other testing that is needed from your side on this PR?

@elfontan
Copy link
Contributor Author

Hi @aloeliger,
yes, I still did not manage to run a complete test with a new xml menu calling this condition (most likely due to an unrelated problem, related to the current new menu instead). I would like to run a test and obtain some countings from the new condition before moving the PR to ready for review and prepare the backport to CMSSW_13_0_X.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41211/34978

  • This PR adds an extra 60KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41211/34979

  • This PR adds an extra 60KB to repository

@cmsbuild
Copy link
Contributor

Pull request #41211 was updated. @epalencia, @cmsbuild, @cecilecaillol, @aloeliger can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41211/34985

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

Pull request #41211 was updated. @epalencia, @cmsbuild, @cecilecaillol, @aloeliger can you please check and sign again.

@aloeliger
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0ff451/31721/summary.html
COMMIT: 9158f96
CMSSW: CMSSW_13_1_X_2023-03-31-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/41211/31721/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 14 lines to the logs
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3553709
  • DQMHistoTests: Total failures: 4
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3553683
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 213 log files, 164 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@aloeliger
Copy link
Contributor

+l1

This fix closes cms-l1t-offline#1071

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2023

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

@perrotta
Copy link
Contributor

perrotta commented Apr 1, 2023

+1

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.

4 participants