Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Modules/TOF/src/TrendingCalibDiagnostics.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ void TrendingCalibDiagnostics::generatePlots()
if (auto title = dynamic_cast<TPaveText*>(c->GetPrimitive("title"))) {
title->SetBBoxCenterX(c->GetBBoxCenter().fX);
// It will have an effect only after invoking Draw again.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment above might cause some confusion ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you indeed :) removed

title->Draw();
c->Modified();
c->Update();
} else {
ILOG(Error, Devel) << "Could not get the title TPaveText of the plot '" << plot.name << "'." << ENDM;
}
Expand Down
3 changes: 2 additions & 1 deletion Modules/TOF/src/TrendingCalibLHCphase.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ void TrendingCalibLHCphase::generatePlots()
if (auto title = dynamic_cast<TPaveText*>(c->GetPrimitive("title"))) {
title->SetBBoxCenterX(c->GetBBoxCenter().fX);
// It will have an effect only after invoking Draw again.
title->Draw();
c->Modified();
c->Update();
} else {
ILOG(Error, Devel) << "Could not get the title TPaveText of the plot '" << plot.name << "'." << ENDM;
}
Expand Down
Loading