-
Notifications
You must be signed in to change notification settings - Fork 4.6k
improve SiStripHitEffFromCalibTree and SiStripHitResolFromCalibTree
#45083
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
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
|
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. |
|
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. |
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