RooDataSet made by vectors

Good morning everyone,
Announcing that I’m new with RooFit, I have a question to make, can you fill a RooDataSet with two vectors of the type x [i] y [i] extracted from a TGraph? I need these exact data to carry out the fit later. Unfortunately I didn’t find anything on the forum, could anyone help me?
Thanks in advance
Attached, there is the TGraph with the data on which I would like to do the fit.

May be @moneta or @StephanH have an idea.

1 Like

Hello @AugustoDC,

check out this URL, where you can find all ROOT tutorials:

Specifically, look at

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.