Skip to content

Conversation

@lhusova
Copy link
Contributor

@lhusova lhusova commented Mar 20, 2025

@lietava please check the changes

@lietava
Copy link
Contributor

lietava commented Mar 20, 2025

Looks ok to me, please, remove draft.

@lhusova lhusova marked this pull request as ready for review March 21, 2025 08:24
Copy link
Collaborator

@Barthelemy Barthelemy left a comment

Choose a reason for hiding this comment

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

thank you for your PR. Please see and address my comments.
regards,

msg->SetTextSize(0.03);
msg->SetNDC();
h->GetListOfFunctions()->Add(msg->Clone());
initialMessagePos -= 0.04;
Copy link
Collaborator

Choose a reason for hiding this comment

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

the same piece of code is repeated again and again. Please extract it in a method.

h->GetListOfFunctions()->Add(msg->Clone());
initialMessagePos -= 0.04;
}
if (h->GetBinContent(3) > 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this series of if can probably be replaced by a loop but that's up to you.

h->SetStats(kFALSE);
h->GetYaxis()->SetRangeUser(0, h->GetMaximum() * 1.5);
} else if (mo->getName() == "decodeError") {
auto* h = dynamic_cast<TH1D*>(mo->getObject());
Copy link
Collaborator

Choose a reason for hiding this comment

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

h can be null. Please check for it and return if needed.

},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
"url": "alice-ccdb.cern.ch"
Copy link
Collaborator

Choose a reason for hiding this comment

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

as these files are used for test, I wouldn't advise pointing to production.

@lhusova lhusova requested a review from Barthelemy March 31, 2025 12:18
@Barthelemy Barthelemy enabled auto-merge (squash) March 31, 2025 12:31
@Barthelemy Barthelemy merged commit 92b49e7 into AliceO2Group:master Mar 31, 2025
5 of 6 checks passed
@lhusova lhusova deleted the aligmentCheck branch April 16, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants