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

[Puppi] Hadronic tau recovery with protection for fromPV==2 charged particles #44050

Merged

Conversation

nurfikri89
Copy link
Contributor

PR description:

(Making this PR on behalf of @abenecke)

It was spotted by the ParticleNet team that the efficiency to identify hadronic tau candidates for PUPPI jets at low pT is significantly lower than for CHS jets (https://indico.cern.ch/event/1300663/#2-particlenet-ak4-ak8-tagger-r). The main reason for this is that PUPPI treats particles with fromPV1&2 different than CHS. It was found that PUPPI rejects one prong hadronic taus that most of the time has fromPV==2 and pT < 20 GeV (pT > 20 GeV are protected by PUPPI already). This PR is supposed to recover the loss of hadronic tau candidates by keeping charged particles with pT > 4 GeV and fromPV==2 while maintaining the jet energy resolution, eff and purity for jets. A comparison of different options was done in this presentation: https://indico.cern.ch/event/1364503/#5-puppi-tau-tune

PR validation:

passes the usual runTheMatrix test: runTheMatrix.py -l limited -i all --ibeos

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 backported to 14_0_X

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 21, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44050/38988

  • This PR adds an extra 20KB to repository

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44050/38990

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • CommonTools/PileupAlgos (reconstruction)

@cmsbuild, @jfernan2, @mandrenguyen can you please review it and eventually sign? Thanks.
@rappoccio, @hatakeyamak, @missirol, @ahinzmann, @gkasieczka, @jdolen this is something you requested to watch as well.
@rappoccio, @sextonkennedy, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

@hqucms
Copy link
Contributor

hqucms commented Feb 23, 2024

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f9c0ec/37637/summary.html
COMMIT: dd92bc9
CMSSW: CMSSW_14_1_X_2024-02-22-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44050/37637/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@vlimant
Copy link
Contributor

vlimant commented Feb 27, 2024

assign xpog

@cmsbuild
Copy link
Contributor

New categories assigned: xpog

@vlimant,@hqucms you have been requested to review this Pull request/Issue and eventually sign? Thanks

@mandrenguyen
Copy link
Contributor

Based on the PR description, I understand why changes are observed for Puppi jets, but were you expecting changes to the vanilla slimmedJets (presumably CHS?), e.g:
here

@nurfikri89
Copy link
Contributor Author

@mandrenguyen the plot says its slimmedJetsAK8 so its the AK8 Puppi jets, which we expect some changes.

@hqucms
Copy link
Contributor

hqucms commented Mar 1, 2024

@nurfikri89 Has it been checked what are impacts of this change on the existing AK4 and AK8 jet taggers?

@nurfikri89
Copy link
Contributor Author

nurfikri89 commented Mar 2, 2024

@hqucms this is in the process by @abenecke

@vlimant
Copy link
Contributor

vlimant commented Mar 27, 2024

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

please test

  • need to refresh tests.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f9c0ec/38469/summary.html
COMMIT: dd92bc9
CMSSW: CMSSW_14_1_X_2024-03-27-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44050/38469/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@antoniovilela
Copy link
Contributor

@nurfikri89 Has it been checked what are impacts of this change on the existing AK4 and AK8 jet taggers?

@nurfikri89
You mentioned this was being checked. Could you summarize the conclusions?
Thanks.

@rappoccio
Copy link
Contributor

+reconstruction Only puppi jets are affected, although I found a bit confusing that slimmedJetsAK8 is done with PUPPI, but slimmedJets (i.e., R=0.4) are not. I wonder if we shouldn't always just state the UE subtraction algo for clarity, e.g., slimmedJetsCHS. At least if we're planning to continue to support two algos.

This was a historical accident.

@rappoccio rappoccio closed this Mar 28, 2024
@rappoccio rappoccio reopened this Mar 28, 2024
@rappoccio
Copy link
Contributor

Apologies, I accidentally clicked the wrong button.

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 1b3f760 into cms-sw:master Apr 1, 2024
11 checks passed
@mandrenguyen
Copy link
Contributor

type tau, jetmet

cmsbuild added a commit that referenced this pull request Apr 3, 2024
…pre0_puppi_tauTune_fromPV2Recovery

[Puppi] Backport of #44050 (Hadronic tau recovery with protection for fromPV==2 charged particles) to 14_0_X
@nurfikri89 nurfikri89 deleted the from1410pre0_puppi_tauTune_fromPV2Recovery branch June 17, 2024 21:04
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.

7 participants