-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Avoid storing empty DetSet containers in the pixel digi collection #37035
Avoid storing empty DetSet containers in the pixel digi collection #37035
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37035/28466
|
A new Pull Request was created by @ferencek (Dinko F.) for master. It involves the following packages:
@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
type bug-fix |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2ab2f3/22591/summary.html Comparison SummarySummary:
|
There was a rational behind the current behaviour: an empty detset signals that it has been decoded and it is empty. no detset signals that was not read... (or absent in the redout?) |
Hi @VinInn, ok, I see, so the empty DetSets are a sort of diagnostic of corrupt data coming from certain modules. But isn't the purpose of the error collection |
somehow interesting these show only in the phase-0 wfs. |
I had a closer look at wf 136.731 where I see an empty DetSet appearing
and similarly in wf 4.53
Specifically for wf 136.731, I checked that the total number of digis in each event remains unchanged before and after the fix and the difference in the SUMOFF_digis_Barrel appearing in ladder 65 So the differences appearing in the SUMOFF_digis_Barrel are an artifact of how the number of digis in a given module is counted. There are three options:
In other words, the differences we see is equivalent to comparing the average of (0, 5, 7) and the average of (5, 7) which will, of course, be different. The multiplicity of higher level objects such as clusters and RecHits remains unchanged So to conclude, this fix is indeed transparent to physics. P.S. @mmusich made an interesting observation that differences seem to be showing up only for Phase 0 wfs. This is indeed confusing because empty DetSets were earlier observed by Marco in the Phase 1 wf 139.001. However, there are differences in the content of the DQM files for Phase 0 |
I applied Andrea's commit suggestion and amended it with a LogError printout. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37035/28501
|
Pull request #37035 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again. |
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2ab2f3/22669/summary.html Comparison SummarySummary:
|
+reconstruction
|
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
This PR and #36968 were discussed in yesterday's pixel offline meeting right after the news slides (https://indico.cern.ch/event/1119492/#b-448625-pixel-calibration-loc) and the conclusion was to merge both PRs with a small change in #36968 where LogWarning is turned into LogError instead of LogDebug. |
+1 |
PR description:
This PR addresses the issue with excessive LogWarning printouts in the pixel clusterizer reported in #36326 (comment). This PR is an alternative to #36968 and tries to fix the problem at the source, in the RawToDigi code. This is a technical fix so no impact on physics is expected.
PR validation:
The code compiles and was tested to successfully run with the MinimumBias workflow 139.001.
@tsusa @mmusich