-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 revision 5 #23226
Geant4 sensitive detectors revision 5 #23226
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23226/4695 |
A new Pull Request was created by @civanch (Vladimir Ivantchenko) for master. It involves the following packages: SimG4CMS/Calo @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 62841b9 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: RelVals
When I ran the RelVals I found an error in the following worklfows: runTheMatrix-results/20034.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D17_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D17+RecoFullGlobal_2023D17+HARVESTFullGlobal_2023D17/step2_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D17_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D17+RecoFullGlobal_2023D17+HARVESTFullGlobal_2023D17.log20434.0 step2 runTheMatrix-results/20434.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D19_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D19+RecoFullGlobal_2023D19+HARVESTFullGlobal_2023D19/step2_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D21_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D21+RecoFullGlobal_2023D21+HARVESTFullGlobal_2023D21.log21234.0 step2 runTheMatrix-results/21234.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D21_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D21+RecoFullGlobal_2023D21+HARVESTFullGlobal_2023D21/step2_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D21_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D21+RecoFullGlobal_2023D21+HARVESTFullGlobal_2023D21.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
Somehow the changes here cause a crash in |
The tests are being triggered in jenkins. |
Pull request #23226 was updated. @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please check and sign again. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
+1 |
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 it is an impressive piece of work. Did you check the simulation performances after this cleaning? One minor point that I observe, we have many #define/ifdef DebugLog instructions in the touched classes, could we take the opportunity of this big migration to modernize this to #define/ifdef EDM_ML_DEBUG , as I agreed with @kpedro88 to do for the MTD part? |
@fabiocos , I would guess, more cleanup of LogDebug/LogInfo/LogVerbatim will be useful. #define/ifdef is the Sunanda style to keep track on the code, for me LogDebug would be enough but I would do this after the discussion. After cleanup of remaining Forward/muon SD classes it would be possible to drop more protected class members in CaloSD and in that iteration improve debug printouts. The performance should be checked after PR is merged, because CPU checks are specific - the condition should be stable. I would expect ~1% improvement for a standard WF, more useful may be for HGCAL, which is critical from CPU point of view. |
@civanch I do not think it is terribly urgent, if you have a general review of the verbosity in mind I am fine in keeping it for a separate PR, but I think it would be good to do it. Using Sunanda's flags or the native LogDebug is basically similar from the point of view of the needed modifications and operations, the former may perhaps allow a more selective choice of the printouts, especially for such a large module as g4SimHits |
+1 |
@civanch well, it depends on what is recompiled to enable LogDebug... |
This PR is made instead of #21964.
Geant4 calorimeter sensitive detectors are updated:
Correctness of this PR means identical results for all WFs.