Hi there
I am trying to set the range of a fit in roofit. I have tried
string sel;
sel=“100.<mx&&mx<1000.”;
RooFitResult*fitting = pdf.fitTo(*data, Range(sel.c_str()));
However I get the error message:
Error: Function Range(sel.c_str()) is not defined in current scope
I get this same error if I try to setRange before. I am using root 5.16.8 rooFit V2.07.
Kate