Skip to content

Btag v2#97

Merged
kandrosov merged 15 commits intocms-flaf:mainfrom
abolshov:btag_v2
Feb 25, 2026
Merged

Btag v2#97
kandrosov merged 15 commits intocms-flaf:mainfrom
abolshov:btag_v2

Conversation

@abolshov
Copy link
Contributor

No description provided.

return self.trg_

@property
def btag_norm(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
def btag_norm(self):
def btag_shapeNorm(self):

to avoid possible confusions with WP-based btag SFs that directly correct "normalization" instead of the btag discriminator shape.

self._InitCppMap(unc_src_scale)

df = df.Redefine(
"weight_bTagShape_Central",
Copy link
Contributor

Choose a reason for hiding this comment

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

You should correct all btag-related up/down uncertainties, not only the central one

@abolshov abolshov requested a review from kandrosov February 24, 2026 19:07
Copy link
Contributor

@kandrosov kandrosov left a comment

Choose a reason for hiding this comment

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

tested with cms-flaf/FLAF#218

applier,
["weight_bTagShape_Central", "btag_shape_norm_key_Central"],
)

Copy link
Contributor

Choose a reason for hiding this comment

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

We expect _rel branches to be relative, you need to divide them by central once central is redefined

@abolshov abolshov requested a review from kandrosov February 25, 2026 14:56
@kandrosov kandrosov merged commit ef30f19 into cms-flaf:main Feb 25, 2026
3 checks passed
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.

2 participants