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

Fixed energy of R-Hadron cloud in energy deposit model #46728

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

ctdax
Copy link
Contributor

@ctdax ctdax commented Nov 18, 2024

PR description:

A 2015 commit to FullModelHadronicProcess.cc introduced a bug to the energy deposit model. This bug incorrectly deposited energy values close to the BSM particles mass into the simulated detector. This merge request reverts the energy deposit model to a previously working version from 2015. This is a work in progress, additional changes are expected to be made. Here are slides given to the EXO general group on the topic from November 19th, 2024

PR validation:

scram b runtests use-ibeos completed successfully.
runTheMatrix.py -l limited -i all --ibeos completed successfully without any failrues.
Below is a comparison of 10,000 identically seeded simulated energy deposits in the ECAL barrel with and without the bug.

Screenshot 2024-11-18 at 1 51 38 PM Screenshot 2024-11-18 at 1 52 19 PM

A 2015 commit to FullModelHadronicProcess.cc (0f7fe9f#diff-d97c0182cf0b0204534930064c29ace096341c2b2a33ede9d1f1aac75be22d91) introduced a bug to the energy deposit model. This bug incorrectly deposited energy values close to the BSM particles mass into the simulated detector.
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 18, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ctdax for master.

It involves the following packages:

  • SimG4Core/CustomPhysics (simulation)

@civanch, @cmsbuild, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks.
@bsunanda, @fabiocos, @makortel, @martinamalberti, @rovere, @slomeo 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

@civanch
Copy link
Contributor

civanch commented Nov 19, 2024

please test

@civanch
Copy link
Contributor

civanch commented Nov 19, 2024

Let us test this PR

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Size: This PR adds an extra 24KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-91c699/42947/summary.html
COMMIT: 0ade249
CMSSW: CMSSW_14_2_X_2024-11-19-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46728/42947/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

Expand to see more relval errors ...

Comparison Summary

Summary:

@civanch
Copy link
Contributor

civanch commented Nov 20, 2024

please test

@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-91c699/42980/summary.html
COMMIT: 0ade249
CMSSW: CMSSW_14_2_X_2024-11-20-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46728/42980/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3483722
  • DQMHistoTests: Total failures: 455
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3483247
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 202 log files, 172 edm output root files, 46 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented Nov 21, 2024

+1

@cmsbuild
Copy link
Contributor

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

@civanch
Copy link
Contributor

civanch commented Nov 21, 2024

@ctdax , I think that it is OK to merge this fix, further fixes/improvements may be in the next PRs. One thing I would recommend: please, substitute "Work in progress! Updated to" in the title by "Fixed energy of R-Hadron cloud in ". Edition of the title or description will no trigger new tests, precise title is usefull in the long term.

Depending on what Run period is considered for the analysis, backport(s) will be needed. If you foresee extra PRs on this subject, the backport may be the sum of all done for the master. If you are not sure, better to backport what is proposed in this PR now and do not postpond this.

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 92333e3 into cms-sw:master Nov 21, 2024
11 checks passed
@mandrenguyen mandrenguyen changed the title Work in progress! Update to FullModelHadronicProcess.cc energy deposit model Fixed energy of R-Hadron cloud in energy deposit model Nov 21, 2024
@mandrenguyen
Copy link
Contributor

@ctdax , I think that it is OK to merge this fix, further fixes/improvements may be in the next PRs. One thing I would recommend: please, substitute "Work in progress! Updated to" in the title by "Fixed energy of R-Hadron cloud in ". Edition of the title or description will no trigger new tests, precise title is usefull in the long term.

I went ahead and took care of the title change. Please let me know if I did not follow the suggestion correctly.

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