Commit a3c4cd6
Don't hide categories when creating the RooMinimizer
Indeed, the RooMinimizer can't deal with floating category variables.
But instead of hiding the categories when creating the RooMinimizer, one
can also set them to constant and the minimizer will not complain too.
This solution is less hacky than hooking into `getParameters()` of the
CachingSimNLL.
This was originally introduced by @gpetrucc in
#574
Quoting from that PR:
```
For the dirty flag propagation to the NLL when the categories are
changed, and option to avoid reporting the categories in getParameters()
to avoid complaints from RooMinimizer
```
So indeed, hiding the categories was supposed to address these warnings,
which are also gone when the categories are just set to constant.1 parent 8bca53e commit a3c4cd6
3 files changed
+22
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | | - | |
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
842 | 841 | | |
843 | 842 | | |
844 | 843 | | |
| |||
1240 | 1239 | | |
1241 | 1240 | | |
1242 | 1241 | | |
1243 | | - | |
| 1242 | + | |
1244 | 1243 | | |
1245 | 1244 | | |
1246 | | - | |
| 1245 | + | |
1247 | 1246 | | |
1248 | 1247 | | |
1249 | 1248 | | |
| |||
1255 | 1254 | | |
1256 | 1255 | | |
1257 | 1256 | | |
1258 | | - | |
| 1257 | + | |
1259 | 1258 | | |
1260 | 1259 | | |
1261 | | - | |
| 1260 | + | |
1262 | 1261 | | |
1263 | 1262 | | |
1264 | 1263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
61 | 74 | | |
62 | 75 | | |
63 | 76 | | |
| |||
0 commit comments