I am just wondering whether there is an easy way to read in the written RooMCStudy results so that we could do some further editing, such as fitting the error distribution, changing the position of the stat box (sometimes the stat box is too small to contain all the information). It is also easy and economic to read in the written results instead of doing the toy Monte study again, in case we need some new plots of the toy Monte Caro study.
RooMCStudy *mgr = new RooMCStudy(...)
// get the results of toy study
RooDataSet fitResdata = mgr->fitParDataSet();
// print out the data structure of the results
// write to results into an ascii file
You know, it is easy to know the structure of the written RooMCStudy results (toyResults.file), but it is a hard job to define all the written parameters one by one before reading in the file. You know, there are so many parameters for some complicated toy Monte Carlo study. And the order of the parameters also makes sense here. So maybe
- RooFit could add a header line in the front of fitParDataSet file?
- RooFit provides more option to deal with the error distribution fitting, and the layout of the stat box?
Thanks a lot.