I am working on a project that involves pulling toy data from a multivariate gaussian and am having some trouble getting the RooMultiVarGaussian object to work, I currently have this:
RooMultiVarGaussian mvg("mvg", "mvg", fit, mu, cov);
RooDataSet* data = mvg.generate(fit,1000);
And I get an error: error:no matching constructor for initialization of ‘RooMultiVarGaussian’
For reference, fit is a RooArgList and so is mu each with 26 elements, and cov is a TMatrixD object (in the class reference it says that it should be TMatrixDSym but I’m not sure how to convert or if that is even the issue.