-
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
stop using bare ROOT objects in HLTDQMHist*
classes
#40760
Conversation
// for the different plugins. | ||
descriptions.addDefault(desc); | ||
{}); | ||
descriptions.addWithDefaultLabel(desc); |
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.
This change is unrelated to the main goal of this PR. It correctly creates the following cfi
files (one per template instantiation):
"${CMSSW_BASE}"/cfipython/"${SCRAM_ARCH}"/DQMOffline/Trigger/hltElePhoTagAndProbeOfflineSource_cfi.py
"${CMSSW_BASE}"/cfipython/"${SCRAM_ARCH}"/DQMOffline/Trigger/hltEleTagAndProbeOfflineSource_cfi.py
"${CMSSW_BASE}"/cfipython/"${SCRAM_ARCH}"/DQMOffline/Trigger/hltMuEleTagAndProbeOfflineSource_cfi.py
"${CMSSW_BASE}"/cfipython/"${SCRAM_ARCH}"/DQMOffline/Trigger/hltMuPhoTagAndProbeOfflineSource_cfi.py
"${CMSSW_BASE}"/cfipython/"${SCRAM_ARCH}"/DQMOffline/Trigger/hltMuTagAndProbeOfflineSource_cfi.py
"${CMSSW_BASE}"/cfipython/"${SCRAM_ARCH}"/DQMOffline/Trigger/hltPhoTagAndProbeOfflineSource_cfi.py
@@ -51,16 +38,10 @@ template <typename TagType, typename TagCollType, typename ProbeType, typename P | |||
void HLTTagAndProbeOfflineSource<TagType, TagCollType, ProbeType, ProbeCollType>::fillDescriptions( | |||
edm::ConfigurationDescriptions& descriptions) { | |||
edm::ParameterSetDescription desc; | |||
desc.add<edm::InputTag>("objs", edm::InputTag("")); |
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.
This does not seem to be used, so it is removed.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40760/34178
|
A new Pull Request was created by @missirol (Marino Missiroli) for master. It involves the following packages:
@emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4dca3f/30620/summary.html Comparison SummarySummary:
|
As expected, I don't see differences in the DQM outputs related to this PR. (I updated the PR description to clarify this). |
thanks Marino, I wasnt aware of the original comment. Much appreciated for you taking care of it. |
type bugfix @cms-sw/dqm-l2 , could you please review this PR? |
+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:
This PR tries to implement the suggestion in #40676 (comment), to avoid accessing bare ROOT objects (via
MonitorElement
) in theHLTDQMHist*D
classes of the HLT offline DQM.Minor cleanup is also applied to
HLTTagAndProbeOfflineSource<..>::fillDescriptions
.Merely technical. No changes expected.
FYI: @Sam-Harper
PR validation:
runTheMatrix.py -l 11634.0
passed.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:
To be backported to
down toCMSSW_13_0_X
if mergedCMSSW_12_4_X
.