-
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
improve SiStripHitEffFromCalibTree
and SiStripHitResolFromCalibTree
#45083
base: master
Are you sure you want to change the base?
improve SiStripHitEffFromCalibTree
and SiStripHitResolFromCalibTree
#45083
Conversation
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Pull request #45083 was updated. @saumyaphor4252, @cmsbuild, @consuegs, @perrotta can you please check and sign again. |
please test for CMSSW_14_1_ASAN_X |
-1 Failed Tests: UnitTests Unit TestsI found 2 errors in the following unit tests: ---> test testSiStripHitResolution had ERRORS ---> test testSiStripHitEfficiency had ERRORS |
@cmsbuild please test with cms-sw/cms-bot#2228 |
-1 Failed Tests: UnitTests Unit TestsI found 2 errors in the following unit tests: ---> test testSiStripHitResolution had ERRORS ---> test testSiStripHitEfficiency had ERRORS Comparison SummarySummary:
|
Milestone for this pull request has been moved to CMSSW_14_2_X. Please open a backport if it should also go in to CMSSW_14_1_X. |
ping (to make bot change milestone) |
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. |
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
SiStripHitEffFromCalibTree
andSiStripHitResolFromCalibTree
:delete
allnew
-ly allocated memory;k_END_OF_LAYERS
andk_END_OF_LAYS_AND_RINGS
in lieu of magic numbersPR validation:
scram b runtests_testSiStripHitEfficiency
andscram b runtests_testSiStripHitResolution
run 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