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

Cleanup Geant4 sensitive detectors #19939

Merged
merged 7 commits into from Aug 11, 2017

Conversation

civanch
Copy link
Contributor

@civanch civanch commented Jul 27, 2017

Substituted remaining auto_ptr by unique_ptr.

Proper initialised CaloSD with nullptr and all local members.

Removed not necessary computations in the beginning of produce(..) method, simplified computations in SensitiveDetector class by using directly G4 methods.

Should bring a small CPU performance improvement and no change in results.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @civanch (Vladimir Ivantchenko) for master.

It involves the following packages:

SimG4CMS/Calo
SimG4CMS/CherenkovAnalysis
SimG4Core/Geometry
SimG4Core/GeometryProducer
SimG4Core/SensitiveDetector

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

cms-bot commands are listed here

@civanch
Copy link
Contributor Author

civanch commented Jul 27, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 27, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21833/console Started: 2017/07/27 17:44

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

@civanch
Copy link
Contributor Author

civanch commented Jul 27, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 27, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21839/console Started: 2017/07/27 19:35

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@civanch
Copy link
Contributor Author

civanch commented Jul 28, 2017

please test
comparison is not available for 19 hours - restart test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22154/console Started: 2017/08/09 09:58

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19939/22154/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4062 differences found in the comparisons
  • DQMHistoTests: Total files compared: 25
  • DQMHistoTests: Total histograms compared: 2646495
  • DQMHistoTests: Total failures: 71575
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2574739
  • DQMHistoTests: Total skipped: 181
  • DQMHistoTests: Total Missing objects: 0
  • Checked 102 log files, 14 edm output root files, 25 DQM output files

@davidlange6
Copy link
Contributor

hi @civanch - is there a reason to think all the ecal barrel changes in dqm are not related?

@civanch
Copy link
Contributor Author

civanch commented Aug 10, 2017

Hi @davidlange6 , similar differences are in comparison of the recent #20083 - in that case definitely SIM is not touched, but Ecal and DQM differences remain.

@civanch
Copy link
Contributor Author

civanch commented Aug 10, 2017

@davidlange6 , the recent comparisons for #20106 (RECO PR) show the same differences in SIM.

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 56f2f72 into cms-sw:master Aug 11, 2017
@slava77
Copy link
Contributor

slava77 commented Aug 16, 2017

This PR description has

Should bring a small CPU performance improvement and no change in results.

In the jenkins summary I see

Reco comparison results: 4062 differences found in the comparisons

you can see in the comparisons that simulation in phase-1 workflows has changed (e.g. https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_9_3_X_2017-08-08-2300+19939/21860/validateJR/all_OldVSNew_TTbar13TeV2017wf10024p0/ ;
this does not appear to be random)

Is there a simple explanation for the changes?

this probably means that the next relval should have a resim for phase-1
@fabozzi @franzoni

@slava77
Copy link
Contributor

slava77 commented Aug 16, 2017

actually we will need a resim anyways due to the incoming magnetic field changes.

@civanch
Copy link
Contributor Author

civanch commented Aug 16, 2017

@slava77 , at that day, similar differences were with other even very simple PRs. I have no explanation for myself. The regeneration was needed due to recent Sunanda fix of Ecal SIM.

@slava77
Copy link
Contributor

slava77 commented Aug 16, 2017 via email

@civanch
Copy link
Contributor Author

civanch commented Aug 16, 2017

@slava77 , I have re-checked all modifications in the code and it is all only c++ clean-ups. How this can change sim histories - not clear, because these classes related to saving calo hits, not to G4 tracking. Likely histories should be the same. Why calo hits are different is not clear also.

@slava77
Copy link
Contributor

slava77 commented Aug 16, 2017 via email

@davidlange6
Copy link
Contributor

hi @civanch - please make a PR Friday reverting these changes so that these changes can be studied more carefully Thanks.

@slava77
Copy link
Contributor

slava77 commented Sep 2, 2017

I don't recall spotting anything extreme here when I looked at the diffs, but then maybe it was not a careful look 17 days ago.

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

6 participants