Dear experts,
I am wondering how to get the fit values and error of each fit in RooMCStudy
and put the output into a TTree
. Then I can see which fit is bad, which is good and get the pull myself only using the good fit.
Since I get some bad fits, which affact the final pull using RooMCStudy
RooMCStudy* mcstudy = new RooMCStudy(simNew, *observables, Binned(kTRUE),Silence(),Extended(),ExternalConstraints(*constraints),FitOptions(Save(kTRUE),PrintEvalErrors(0),Minos(kTRUE))) ;
many thanks!
Lingzhu