root [0] .x mc15_asymmetry_fit.C
Processing mc15_asymmetry_fit.C...
In file included from input_line_9:1:
/Users/couet/Downloads/legend_simfit/mc15_asymmetry_fit.C:315:10: error: no matching member function for call to 'paramOn'
simPdf.paramOn(deltaM_d0,dataxy_d0);
~~~~~~~^~~~~~~
/Users/couet/git/couet-root-bin/include/RooAbsPdf.h:138:20: note: candidate function not viable: no known conversion from 'RooDataSet *' to 'const RooCmdArg' for 2nd argument
virtual RooPlot* paramOn(RooPlot* frame,
^
/Users/couet/git/couet-root-bin/include/RooAbsPdf.h:327:20: note: candidate function not viable: no known conversion from 'RooDataSet *' to 'const RooArgSet' for 2nd argument
virtual RooPlot* paramOn(RooPlot* frame, const RooArgSet& params, bool showConstants=false,
^
In file included from input_line_9:1:
/Users/couet/Downloads/legend_simfit/mc15_asymmetry_fit.C:446:10: error: no matching member function for call to 'paramOn'
simPdf.paramOn(log_min_significance_d0bar,dataxy_d0bar);
~~~~~~~^~~~~~~
/Users/couet/git/couet-root-bin/include/RooAbsPdf.h:138:20: note: candidate function not viable: no known conversion from 'RooDataSet *' to 'const RooCmdArg' for 2nd argument
virtual RooPlot* paramOn(RooPlot* frame,
^
/Users/couet/git/couet-root-bin/include/RooAbsPdf.h:327:20: note: candidate function not viable: no known conversion from 'RooDataSet *' to 'const RooArgSet' for 2nd argument
virtual RooPlot* paramOn(RooPlot* frame, const RooArgSet& params, bool showConstants=false,
^
root [1]
Processing mc15_asymmetry_fit_check.C...
In file included from input_line_9:1:
/Users/couet/Downloads/legend_simfit/mc15_asymmetry_fit_check.C:315:10: error: no matching member function for call to 'paramOn'
simPdf.paramOn(deltaM_d0,dataxy_d0);
~~~~~~~^~~~~~~
I did try gPad->ls(). It just gives me the following and the names are not very clear I . I am not sure if this the same problem as the one you solved before.