You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected that staterror modifiers with the same name, across different channels, would be treated as correlated. Instead, the second staterror modifier parameters get appended to the first lot.
This isn't what I expected to happen. Not sure if it is a bug or not.
OS / Environment
NAME="Fedora Linux"VERSION="40 (Forty)"ID=fedoraVERSION_ID=40VERSION_CODENAME=""PLATFORM_ID="platform:f40"PRETTY_NAME="Fedora Linux 40 (Forty)"ANSI_COLOR="0;38;2;60;110;180"LOGO=fedora-logo-iconCPE_NAME="cpe:/o:fedoraproject:fedora:40"DEFAULT_HOSTNAME="fedora"HOME_URL="https://fedoraproject.org/"DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"SUPPORT_URL="https://ask.fedoraproject.org/"BUG_REPORT_URL="https://bugzilla.redhat.com/"REDHAT_BUGZILLA_PRODUCT="Fedora"REDHAT_BUGZILLA_PRODUCT_VERSION=40REDHAT_SUPPORT_PRODUCT="Fedora"REDHAT_SUPPORT_PRODUCT_VERSION=40SUPPORT_END=2025-05-13
I think the fact that staterror modifiers cannot be correlated across channels is probably on purpose (I don't think they can in ROOT HistFactory either?) but the behavior here is counterintuitive. Instead of having the bin number range in the parameter names cover 0–3 (for the four total bins) I would expect that this is an invalid model and would raise an error (which could point out that correlation is not supported). Then the modifier names would have to be different by channel.
Summary
I expected that staterror modifiers with the same name, across different channels, would be treated as correlated. Instead, the second staterror modifier parameters get appended to the first lot.
This isn't what I expected to happen. Not sure if it is a bug or not.
OS / Environment
Steps to Reproduce
bug.json
Reproducer
Output:
File Upload (optional)
No response
Expected Results
I expected to have 2 k_staterror parameters (one for each bin) that were correlated across the two channels
Actual Results
['lumi', 'k_staterror[0]', 'k_staterror[1]', 'k_staterror[2]', 'k_staterror[3]']
The second k_staterror gets appended to the first, giving 4 k_staterror parameters in total.
Code of Conduct
The text was updated successfully, but these errors were encountered: