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

Simulation: update the test for the definition of back-scattering from CALO #44945

Merged
merged 1 commit into from
May 20, 2024

Conversation

fabiocos
Copy link
Contributor

@fabiocos fabiocos commented May 9, 2024

PR description:

The transition from CALO to Tracker is monitored in the Phase2SteppingAction of SimG4Core/Application to define the back-scattering condition of a particle, used to define the corresponding category for BTL PSimHit. This condition was updated in #43142 to cope with the fact that the the transition changed in Phase2 geometries, removing at some point (Tracker version T34) the intermediate step into CSME volume. At that time a check on the distance from the origin was introduced, requiring that the post-step has a smaller distance from the origin than the pre-step. This condition is anyway not always fulfilled, driving to an incorrect classification of hits from back-scattering as secondary.

This PR updates the test so as to fix this issue. Either a direct CALO -> Tracker transition is found, or a CSME -> Tracker transition is tested, with the understanding based on navigation checks that it is possible for particles coming from CALO only. As soon as older geometries will be abandoned, this test will not be any more necessary.

PR validation:

Tested with the debugging verbosity of Phase2SteppingAction and of the CMSSteppingVerbose

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44945/40216

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2024

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

It involves the following packages:

  • SimG4Core/Application (simulation)

@cmsbuild, @mdhildreth, @civanch can you please review it and eventually sign? Thanks.
@slomeo, @rovere, @bsunanda, @makortel this is something you requested to watch as well.
@sextonkennedy, @antoniovilela, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@fabiocos
Copy link
Contributor Author

fabiocos commented May 9, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a901f/39328/summary.html
COMMIT: 6803e7b
CMSSW: CMSSW_14_1_X_2024-05-09-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44945/39328/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@fabiocos
Copy link
Contributor Author

@cms-sw/simulation-l2 comments?

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44945/40253

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #44945 was updated. @mdhildreth, @civanch, @cmsbuild can you please check and sign again.

@fabiocos
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a901f/39378/summary.html
COMMIT: cfae1d0
CMSSW: CMSSW_14_1_X_2024-05-14-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44945/39378/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

  • 4.764.76_ZMuSkim2012D/step2_ZMuSkim2012D.log

Comparison Summary

Summary:

@fabiocos
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a901f/39380/summary.html
COMMIT: cfae1d0
CMSSW: CMSSW_14_1_X_2024-05-14-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44945/39380/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test test-das-selected-lumis had ERRORS

RelVals-INPUT

  • 4.764.76_ZMuSkim2012D/step2_ZMuSkim2012D.log

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3338976
  • DQMHistoTests: Total failures: 78
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3338878
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented May 15, 2024

Seems to be a DAS problem. Should we ignore this or restart tests?

@fabiocos
Copy link
Contributor Author

please test

let's try again...

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a901f/39398/summary.html
COMMIT: cfae1d0
CMSSW: CMSSW_14_1_X_2024-05-15-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44945/39398/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 16 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3338976
  • DQMHistoTests: Total failures: 84
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3338872
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented May 16, 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, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit eb5c178 into cms-sw:master May 20, 2024
11 checks passed
@fabiocos fabiocos deleted the fc-fixPhase2Boundary20240509 branch May 21, 2024 16:12
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.

None yet

4 participants