-
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
Miscellaneous updates to TkHistoMap
#39369
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39369/32070
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
765956f
to
e1cb31a
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39369/32071
|
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
e1cb31a
to
8f827ff
Compare
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39369/32073
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
8f827ff
to
3db8336
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39369/32075
|
Pull request #39369 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-06ff62/27484/summary.html Comparison SummarySummary:
|
+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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
When developing for #39351 I noticed that if a
TkHistoMap
object is constructed not using a valid pointer toTkDetMap
(which is fetched from the EventSetup), while technically compiling fine, at run time using methods such ascmssw/DQM/SiStripCommon/interface/TkHistoMap.h
Line 47 in 6d2f660
or
cmssw/DQM/SiStripCommon/interface/TkHistoMap.h
Line 48 in 6d2f660
results in a nasty segmentation fault and the user is left to scratch their heads as to why that happens.
In this PR I propose to throw at construction time if a valid pointer to
TkDetMap
is not provided.I also profit to delay the computation of
TkLayerMap::XYbin
only in the case in which the underlyingMonitorElement
is aTProfile2D
and not aTH2D
.Finally I add unit tests for the package
DQM/SiStripCommon
in commit 3db8336.PR validation:
Relies on the augmented unit tests
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:
N/A