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
update of HLTriggerJSONMonitoring
for DatasetPath
s
#38418
update of HLTriggerJSONMonitoring
for DatasetPath
s
#38418
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38418/30621
|
A new Pull Request was created by @missirol (Marino Missiroli) for master. It involves the following packages:
@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
👍 On top of these changes, I would suggest to drop the dataset paths from the list of paths in the output. By the way ... it's clearly late for 2022, but maybe for next year we could rename the "stream paths" to Stream_Name, following the same convention ? |
Okay, will do (I was wondering if it would have been better to keep the plugin agnostic to this, and ask OMS to omit
Sounds good to me (iiuc, these are the current FinalPaths named |
12404f2
to
ce58d1b
Compare
ce58d1b
to
37d333b
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38418/30625
|
Pull request #38418 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3737bc/25616/summary.html Comparison SummarySummary:
|
37d333b
to
7e1c50f
Compare
Realised that some comments inside the plugin needed to be updated. Took the opportunity to improve a bit the unit test, basically copying from testLogMonitorFilter by Chris Jones. I think the PR is now ready on my side. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38418/30630
|
Pull request #38418 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3737bc/25621/summary.html Comparison SummarySummary:
|
I tested the PR with a real HLT menu, and, as far as I can tell, the Unless anybody has further comments, I'll sign the PR tomorrow (and open the backports). |
+hlt |
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) |
+1 |
PR description:
This PR is an attempt to update the plugin
HLTriggerJSONMonitoring
to take into account the existence of the so-calledDatasetPath
s in Run-3 HLT menus.Context :
DatasetPath
is HLT jargon for what is a normalcms.Path
that selects events based on the results of othercms.Path
s (which, most commonly, correspond to physics triggers).In the Run-3 HLT menus,
DatasetPath
s effectively provide the definition of Primary Datasets. ADatasetPath
can have its own prescales (PD-level prescales), as well as "smart"-prescales for its triggers (where a "smart-prescale" is a prescale that applies to a given trigger-path only for a specific PD, and not for others; smart-prescales inDatasetPath
s are applied via aTriggerResultsFilter
module).HLTriggerJSONMonitoring
currently does not know aboutDatasetPath
s, and reports as PD counts the counts of the OR of the relevant triggers. This means that PD-level prescales and smart-prescales are ignored in the counts reported for each PD by this plugin. As a consequence, this can lead to OMS reporting inaccurate PD rates.Implementation :
If a
DatasetPath
(e.g.Dataset_X
) exists in the configuration,HLTriggerJSONMonitoring
now assigns only the PathDataset_X
to PDX
, and does not include theDatasetPath
in the standard list of trigger paths (see #38418 (comment)). Otherwise, the current behaviour applies (which I think relies on the PSetdatasets
).Comments :
This update is meant to be backward-compatible (no changes if used with older menus, improved outputs for current menus).
This (or a similar update) will need to be backported to
12_4_X
, and possibly12_3_X
.In addition
fillDescriptions
is changed to use@currentProcess
instead ofHLT
as process name;HLTriggerJSONMonitoring
is added intest/
(the unit test is a mock-up HLT menu, and maybe it could be simplified further; right now, it tests more than justHLTriggerJSONMonitoring
).Tagging @fwyzard and @Sam-Harper , so they can review.
PR validation:
The outputs of the new unit test are as expected.
If this PR is a backport, please specify the original PR and why you need to backport that PR:
N/A