Skip to content

Mergers: actually collect only mergeable objects belonging to TCanvas#15555

Merged
Barthelemy merged 1 commit into
AliceO2Group:devfrom
knopers8:mergers-collect-mergeable
Jun 25, 2026
Merged

Mergers: actually collect only mergeable objects belonging to TCanvas#15555
Barthelemy merged 1 commit into
AliceO2Group:devfrom
knopers8:mergers-collect-mergeable

Conversation

@knopers8

Copy link
Copy Markdown
Collaborator

We were seeing warnings like below when merging certain TCanvases:

W	11	Object 'title' with type 'TPaveText' is not one of the mergeable types, skipping
W	11	Object 'TPave' with type 'TLegend' is not one of the mergeable types, skipping
W	11	Object 'TFrame' with type 'TFrame' is not one of the mergeable types, skipping

It is perfectly OK to have some TPaveText in a canvas and expect to have just the histogram merged, but the text should remain as it was, so there is no reason to produce warnings.

The change ensures that collectUnderlyingObject actually collects just the mergeable objects from TCanvas, as promised in the documentation.

Fixes QC-1344.

We were seeing warnings like below when merging certain TCanvases:
```
W	11	Object 'title' with type 'TPaveText' is not one of the mergeable types, skipping
W	11	Object 'TPave' with type 'TLegend' is not one of the mergeable types, skipping
W	11	Object 'TFrame' with type 'TFrame' is not one of the mergeable types, skipping
```
It is perfectly OK to have some TPaveText in a canvas and expect to have just the histogram merged, but the text should remain as it was, so there is no reason to produce warnings.

The change ensures that collectUnderlyingObject actually collects just the mergeable objects from TCanvas, as promised in the documentation.

Fixes QC-1344.
@knopers8

Copy link
Copy Markdown
Collaborator Author

Needs #15554 to successfully compile.

@Barthelemy Barthelemy enabled auto-merge (squash) June 25, 2026 06:24
@Barthelemy Barthelemy merged commit ffe7e55 into AliceO2Group:dev Jun 25, 2026
12 of 13 checks passed
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