Repository navigation
Commit 121fbac
authored
BaseCluster: initialise errors to 0 by default (#15988)
* CheckResid: initialise sigmaYZ of the PV pseudo-cluster
o2::BaseCluster default constructor leaves mSigmaYZ uninitialised, so with
addPVAsCluster the PV cluster entered the refit with a garbage YZ covariance
term, making the residuals non-reproducible between identical runs.
* BaseCluster: initialise errors to 0 by default
Following review: rather than setting sigmaYZ explicitly in CheckResid,
zero-initialise mSigmaY2/mSigmaZ2/mSigmaYZ in BaseCluster so that
default-constructed clusters (e.g. the PV pseudo-cluster in CheckResid)
never carry uninitialised error terms.1 parent 8cc0b98 commit 121fbac
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments