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

Fix incorrect hadronic shower packing and enable global shower unpacking for both uGMT and uGT #36877

Merged
merged 9 commits into from
Feb 7, 2022

Conversation

dinyar
Copy link
Contributor

@dinyar dinyar commented Feb 3, 2022

PR description:

This PR groups a few fixes (please let me know if I should split it into one PR per fix):

  • A check to make sure that we weren't overwriting muon information with the shower bits was watching the wrong bitfield.
  • We were also off by one in selecting the correct payload word for the regional muon showers.
  • Run-2 debug information from EMTF was still being written to the fields now foreseen for hadronic showers and displaced info. We now only do this for Run-2 data and for Run-3 set those data to zero to avoid a crash in the ntuplizers.
  • Unpacking of global hadronic showers (i.e. the uGMT output) has been enabled both for uGMT and the uGT input unpacker/

Two mostly aesthetic fixes:

  • We now only pack and unpack regional showers when they are actually filled (i.e. valid).
  • The MuonShower data format was made a bit more descriptive:
    • The private members storing the bits that are already defined for Run-3 have been named descriptively.
    • Accessors for those members have been added.

PR validation:

Ran on sample with hadronic showers[1] and confirmed that they appear at the output of the uGMT both in the EDM file and L1TNtuple.

[1] cmsDriver.py l1Ntuple --python_filename mc.py -s L1REPACK:FullMC,RAW2DIGI --mc -n -1 --conditions auto:phase1_2021_realistic --era Run3 --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMU --customise=L1Trigger/Configuration/customiseUtils.L1TGlobalMenuXML --filein /store/mc/Run3Summer21DRPremix/HTo2LongLivedTo4b_MH-1000_MFF-450_CTau-100000mm_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/120X_mcRun3_2021_realistic_v6 -v2/2550000/e28c777d-10fd-4100-b230-c42b0160ad8a.root

We were generating this error by looking at the wrong bits.
Two out of six words from the payload are used for showers, we were
unfortunately off by one.
Also make error message if we're in danger of overwriting data
with muon shower info more useful.
This didn't actually break anything, but caused confusing errors when
trying to pack (always empty) showers for OMTF.
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36877/28138

  • This PR adds an extra 48KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2022

A new Pull Request was created by @dinyar (Dinyar Rabady) for master.

It involves the following packages:

  • DataFormats/L1Trigger (l1)
  • EventFilter/L1TRawToDigi (l1)
  • L1Trigger/L1TMuon (l1)

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

cms-bot commands are listed here

@cecilecaillol
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 4, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d76dc5/22218/summary.html
COMMIT: 7ff8aa5
CMSSW: CMSSW_12_3_X_2022-02-03-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36877/22218/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 5 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3765022
  • DQMHistoTests: Total failures: 128
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3764871
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 45 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 193 log files, 42 edm output root files, 46 DQM output files
  • TriggerResults: no differences found

@dinyar
Copy link
Contributor Author

dinyar commented Feb 4, 2022

Looked through the DQM plots and while I'm not surprised that we see the changes we see I'll have a quick look offline.

@dinyar
Copy link
Contributor Author

dinyar commented Feb 4, 2022

Ok, stared at this for a while and I believe this is compatible with what was changed, however it looks to me like EMTF still isn't unpacking displacement information (and also doesn't have them as DQM plots). Can you confirm that, @eyigitba?

@eyigitba
Copy link
Contributor

eyigitba commented Feb 4, 2022

@dinyar we still haven't put in the unpacker changes and displaced pT + dxy DQM plots in CMSSW. I was hoping to put them in this week, but I still need some information from Alex. I expect to put them in as soon as possible.

@dinyar
Copy link
Contributor Author

dinyar commented Feb 4, 2022

Hi Efe,

Ok, no problem. Do you think it's worth waiting for your changes with this PR to make sure things are fine? If you think it might take a bit too long we can also go ahead with this and then just make sure we check for mismatches once you make your PR..

Cheers,
Dinyar

@eyigitba
Copy link
Contributor

eyigitba commented Feb 4, 2022

Hi Dinyar,

I think it's ok to merge this. It shouldn't take long for me the submit the PR, but I don't think it's a reason to wait :). We can check for mismatches once we get there.

@dinyar
Copy link
Contributor Author

dinyar commented Feb 6, 2022

Great, sounds good thanks for the quick answer! @cecilecaillol or @epalencia, could you check this PR and sign if it's fine with you?

@cecilecaillol
Copy link
Contributor

+l1

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2022

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

@perrotta
Copy link
Contributor

perrotta commented Feb 7, 2022

+1

  • Changes in the DQM outputs have been evaluated and approved by the relevant experts

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.

5 participants