I was able to build a TGraphAsymmErrors from a TH1* hist with no problem. However, ultimately I need to pass the TH1 to a RooDataHist, which I will then fit with a RooAddPdf.
I don’t see anything in the RooDataHist source code which gives me any idea how to do this. I only see the option to pass a TH1* object, not a TGraphAsymmErrors.
I might be able to help here, but I am slightly confused by what you want.
Do you want to construct a RooDataHist from a TGraphAsymErrors,
or do you want to do the reverse? The latter is already possible, the
former is not, but is fairly easy to add for me.