[17.0.X] improve SiStripHitEffFromCalibTree and SiStripHitResolFromCalibTree - #45083
[17.0.X] improve SiStripHitEffFromCalibTree and SiStripHitResolFromCalibTree#45083mmusich wants to merge 2 commits into
SiStripHitEffFromCalibTree and SiStripHitResolFromCalibTree#45083Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45083/40403
|
|
A new Pull Request was created by @mmusich for master. It involves the following packages:
@cmsbuild, @saumyaphor4252, @perrotta, @consuegs can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@cmsbuild, please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8e7715/39593/summary.html Comparison SummarySummary:
|
| bool debug{false}; | ||
|
|
||
| if (!tFile.IsZombie() && tFile.IsWritable() && debug) { | ||
| // Delete all objects in the file recursively |
There was a problem hiding this comment.
Why the objects in file are deleted and the files are written and closed only when the debug option is true?
There was a problem hiding this comment.
it was an (unsuccessful) attempt to debug #45084. AFAIU normally the destructor of TFileService should do that automatically, but somewhere there is a double deletion.
This piece could be removed.
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45083/40419
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
bb8ce72 to
08c6681
Compare
|
Milestone for this pull request has been moved to CMSSW_15_0_X. Please open a backport if it should also go in to CMSSW_14_2_X. |
|
Milestone for this pull request has been moved to CMSSW_15_1_X. Please open a backport if it should also go in to CMSSW_15_0_X. |
|
Milestone for this pull request has been moved to CMSSW_16_0_X. Please open a backport if it should also go in to CMSSW_15_1_X. |
|
Milestone for this pull request has been moved to CMSSW_16_1_X. Please open a backport if it should also go in to CMSSW_16_0_X. |
|
-1
|
|
Milestone for this pull request has been moved to CMSSW_17_0_X. Please open a backport if it should also go in to CMSSW_16_1_X. |
|
Milestone for this pull request has been moved to CMSSW_20_0_X. Please open a backport if it should also go in to CMSSW_17_0_X. |
|
Just checking, is this PR intended for Phase 2 (20_1_X) or Run 3 legacy (17_0_X) or both? |
|
this needs rebase/resolve merge conflicts |
PR description:
Somewhat inspired by cms-sw/cms-bot#2228, trying to debug crashes reported at cms-sw/cms-bot#2228 (comment), improve the modules
SiStripHitEffFromCalibTreeandSiStripHitResolFromCalibTree:deleteallnew-ly allocated memory;k_END_OF_LAYERSandk_END_OF_LAYS_AND_RINGSin lieu of magic numbersPR validation:
scram b runtests_testSiStripHitEfficiencyandscram b runtests_testSiStripHitResolutionrun fine after the update.If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Not a backport, might be backported to 14.0.X