Skip to content

Commit 01c3e70

Browse files
authored
explicitly add the fit function to the drawables
1 parent c63c0c6 commit 01c3e70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/GLO/src/ITSTPCmatchingCheck.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,9 @@ void ITSTPCmatchingCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality ch
527527
msg->AddText(Form("RError %.2f%%", rerr * 1e2));
528528
msg->SetFillColor(kGreen);
529529
}
530+
if(TF1* fit = h->GetFunction("gloFitK0sMassSignal"); fit != nullptr) {
531+
h->GetListOfFunctions()->Add(fit);
532+
}
530533
}
531534
h->GetListOfFunctions()->Add(msg);
532535
}

0 commit comments

Comments
 (0)