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
HLTTauDQM: ignoring modules starting with '-' (modules inside cms.ign… #36560
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36560/27504
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36560/27505
|
A new Pull Request was created by @slehti for master. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti 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-f1fc82/21415/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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@@ -54,6 +54,8 @@ namespace { | |||
continue; | |||
if (type == "HLTTriggerTypeFilter" || type == "HLTBool") | |||
continue; | |||
if (iLabel->find('-') == 0) // ignore |
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.
Aren't there modules with a "-" somewhere in the name? Wouldn't it be safer to check that they just don't start with a "-"?
(perhaps @cms-sw/hlt-l2 could remind me if a "-" in the name is just forbidden for hlt modules, in which case the proposed syntax is ok)
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.
Hi @perrotta
Wouldn't it be safer to check that they just don't start with a "-"?
I think that's what this check is doing: it checks if character -
is at position 0
using find
, and if so it skips the word.
Aren't there modules with a "-" somewhere in the name?
If you mean a -
somewhere in the middle of the module name/label, as far as I know that's not possible for any module, not just HLT (that works for _
, of course, but not for other special characters like -
).
+1 |
New DeepTau paths contain modules inside cms.ignore(). This caused problems with the offline object matching, HLTTauDQM stopped when not finding offline muons for di-tau path (inside ignore there are all L1 seeds including mu+tau seed, therefore the code is looking for muons, too).
Fix: ignore all modules inside cms.ignore(): i.e. modules starting with a '-'.
Files changed: DQMOffline/Trigger/src/HLTTauDQMPath.cc