-
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
Drop type specs for DQMOffline/Trigger #36783
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27923
|
A new Pull Request was created by @NiharSaha (Nihar Ranjan Saha) 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 |
PFHT1050_Mjjmonitoring = hltMjjmonitoring.clone( | ||
FolderName = 'HLT/B2G/PFHT1050', | ||
#numGenericTriggerEventPSet.hltPaths == ["HLT_PFHT1050_v*"], | ||
jets = "ak8PFJetsPuppi", | ||
jetSelection = "pt > 200 && eta < 2.4" | ||
) | ||
PFHT1050_Mjjmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFHT1050_v*") |
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.
PFHT1050_Mjjmonitoring = hltMjjmonitoring.clone( | |
FolderName = 'HLT/B2G/PFHT1050', | |
#numGenericTriggerEventPSet.hltPaths == ["HLT_PFHT1050_v*"], | |
jets = "ak8PFJetsPuppi", | |
jetSelection = "pt > 200 && eta < 2.4" | |
) | |
PFHT1050_Mjjmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFHT1050_v*") | |
PFHT1050_Mjjmonitoring = hltMjjmonitoring.clone( | |
FolderName = 'HLT/B2G/PFHT1050', | |
jets = "ak8PFJetsPuppi", | |
jetSelection = "pt > 200 && eta < 2.4", | |
numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFHT1050_v*"]) | |
) |
This should work, too (but I haven't tested it). If not, one should at least be able to do
PFHT1050_Mjjmonitoring.numGenericTriggerEventPSet.hltPaths = ["HLT_PFHT1050_v*"]
This comment applies to various other places in this PR, but it is optional (obviously, the review is up to DQM experts).
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.
Thanks @missirol indeed the dict solution is the recommended one I believe
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.
Okay. Actually, dict was not effective in some previous PRs, and that's why I didn't consider it in this PR. Will consider in this PR. Thank you for the suggestions.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27925
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27926
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27929
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28639
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28641
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28652
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28656
|
Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
PR description:
Drop type specs in DQMOffline/Trigger python configuration files.
Central DQM migration campaign for drop type spces following
https://cms-sw.github.io/cms_coding_rules.html#6--packaging-rules-1
and update the safer syntax for existing parameters like: (1) drop type specifications where the original parameter exists. (2) using "clone" instead of "deepcopy" (3) move all parameters inside the clone
PR validation:
Tested in CMSSW_12_3_X via runTheMatrix.py -l limited -i all --ibeos