Skip to content

[Trigger] Update macro to upload zorro objects for 2026#15926

Merged
fgrosa merged 1 commit intoAliceO2Group:masterfrom
fgrosa:zorro
Apr 22, 2026
Merged

[Trigger] Update macro to upload zorro objects for 2026#15926
fgrosa merged 1 commit intoAliceO2Group:masterfrom
fgrosa:zorro

Conversation

@fgrosa
Copy link
Copy Markdown
Collaborator

@fgrosa fgrosa commented Apr 22, 2026

No description provided.

@github-actions github-actions Bot changed the title Update macro to upload zorro objects for 2026 [Trigger] Update macro to upload zorro objects for 2026 Apr 22, 2026
@github-actions
Copy link
Copy Markdown

O2 linter results: ❌ 2 errors, ⚠️ 3 warnings, 🔕 0 disabled

@fgrosa fgrosa enabled auto-merge (squash) April 22, 2026 21:03
Copy link
Copy Markdown
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

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

Auto-approving on behalf of @fgrosa.

if (!hCounterTVX) {
std::cout << "No hCounterTVX histogram found in the file, skipping upload for run " << runString << std::endl;
continue;
hCounterTVX = static_cast<TH1*>(scalersFile->Get("eventselection-run3/luminosity/hCounterTVX"));
Copy link
Copy Markdown
Collaborator

@vkucera vkucera Apr 22, 2026

Choose a reason for hiding this comment

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

Never use static_cast to downcast pointers. It's not safe. Use dynamic_cast.

@fgrosa fgrosa merged commit ed36b44 into AliceO2Group:master Apr 22, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants