Skip to content

Add official Run-3 correction support - #98

Open
jinwang137 wants to merge 1 commit into
LPC-HH:mainfrom
jinwang137:JEC_E_M_Tau_SF
Open

Add official Run-3 correction support#98
jinwang137 wants to merge 1 commit into
LPC-HH:mainfrom
jinwang137:JEC_E_M_Tau_SF

Conversation

@jinwang137

Copy link
Copy Markdown
Contributor

Summary

This PR updates the bbtautau skimmer and object flow to use the new Run-3 correction utilities consistently.

Main changes:

  • Apply nominal electron, muon, tau and jet corrections in the skimmer before object selection.
  • Save nominal lepton SF branches for MC.
  • Save lepton SF up/down branches only when save_systematics is enabled.
  • Keep kinematic systematic shifts as explicit TODOs for now: electron scale/smearing, muon scale/resolution, tau TES and AK4/AK8 JES/JER shifts are computed by the correction helpers but not yet propagated to selected objects, CA mass, MET or output branches.
  • Use temporary raw-object indices internally so that object selection and saved kinematics use corrected leptons, while SFs can be evaluated on the corresponding raw leptons.
  • Update the object utilities so VBF jets and AK4 jets away from AK8 jets can use the corrected electron/muon collections for lepton overlap cleaning.
  • For NanoAOD v15, use PFMET directly instead of the old CorrectedMETFactory, since the required unclustered-energy shift branches are not available in the v15 PFMET collection.

AK4 b-tagging SFs remain disabled, since the current bbtautau workflow does not use an AK4 b-tag working-point selection. Boosted FatJet tagger SFs are handled separately.

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.

1 participant