Skip to content

Bosonic Recoil Corrections#110

Closed
akhter-towsifa wants to merge 414 commits into
cms-flaf:mainfrom
akhter-towsifa:recoil
Closed

Bosonic Recoil Corrections#110
akhter-towsifa wants to merge 414 commits into
cms-flaf:mainfrom
akhter-towsifa:recoil

Conversation

@akhter-towsifa

@akhter-towsifa akhter-towsifa commented May 6, 2026

Copy link
Copy Markdown
Contributor

Following the HLepRare recommendation, applying Bosonic Recoil Corrections

Adding version 5 of the CorrectionLib recoil files.

Related issue: https://github.com/cms-flaf/HH_bbtautau_planning/issues/81

Edit:
Konstantin said we don't need the GenPart_* objects, we can instead do the following:

  1. use LHEPart_* objects instead of GenPart_* objects in this recoil correction.
  2. use LHE_Vpt for ptll (or pt_ll)
  3. for njet, use number of reconstructed b jets and VBF jets. use appropriate pT cuts on reco b jets and VBF jets when using njet.

valeriadamante and others added 30 commits July 5, 2024 16:45
…mconfig

modified the 'tauID' key (from 'tau'->'tauID')

Former-commit-id: 98ae773
Former-commit-id: 8de8c20
- highPT ID for muons
- loose deepTau WP


Former-commit-id: d19d117
Former-commit-id: 28492a2
removed all the parts containing:

Former-commit-id: 34947fc
fixed muon sf definition

Former-commit-id: 4e83344
Former-commit-id: 66339d4
Former-commit-id: b454679
fixed muon weights bug + electron weights

Former-commit-id: cb59086
Former-commit-id: bf39338
Former-commit-id: c80ab94
@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

  • HH_bbtautau_version=PR_61

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14928063 started

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14928063 failed

@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

  • HH_bbtautau_version=PR_61

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14928348 started

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14928348 passed

@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

Hi @kandrosov , this PR is ready for review

Comment thread bosonicRecoil.h Outdated
return p4;
}

static LorentzVectorM GetLHEBosonVisP4(const RVecF& pt,

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.

What do you mean by visible p4 of LHE boson? It can't be computed based on LHE information.

Comment thread bosonicRecoil.h Outdated
return apdg == 11 || apdg == 13 || apdg == 15;
}

static bool PassLHEBosonParticleSelection(const int pdgId,

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.

Why do you work with LHE Particles? I don't see where it is required as an input for corrections.

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.

@kandrosov you said to switch from GenPart_* to LHEPart_* objects.
Our anaTuples in bbtautau do not save GenPart_* objects at the moment. But you said LHEPart_* objects are sufficient and asked me to switch to them.

aebid and others added 3 commits June 4, 2026 10:56
* Add a sample_type arg from the processes yaml

* Add DY bbww corr

* Remove dumb printout

* Undo Vpt changes, update DY corrs to be handled through processes list

* Only run corr if it is approved process

* Formatting

* Remove dead bool

* Formatting and remove valid check

* Fix DY bbww bug, clean header
@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

  • HH_bbtautau_version=PR_61

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14978977 started

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14978977 failed

aebid and others added 2 commits June 9, 2026 08:18
* updated scare files

* updated JEC tag for 2023

* python formatting

* fixed JERC inputs with new files

* python formatting

* modified ScaRe also for legs

* apply FSR later

* fixed FSR application + inclusion of ScaRe application for nano pT

* added possibility of choosing VXBS file or nano file

* bug fix for muonScaRe + FSR computation

* updated JEC tag for 2025

* apply L2L3Res only for data

* fix JERC+JES application

* debug 1

* debug 2

* fix for 2025 absence of mu corr

* comments applied

* applied comments

* Fix jet.h crash and re-add GetResolutions

* Move fatbjet naming to be under weight_ collection

* Update to use FatJet corrections instead of Ak4 again

* Add fat unc map

* Add a selection arg to mu scare, avoiding crazy numbers from non-ID muons

* Major rework of jet corrs

* Add muscare id selection get

* Python formatting

* Update fatbjet naming again, make DY branches configurable from global

* Fix jet corr for data, update teh mu scare for legs to use pt as selection

* Remove the tag arg since it isn't consisten, re-add latest folder due to 24 and 25 not being updated

* New 24 and 25 keys

* Copilot comments

* Rework MET to be computed on deltas, not on nano-shift

* Update jet corrs to use frozen version, configured in correctionscorr

* Removal of getP4VaraitionsForLegs

---------

Co-authored-by: Valeria D'Amante <vdamante@cern.ch>
@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

  • HH_bbtautau_version=PR_61

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14984820 started

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14984820 failed

@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

  • HH_bbtautau_version=PR_61

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14985885 started

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14985885 passed

@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot test please

  • HH_bbtautau_version=PR_61

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#14989838 started

@akhter-towsifa

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

  • HH_bbtautau_version=PR_61

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.