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

[14.0.X] HLT phase-2: fix HGCAL Layercluster and create common constants configuration for HGCAL #44596

Merged

Conversation

AuroraPerego
Copy link
Contributor

This is a backport of #44552

This PR fixes a bug where the value of fCperElectron was accidentally set to 0. This caused noise hits to seed the creation of layerclusters.
In this PR all the constants have been moved to a common file, so it's easier to maintain, and have been updated to Calorimeter Geometry v16.

Validated running workflow 24896.0 and using plots from #44558 to check the correctness of the result

FYI @felicepantaleo @rovere

…gcal reco modules at HLT

- fix a bug in fCPerEle
- update hgcal constants to v16 of the calorimeter geometry

centralize constants in HLT hgcalLayerClustersEE_cfi

centralize constants in HLT hgcalLayerClustersEEL1Seeded_cfi

centralize constants in HLT hgcalLayerClustersHSciL1Seeded_cfi

centralize constants in HLT hgcalLayerClustersHSci_cfi

centralize constants in HLT hgcalLayerClustersHSiL1Seeded_cfi

centralize constants in HLT hgcalLayerClustersHSi_cfi

centralize constants in HLT HGCalRecHitL1Seeded_cfi

centralize constants in HLT HGCalRecHit_cfi

centralize constants in HLT HGCalUncalibRecHitL1Seeded_cfi

centralize constants in HLT HGCalUncalibRecHit_cfi
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2024

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

It involves the following packages:

  • HLTrigger/Configuration (hlt)

@mmusich, @cmsbuild, @Martin-Grunewald can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @SohamBhattacharya, @silviodonato, @rovere, @missirol this is something you requested to watch as well.
@antoniovilela, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2024

cms-bot internal usage

@mmusich
Copy link
Contributor

mmusich commented Apr 2, 2024

backport of #44552

@mmusich
Copy link
Contributor

mmusich commented Apr 2, 2024

type hgcal, bug-fix

@mmusich
Copy link
Contributor

mmusich commented Apr 2, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2024

+1

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

Comparison Summary

Summary:

  • You potentially added 21 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 255 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3346148
  • DQMHistoTests: Total failures: 1372
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3344754
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 205 log files, 166 edm output root files, 49 DQM output files
  • TriggerResults: found differences in 3 / 47 workflows

@mmusich
Copy link
Contributor

mmusich commented Apr 3, 2024

This PR is not a "verbatim" backport of #44552.

If I compare the diffs I see for this PR:

 .../modules/HGCalRecHitL1Seeded_cfi.py        | 23 ++----
 .../HLT_75e33/modules/HGCalRecHit_cfi.py      | 26 ++----
 .../modules/HGCalUncalibRecHitL1Seeded_cfi.py |  5 +-
 .../modules/HGCalUncalibRecHit_cfi.py         |  6 +-
 .../hgcalLayerClustersEEL1Seeded_cfi.py       | 77 ++++++------------
 .../modules/hgcalLayerClustersEE_cfi.py       | 80 +++++++------------
 .../hgcalLayerClustersHSciL1Seeded_cfi.py     | 79 +++++++-----------
 .../modules/hgcalLayerClustersHSci_cfi.py     | 80 +++++++------------
 .../hgcalLayerClustersHSiL1Seeded_cfi.py      | 79 +++++++-----------
 .../modules/hgcalLayerClustersHSi_cfi.py      | 79 ++++++------------
 .../psets/hgcal_reco_constants_cfi.py         | 43 ++++++++++
  11 files changed, 221 insertions(+), 356 deletions(-)

whereas for #44552:

 .../modules/HGCalRecHitL1Seeded_cfi.py        | 23 ++------
 .../HLT_75e33/modules/HGCalRecHit_cfi.py      | 26 ++-------
 .../modules/HGCalUncalibRecHitL1Seeded_cfi.py |  5 +-
 .../modules/HGCalUncalibRecHit_cfi.py         |  6 +-
 .../hgcalLayerClustersEEL1Seeded_cfi.py       | 55 ++++++-------------
 .../modules/hgcalLayerClustersEE_cfi.py       | 54 ++++++------------
 .../hgcalLayerClustersHSciL1Seeded_cfi.py     | 55 ++++++-------------
 .../modules/hgcalLayerClustersHSci_cfi.py     | 54 ++++++------------
 .../hgcalLayerClustersHSiL1Seeded_cfi.py      | 55 ++++++-------------
 .../modules/hgcalLayerClustersHSi_cfi.py      | 54 ++++++------------
 .../psets/hgcal_reco_constants_cfi.py         | 42 ++++++++++++++
 11 files changed, 159 insertions(+), 270 deletions(-)

also the Trigger results comparisons do not agree:

@rovere
Copy link
Contributor

rovere commented Apr 3, 2024

@mmusich thanks for checking.
The diffs are different because 14_1 has #44025 merged (that also touched the same files touched by this PR and by #44552), while 14_0 does not have it. So, the baseline to compute the diff is different.
I checked the content of the diffs and everything seems to be correct.

The changes in the trigger results are more difficult to explain. I can imagine having some regression since HGCAL was uncalibrated before. Possibly, the differences with respect to #44552 could be explained if we fold in also #44025 and #44523...?

@mmusich
Copy link
Contributor

mmusich commented Apr 8, 2024

+hlt

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2024

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_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit e35a4bc into cms-sw:CMSSW_14_0_X Apr 8, 2024
10 checks passed
@AuroraPerego AuroraPerego deleted the hgcalHLTfix_backport_14_0_X branch April 22, 2024 20:05
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