Skip to content

Simplify Phase 2 HLT workflows#257

Open
VourMa wants to merge 2 commits into
masterfrom
tidyPhase2HLTWfs
Open

Simplify Phase 2 HLT workflows#257
VourMa wants to merge 2 commits into
masterfrom
tidyPhase2HLTWfs

Conversation

@VourMa

@VourMa VourMa commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Not too relevant for our tracking work but something that @slava77 had asked in passing:

  • Simplification of the Phase 2 HLT workflows with replacements instead of redefinitions
  • Usage of @ syntax

@slava77 let me know if you want to check it and/or if you see more room for improvement, otherwise I will submit it to CMSSW over the weekend.

Comment on lines +2083 to +2085
upgradeWFs['L1NGTScoutingWithNano'].step2['--datatier'] = 'GEN-SIM-DIGI-RAW,NANOAODSIM'
upgradeWFs['L1NGTScoutingWithNano'].step2['--procModifiers'] = 'ngtScouting,nano_l1_hlt'
upgradeWFs['L1NGTScoutingWithNano'].step2['--eventcontent'] = 'FEVTDEBUGHLT,NANOAODSIM'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[for the full PR: I like the changes; Thank you.]

Here and in a few more cases, should these be more like this:

Suggested change
upgradeWFs['L1NGTScoutingWithNano'].step2['--datatier'] = 'GEN-SIM-DIGI-RAW,NANOAODSIM'
upgradeWFs['L1NGTScoutingWithNano'].step2['--procModifiers'] = 'ngtScouting,nano_l1_hlt'
upgradeWFs['L1NGTScoutingWithNano'].step2['--eventcontent'] = 'FEVTDEBUGHLT,NANOAODSIM'
upgradeWFs['L1NGTScoutingWithNano'].step2['--datatier'] += ',GEN-SIM-DIGI-RAW'
upgradeWFs['L1NGTScoutingWithNano'].step2['--procModifiers'] += ',nano_l1_hlt'
upgradeWFs['L1NGTScoutingWithNano'].step2['--eventcontent'] += ',FEVTDEBUGHLT'

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, that's a further simplification. I applied this here and in a couple more cases. If it looks good, I can push it to the central cms-sw repo.

@VourMa VourMa force-pushed the tidyPhase2HLTWfs branch from 69cf9e5 to add5209 Compare June 6, 2026 19:03

@slava77 slava77 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks fine to me.
I don't think our CI can test anything here, so let's go upstream

@VourMa VourMa force-pushed the tidyPhase2HLTWfs branch from add5209 to e9e84b9 Compare June 10, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants