You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix for overlapping messages
* add a parameter for possible shift of the BC possition
---------
Co-authored-by: Lucia Anna Tarasovicova <lucia.anna.husova@cern.ch>
@@ -222,26 +223,30 @@ void RawDataReaderCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality che
222
223
msg->SetNDC();
223
224
h->GetListOfFunctions()->Add(msg->Clone());
224
225
226
+
float messagePos = 0.75;
227
+
float initialMessagePos = 0.75;
225
228
if (mVecMediumBC.size() > 0) {
226
-
msg = std::make_shared<TLatex>(0.2, 0.75, Form("BC is expected on following possitions, but inputs are below threshold (%f):", mThreshold));
229
+
msg = std::make_shared<TLatex>(0.2, initialMessagePos, Form("BC is expected on following possitions, but inputs are below threshold (%g):", round(mThreshold)));
227
230
msg->SetTextSize(0.03);
228
231
msg->SetNDC();
229
232
h->GetListOfFunctions()->Add(msg->Clone());
230
233
for (size_t i = 0; i < mVecMediumBC.size(); i++) {
msg = std::make_shared<TLatex>(0.2, 0.75, Form("BC is not expected on following possitions, but inputs are above threshold (%f):", mThreshold));
243
+
msg = std::make_shared<TLatex>(0.2, initialMessagePos, Form("BC is not expected on following possitions, but inputs are above threshold (%g):", round(mThreshold)));
0 commit comments