I am having troubles accessing RooFitResults methods.
a_nevt = RooRealVar ("a","a",6000,0,10000)
b_nevt = RooRealVar ("b","b",2000,0,10000)
result = modelPdf.fitTo(data)
on the other hand if I change to
Of course I have tried also by spellin the name explcitely (correleation(’‘a’,‘b’))
how can help the system find the right binding ?
I did not realize I am trying to access a null pointer !
result = modelPdf.fitTo(data,RooFit.Save())
is the solution
sorry for the noise
Do you mean
result = modelPdf.fitTo(data,RooFit::Save())
right? (root.cern.ch/root/html/RooAbsPd … sPdf:fitTo)