-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Keep staterror from affecting multiple samples (#1965)
* Fix staterror bug introduced after v0.6.3 where staterror erroneously affected multiple samples. - Amends PR #1639 which introduced regression. - c.f. Issue #1720 * Remove staterror_combined.__staterror_uncrt as it is unused by the codebase. * Add test to verify that staterror does not affect more samples than shapesys equivalently. Co-authored-by: Giordon Stark <kratsg@gmail.com>
- Loading branch information
1 parent
d4e1fc2
commit afbc4f3
Showing
4 changed files
with
112 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"channels": [ | ||
{ | ||
"name": "channel", | ||
"samples": [ | ||
{ | ||
"data": [ | ||
5 | ||
], | ||
"modifiers": [], | ||
"name": "signal" | ||
}, | ||
{ | ||
"data": [ | ||
1 | ||
], | ||
"modifiers": [ | ||
{ | ||
"data": [ | ||
1.5 | ||
], | ||
"name": "NP", | ||
"type": "shapesys" | ||
} | ||
], | ||
"name": "bkg" | ||
} | ||
] | ||
} | ||
], | ||
"measurements": [ | ||
{ | ||
"config": { | ||
"parameters": [], | ||
"poi": "NP" | ||
}, | ||
"name": "" | ||
} | ||
], | ||
"observations": [ | ||
{ | ||
"data": [ | ||
0 | ||
], | ||
"name": "channel" | ||
} | ||
], | ||
"version": "1.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters