Skip to content

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

Open
knopers8 wants to merge 1 commit into
AliceO2Group:devfrom
knopers8:mergers-collect-mergeable
Open

Mergers: actually collect only mergeable objects belonging to TCanvas#15555
knopers8 wants to merge 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.

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.

2 participants