Skip to content

Add HLT_DoubleMediumPFPuppiParTTauh30_eta2p1 path - #51705

Draft
agrubercms wants to merge 1 commit into
cms-sw:masterfrom
agrubercms:GloParT_clean_PR
Draft

Add HLT_DoubleMediumPFPuppiParTTauh30_eta2p1 path#51705
agrubercms wants to merge 1 commit into
cms-sw:masterfrom
agrubercms:GloParT_clean_PR

Conversation

@agrubercms

Copy link
Copy Markdown
Contributor

PR description:

This PR introduces a new Phase-2 tau HLT path (HLT_DoubleMediumPFPuppiParTTauh30_eta2p1) based on a ParticleTransformer model. The model (+documentation) can be found in this PR to the cms-data repository. It was developed to also be able to be used for b-tagging, but was not yet tested for this purpose - to illustrate this, the PR includes b- and c- discriminators, which are currently commented out. Most implementation choices were made to maintain compatibility with the existing tools used by the BTV group (most notably the hltupler framework to produce the training ntuples).
Development progress and measurements were presented regularly in Tau internal meetings, e.g. here and here.

The new model significantly outperforms the existing DeepTau model across all evaluated metrics - these are tau tagging efficiency, trigger rate and computational runtime.

PR validation:

The standard tests have been run:

  • scram b runtests use-ibeos
  • runTheMatrix.py -l limited -i all --ibeos

Model performance has been evaluated using the same sample composition as was used in the training, but with a different subgroup of the samples to ensure evaluation is done on events not used in the model training.

To test this PR, the PR to cms-data (mentioned above) containing the onnx model would need to be included.

@cmsbuild

cmsbuild commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

Copy link
Copy Markdown
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51705/50596

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild

Copy link
Copy Markdown
Contributor

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51705 was updated.

@cmsbuild

Copy link
Copy Markdown
Contributor

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51705 was updated.

@mmusich mmusich left a comment

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 the new path be added also to the timing menu?
Also can the UParT sequence be added to the NGT scouting path?

Comment thread HLTrigger/Configuration/python/HLT_75e33/modules/hltPFJetForBtag_cfi.py Outdated
Comment thread HLTrigger/Configuration/python/HLT_75e33_cff.py Outdated
Comment thread RecoBTag/FeatureTools/plugins/hltParticleTransformerAK4TagInfoProducer.cc Outdated
Comment thread RecoBTag/FeatureTools/plugins/hltParticleTransformerAK4TagInfoProducer.cc Outdated
Comment thread RecoBTag/FeatureTools/plugins/hltParticleTransformerAK4TagInfoProducer.cc Outdated
Comment thread RecoBTag/ONNXRuntime/plugins/hltParticleTransformerAK4ONNXJetTagsProducer.cc Outdated
@mmusich

mmusich commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

test parameters:

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51705/50643

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51705 was updated.

@mmusich

mmusich commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Failed Tests: RelVals
Size: This PR adds an extra 64KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d4510/55413/summary.html
COMMIT: e16e97b
CMSSW: CMSSW_20_1_X_2026-08-17-1100/el9_amd64_gcc14
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51705/55413/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d4510/55413/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d4510/55413/git-merge-result

HLT P2 Timing: chart
DAS Queries: The DAS query tests failed, see the summary page for details.

Failed RelVals

----- Begin Fatal Exception 18-Aug-2026 03:31:59 CEST-----------------------
An exception of category 'ScheduleExecutionFailure' occurred while
   [0] Calling beginJob
Exception Message:
Unrunnable schedule
Dependent module later on Path
  module 'hltParticleFlowRecHitHBHE' depends on 'hltHbhereco' which is later on path HLT_DoubleMediumPFPuppiParTTauh30_eta2p1
----- End Fatal Exception -------------------------------------------------

@cmsbuild

Copy link
Copy Markdown
Contributor

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51705 was updated.

@mmusich

mmusich commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Size: This PR adds an extra 24KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d4510/55462/summary.html
COMMIT: fa8a1b3
CMSSW: CMSSW_20_1_X_2026-08-18-2300/el9_amd64_gcc14
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51705/55462/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d4510/55462/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d4510/55462/git-merge-result

HLT P2 Timing: chart
DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially added 9 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 17 differences found in the comparisons
  • DQMHistoTests: Total files compared: 59
  • DQMHistoTests: Total histograms compared: 4089582
  • DQMHistoTests: Total failures: 2605
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4086959
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 58 files compared)
  • Checked 249 log files, 203 edm output root files, 59 DQM output files
  • TriggerResults: no differences found

NVIDIA_H100 Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 95 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8798
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 164941
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_L4 Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 102 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8897
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 164842
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_L40S Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 90 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8527
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165212
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_T4 Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 108 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 9554
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 164185
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

Max Memory Comparisons exceeding threshold NVIDIA_H100

@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 37634.7503_TTbar_14TeV+Run4D127_HLTHeterogeneousValid step2 max memory diff 227.1 exceeds +/- 30.0 MiB

@mmusich

mmusich commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

-1

Failure is unrelated.

@agrubercms just a couple of extra requests. Can you add your new path:

  • here:

hltPathsToCheck = cms.vstring(
'HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1',
'HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1'
),

and

  • here:

?

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