Commit 523c258
authored
[RF] Add flag to globally enable or disable all RooBinWidthFunctions
With the (very useful) introduction of the RooBinWidthFunction, the bin
width correction moved from the "coefficient" branch of the
RooRealSumPdf to the "function" branch of the RooRealSumPdf in
HistFactory. This can cause some distress for users who meddle with
histfactory models by hand, because bin correction can now appear at
places that are different from what they were originally.
This commit adds a flag to globally disable all bin width corrections of
RooBinWidthFunction, allowing the user to switch an entire model from
density-mode to eventcount-mode.1 parent 9cee6b1 commit 523c258
File tree
2 files changed
+34
-5
lines changed- roofit/roofitcore
- inc
- src
2 files changed
+34
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
32 | 48 | | |
33 | 49 | | |
34 | 50 | | |
35 | 51 | | |
36 | 52 | | |
| 53 | + | |
37 | 54 | | |
38 | 55 | | |
39 | 56 | | |
| |||
51 | 68 | | |
52 | 69 | | |
53 | 70 | | |
54 | | - | |
| 71 | + | |
55 | 72 | | |
56 | | - | |
| 73 | + | |
57 | 74 | | |
58 | 75 | | |
59 | | - | |
60 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
61 | 84 | | |
62 | 85 | | |
63 | 86 | | |
0 commit comments