Skip to content

Run Scouting DQM in RelVals (+ change in JME scouting DQM sequence)#49350

Closed
silviodonato wants to merge 0 commit intocms-sw:masterfrom
silviodonato:ScoutingDQMRelVals2
Closed

Run Scouting DQM in RelVals (+ change in JME scouting DQM sequence)#49350
silviodonato wants to merge 0 commit intocms-sw:masterfrom
silviodonato:ScoutingDQMRelVals2

Conversation

@silviodonato
Copy link
Copy Markdown
Contributor

PR description:

DQM Offline for Scouting was added by #47235.
It was activated in PromptReco at T0 only for ScoutingPFMonitor dataset by dmwm/T0#5053, specifically by adding @hltScouting to dqm_sequences in ProdOfflineConfiguration.py.
As discussed at the trigger review, it would be useful to have these DQM plots also in RelVals -- and also in AlCaVal -- to monitor the performance of HLT/Scouting objects.

Note: Currently Scouting DQM requires scouting object to run (otherwise it will crash). This PR changes the JME scouting DQM (jetMETDQMOfflineSourceScouting) to use Task. In this way the crashing module (ak4PFScoutingL1FastjetCorrector) will run only when requested by the JME scouting module (jetDQMAnalyzerSequenceScouting), ie. when scouting objects exists.

This PR simply adds scouting DQM to the trigger DQM sequence.

PR validation:

I'm having some problems with the validation (#49331). I would like to check that all corner cases are covered (in particular I suspect that a re-reco of a non-scouting dataset might have problems)

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

To be defined

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Nov 10, 2025

cms-bot internal usage

@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49350/46733

@cmsbuild
Copy link
Copy Markdown
Contributor

A new Pull Request was created by @silviodonato for master.

It involves the following packages:

  • DQMOffline/Configuration (dqm)
  • DQMOffline/JetMET (dqm)

@cmsbuild, @ctarricone, @gabrielmscampos, @nothingface0, @rseidita can you please review it and eventually sign? Thanks.
@ahinzmann, @gkasieczka, @jdamgov, @jdolen, @mariadalfonso, @mmarionncern, @nhanvtran, @rappoccio, @rociovilar, @schoef, @seemasharmafnal, @threus this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@silviodonato
Copy link
Copy Markdown
Contributor Author

please test

@silviodonato
Copy link
Copy Markdown
Contributor Author

FYI @patinkaew @etzovara @cms-sw/hlt-l2 with the fix in the JME DQM scouting sequence we might not need anymore of the customization function #49084 . Using Task, the crashing module does not run in events without scouting objects

@cmsbuild
Copy link
Copy Markdown
Contributor

-1

Failed Tests: RelVals-INPUT
Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5bfea7/49369/summary.html
COMMIT: cdf92b9
CMSSW: CMSSW_16_0_X_2025-11-09-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49350/49369/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed RelVals-INPUT

  • 138.5138.5_ExpressCollisions2021/step2_ExpressCollisions2021.log
  • 1003.01003.0_RunMinBias2012A/step2_RunMinBias2012A.log
  • 1040.01040.0_RunZeroBias2017F/step2_RunZeroBias2017F.log
Expand to see more relval errors ...

@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49350/46737

@cmsbuild
Copy link
Copy Markdown
Contributor

Pull request #49350 was updated. @cmsbuild, @ctarricone, @gabrielmscampos, @nothingface0, @rseidita can you please check and sign again.

DQMOfflineTriggerWithScouting = cms.Sequence( triggerOfflineDQMSource + hltScoutingDqmOffline )
from Configuration.Eras.Modifier_run3_common_cff import run3_common
## replace DQMOfflineTrigger with DQMOfflineTriggerWithScouting since Run-3
run3_common.toReplaceWith( DQMOfflineTrigger, DQMOfflineTriggerWithScouting )
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

does this bring in the change also for phase2?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK, so please let's not do it :)

jetDQMAnalyzerSequenceScouting)
# We must keep correctors in Task to skip their execution when in events without scouting objects
jetMETDQMOfflineSourceScouting = cms.Sequence(jetDQMAnalyzerSequenceScouting,
jetPreDQMTaskScouting,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you please indent it here better?

@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49350/46747

@cmsbuild
Copy link
Copy Markdown
Contributor

Pull request #49350 was updated. @Martin-Grunewald, @cmsbuild, @ctarricone, @gabrielmscampos, @mmusich, @nothingface0, @rseidita can you please check and sign again.

@silviodonato
Copy link
Copy Markdown
Contributor Author

Moved to #49358

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.

3 participants