the Info message of
RooWorkspace.import() can usually be suppressed by adding the
RooFit::Silence() argument. However, whenever I use that while importing a
RooDataSet, I get the error message
[#0] ERROR:InputArguments -- RooWorkspace::import(testws) ERROR: unrecognized command: Silence
This seems like a bug to me.
auto* w = new RooWorkspace("testws", "testws") var = RooRealVar("t", "t", 0, 10) ds = RooDataSet("ds", "ds", RooArgSet(var)) w->import(var, RooFit::Silence()) // <--- this works w->import(ds, RooFit::Silence()) // <-- gives above error
This is a minor thing of course, but still I would appreciate your thoughts on this.