Compute uncertainty of integral of a component of a TF1

Run both macros from the first link using “fit_with_fixed_background” = “use_partial_covariance” = “kFALSE”. Then set both variables to “kTRUE” and run both macros again. Compare the obtained results.

See also: Wikipedia → Covariance matrix → Partial covariance matrix