Skip to content

Fix TauSpinnerTable producer #47

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

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Fix TauSpinnerTable producer #47

merged 1 commit into from
Oct 23, 2024

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented Oct 22, 2024

This PR fixes TauSpinnerTableProducer against issue caused by samples with HTT only in some events.

The nanoAOD production crashed in such samples as the producer produced non-empty tables for events with HTT while empty for other events which lead to inconsistent output across different events. The fix consists of producing tables with default weights for events without HTT ensuring consistency, but for price of producing not needed numbers. To be noted that similar strategy is employed in case of HTXS tables.

@kandrosov kandrosov merged commit b6b8da6 into main Oct 23, 2024
@mbluj
Copy link
Contributor Author

mbluj commented Nov 12, 2024

For records, a counterpart PR to the official CMSSW: cms-sw/cmssw#46679

@mbluj mbluj deleted the tauSpinnerFix_14_0 branch November 12, 2024 13:52
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