Skip to content
Snippets Groups Projects
Commit 2040877f authored by Danilo Piparo's avatar Danilo Piparo
Browse files

[RooFit] Introduce minimal value printing for default constructed RooAbsArgs

parent b1122b3c
No related branches found
No related tags found
No related merge requests found
......@@ -2533,6 +2533,10 @@ namespace cling {
std::string printValue(RooAbsArg *raa)
{
std::stringstream s;
if (0 == *raa->GetName() && 0 == *raa->GetTitle()) {
s << "An instance of " << raa->ClassName() << ".";
return s.str();
}
raa->printStream(s, raa->defaultPrintContents(""), raa->defaultPrintStyle(""));
return s.str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment