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

(Un)packers for hadronic showers at the uGMT input and output #35627

Merged
merged 7 commits into from
Dec 9, 2021

Conversation

dinyar
Copy link
Contributor

@dinyar dinyar commented Oct 12, 2021

PR description:

This PR extends the RegionalMuon and Muon unpackers to be able to also unpack RegionalMuonShower and MuonShower objects respectively. This functionality is gated by the expected uGMT firmware version read from the readout payload.

I've also modified the RegionalMuonShower interface to more closely mirror that of the RegionalMuonCand data format.

PR validation:

Ran scram build code-checks, runTheMatrix.py -l limited -i all --ibeos, and scram b runtests locally.

attn @rekovic, @kbunkow, @dildick

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35627/25899

  • This PR adds an extra 52KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

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

@cmsbuild, @rekovic, @cecilecaillol can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @missirol, @rovere, @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

@rekovic
Copy link
Contributor

rekovic commented Oct 13, 2021

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build ClangBuild
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5bb56a/19597/summary.html
COMMIT: 59fa1a6
CMSSW: CMSSW_12_1_X_2021-10-13-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35627/19597/install.sh to create a dev area with all the needed externals and cmssw changes.

Build

I found compilation warning when building: See details on the summary page.

Clang Build

I found compilation warning while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

See details on the summary page.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35627/25923

  • This PR adds an extra 56KB to repository

@cmsbuild
Copy link
Contributor

Pull request #35627 was updated. @cmsbuild, @rekovic, @cecilecaillol can you please check and sign again.

@rekovic
Copy link
Contributor

rekovic commented Oct 13, 2021

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5bb56a/19603/summary.html
COMMIT: 3a8d88c
CMSSW: CMSSW_12_1_X_2021-10-13-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35627/19603/install.sh to create a dev area with all the needed externals and cmssw changes.

AddOn Tests

----- Begin Fatal Exception 13-Oct-2021 17:46:07 CEST-----------------------
An exception of category 'ProductNotFound' occurred while
   [0] Processing  Event run: 323775 lumi: 99 event: 111372621 stream: 0
   [1] Running path 'RAWoutput_step'
   [2] Prefetching for module PoolOutputModule/'RAWoutput'
   [3] Prefetching for module RawDataCollectorByLabel/'rawDataCollector'
   [4] Prefetching for module L1TDigiToRaw/'packGmtStage2'
   [5] Prefetching for module L1TMuonEndCapShowerProducer/'simEmtfShowers'
   [6] Calling method for module CSCTriggerPrimitivesProducer/'simCscTriggerPrimitiveDigis'
Exception Message:
Principal::getByToken: Found zero products matching all criteria
Looking for type: MuonDigiCollection<GEMDetId,GEMPadDigiCluster>
Looking for module label: simMuonGEMPadDigiClusters
Looking for productInstanceName: 

   Additional Info:
      [a] If you wish to continue processing events after a ProductNotFound exception,
add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 13-Oct-2021 17:46:09 CEST-----------------------
An exception of category 'ProductNotFound' occurred while
   [0] Processing  Event run: 325112 lumi: 6 event: 29040 stream: 3
   [1] Running path 'RAWoutput_step'
   [2] Prefetching for module PoolOutputModule/'RAWoutput'
   [3] Prefetching for module RawDataCollectorByLabel/'rawDataCollector'
   [4] Prefetching for module L1TDigiToRaw/'packGmtStage2'
   [5] Prefetching for module L1TMuonEndCapShowerProducer/'simEmtfShowers'
   [6] Calling method for module CSCTriggerPrimitivesProducer/'simCscTriggerPrimitiveDigis'
Exception Message:
Principal::getByToken: Found zero products matching all criteria
Looking for type: MuonDigiCollection<GEMDetId,GEMPadDigiCluster>
Looking for module label: simMuonGEMPadDigiClusters
Looking for productInstanceName: 

   Additional Info:
      [a] If you wish to continue processing events after a ProductNotFound exception,
add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 13-Oct-2021 17:48:33 CEST-----------------------
An exception of category 'ProductNotFound' occurred while
   [0] Processing  Event run: 323775 lumi: 99 event: 111372621 stream: 0
   [1] Running path 'RAWoutput_step'
   [2] Prefetching for module PoolOutputModule/'RAWoutput'
   [3] Prefetching for module RawDataCollectorByLabel/'rawDataCollector'
   [4] Prefetching for module L1TDigiToRaw/'packGmtStage2'
   [5] Prefetching for module L1TMuonEndCapShowerProducer/'simEmtfShowers'
   [6] Calling method for module CSCTriggerPrimitivesProducer/'simCscTriggerPrimitiveDigis'
Exception Message:
Principal::getByToken: Found zero products matching all criteria
Looking for type: MuonDigiCollection<GEMDetId,GEMPadDigiCluster>
Looking for module label: simMuonGEMPadDigiClusters
Looking for productInstanceName: 

   Additional Info:
      [a] If you wish to continue processing events after a ProductNotFound exception,
add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

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

Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2796791
  • DQMHistoTests: Total failures: 42141
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2754628
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 39 files compared)
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: found differences in 5 / 39 workflows

@jfernan2
Copy link
Contributor

jfernan2 commented Dec 8, 2021

+1

@rekovic
Copy link
Contributor

rekovic commented Dec 9, 2021

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2021

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 Dec 9, 2021

+1

@VinInn
Copy link
Contributor

VinInn commented Dec 9, 2021

this breaks #36396

@dinyar
Copy link
Contributor Author

dinyar commented Dec 9, 2021

I suspect 9960aaa caught the other PR out. If that's the issue I can commit a fix for it in the next hour or two I'd say.

@perrotta
Copy link
Contributor

perrotta commented Dec 9, 2021

As far as I can see the inconsistency is with #36018, which was merged 2 days ago after this PR was tested last
@dinyar if you have a quick fix at hand, please commit the PR: otherwise we'll have to revert this one.

@perrotta
Copy link
Contributor

perrotta commented Dec 9, 2021

Also https://github.com/cms-sw/cmssw/pull/36018/files#diff-a2194e73035b8a64c72a7363af81ce438a545aca33b67ce5f616ff6ed98b4d0cR15 and https://github.com/cms-sw/cmssw/pull/36018/files#diff-a2194e73035b8a64c72a7363af81ce438a545aca33b67ce5f616ff6ed98b4d0cR16 , the issue being the removal here of the two methods

  • RegionalMuonShower::endcap()
  • RegionalMuonShower::sector()

which should be restored.

@zuoxunwu
Copy link
Contributor

zuoxunwu commented Dec 9, 2021

the line that does not compile is
https://github.com/cms-sw/cmssw/pull/36396/files#diff-881ff4a5b7f865747240faa761540efae46b58c1007078bcda43fbfe6f250f6bR62
and another farther below

As @dinyar is already fixing the conflict by encapsulating RegionalMuonShower::endcap() and RegionalMuonShower::sector(). I should keep these lines as they are, right?

@VinInn
Copy link
Contributor

VinInn commented Dec 9, 2021

This is what I suggested as the quickest and robust fix to be merged before next IB.
A cleaner solution can be provided at a later time (if deemed necessary)

@zuoxunwu
Copy link
Contributor

zuoxunwu commented Dec 9, 2021

Agree. Thanks!

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.

10 participants