Fitting histogram with correlated systematic uncertainties

Hi,
We don’t have at the moment examples of fitting data where the points have correlated errors.
You need in this case to write yourself the Chi-square function using the correlation matrix.
We have however some example on fitting a user provided method, like this one fitting a 3D line to 3D points (ROOT: tutorials/fit/line3Dfit.C File Reference).

Best regards

Lorenzo