I’m trying to convert RooAbsData to a RooDataSet (in order to perform an unbinned fit) but I can’t find any simple way as the RooDataHist method to do that:
I misunderstood the nature of RooAbsData class. I mean, I got the output of a function which returning generated data sample as RooAbsData. Using the code you gave to me point out that the type of the output is in fact RooDataSet …