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
Geant4 Sensitive Detectors update 4: revised selection of particle type for shower libraries #22145
Conversation
The code-checks are being triggered in jenkins. |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-22145/3275 |
The tests are being triggered in jenkins. |
A new Pull Request was created by @civanch (Vladimir Ivantchenko) for master. It involves the following packages: SimG4CMS/Calo @cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
+1 |
Comparison is ready Comparison Summary:
|
+1 |
@civanch could you please document (may be in the next simulation meeting) the differences that you have observed, so as we may quantify them? If they are really a few percent effect they do not look totally irrelevant to me. |
Our (HCAL) 50 GeV single-pion Calo-scan test may not be very useful to spot fine details, as due to the change in SIM rndm sequence(s), the results at this level of stat (50k ev) fluctuate within several % easily... |
10k MinBias events - a small suppression of the high energy tail: |
@civanch thanks, how were the histograms normalized? I would expect to see no difference, within statistics, for both EE and HE, right? |
@fabiocos , statistically distributions are not in contrudiction I guess. There is an expresion of some systematics but I would not say it isstatistically significant. Also Hypérons and ions do not produce HF showers, this may slightly change hits in HE and EE. Normalisation of shown histograms is not done - the same number of events 50k is used for both cases. |
unhold |
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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
@civanch @franzoni @klute as agreed we will check this PR in 10_2_0_pre2 . As the expected effect of this PR is small, in order to make the validation work lighter we can "plan for success", as David likes, and integrate it into the pre-release, assuming that only in case unexpected effects are observed we make a dedicated build where this PR is removed for further investigations. |
+1 |
This PR was discussed at the SIM meeting:
https://indico.cern.ch/event/702324/contributions/2885360/attachments/1596130/2528121/VI20180206.pdf
Several static methods are added to identify Geant4 particle type. These methods are used to select shower library branches with EM or hadronic hits. Hyperons and exotic particles will not any more treated as "hadrons", they should decay and only decay products will provide showers. Due to that, in many workflows one can expect different simulation histories and only statistical comparison of results is possible.
HF hits are sampled differently:
CastorSD class was changed more in order to use this opportunity when results are not identical:
Additionally some commented lines and unused variables are removed in other classes.