Skip to content
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

Closed
wants to merge 81 commits into from

Conversation

NiharSaha
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27923

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @NiharSaha (Nihar Ranjan Saha) for master.

It involves the following packages:

  • DQMOffline/Trigger (dqm)

@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks.
@sscruz, @missirol, @mtosi, @Fedespring, @calderona, @HuguesBrun, @jhgoh, @trocino, @cericeci, @rociovilar this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

Comment on lines 22 to 28
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*")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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).

Copy link
Contributor

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

Copy link
Contributor Author

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.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27925

@cmsbuild
Copy link
Contributor

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27926

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/27929

  • This PR adds an extra 164KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 2, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28639

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 2, 2022

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 2, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28641

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 2, 2022

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28652

  • This PR adds an extra 380KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2022

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36783/28656

  • This PR adds an extra 372KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2022

Pull request #36783 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants