Skip to content

Conversation

@will-cern
Copy link
Contributor

@will-cern will-cern commented Jan 19, 2023

This is needed so that the new RooBrowser doesn't need to access the private collision grid of the TPad. These additional options allow the placement of the box with choice of priority over directions as well as option to place within the margins of the pad.

Wanted for 6.28 release too!

@phsft-bot
Copy link

Can one of the admins verify this patch?

@jalopezg-git jalopezg-git changed the title Additional options for PlaceBox method [graf] Additional options for TPad::PlaceBox() method Jan 24, 2023
@guitargeek guitargeek force-pushed the placebox_withinMargins branch from 10be79c to fe0e91b Compare January 24, 2023 21:14
@guitargeek
Copy link
Contributor

Hi! We really need to speed things up to converge to the release, so I took the liberty of updating this PR with a revised version of the new TPad::PlaceBox() method, as requested by @jalopezg-git.

If the CI passes, please also have a look @couet to give also your approval as the code owner of this area.

@guitargeek
Copy link
Contributor

@phsft-bot build

@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

@phsft-bot
Copy link

Build failed on ROOT-ubuntu18.04/nortcxxmod.
Running on sft-ubuntu-1804-2.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2023-01-24T21:25:14.217Z] FAILED: tmva/sofie/test/CMakeFiles/SofieCompileModels_ONNX.util

@phsft-bot
Copy link

@guitargeek guitargeek force-pushed the placebox_withinMargins branch from fe0e91b to 3581038 Compare January 25, 2023 11:50
@guitargeek
Copy link
Contributor

@phsft-bot build

@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

@phsft-bot
Copy link

Build failed on ROOT-ubuntu18.04/nortcxxmod.
Running on sft-ubuntu-1804-3.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2023-01-25T12:01:17.964Z] FAILED: tmva/sofie/test/CMakeFiles/SofieCompileModels_ONNX.util

@couet
Copy link
Member

couet commented Jan 25, 2023

Looks good to me. Does the legendautoplaced example on this page still works the same way after these changes?

@guitargeek
Copy link
Contributor

Thanks Olivier! Running the example code with the PR branch I get this plot:
plot
It looks the same as in ROOT master.

2 similar comments
@guitargeek
Copy link
Contributor

Thanks Olivier! Running the example code with the PR branch I get this plot:
plot
It looks the same as in ROOT master.

@guitargeek
Copy link
Contributor

Thanks Olivier! Running the example code with the PR branch I get this plot:
plot
It looks the same as in ROOT master.

Copy link
Contributor

@jalopezg-git jalopezg-git left a comment

Choose a reason for hiding this comment

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

See comments, otherwise LGTM!

@guitargeek guitargeek force-pushed the placebox_withinMargins branch 3 times, most recently from e286b75 to c14b1bc Compare January 25, 2023 14:09
@guitargeek
Copy link
Contributor

@phsft-bot build

@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

@phsft-bot
Copy link

Build failed on ROOT-ubuntu18.04/nortcxxmod.
Running on sft-ubuntu-1804-2.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2023-01-25T15:09:33.218Z] FAILED: tmva/sofie/test/CMakeFiles/SofieCompileModels_ONNX.util

This is needed so that the new RooBrowser doesn't need to access the
private collision grid of the TPad. These additional options allow the
placement of the box with choice of priority over directions as well as
option to place within the margins of the pad.

Wanted for 6.28 release too!
@guitargeek guitargeek force-pushed the placebox_withinMargins branch from c14b1bc to bf4a2ca Compare January 25, 2023 15:43
@phsft-bot
Copy link

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Failing tests:

@phsft-bot
Copy link

Build failed on mac11/cxx14.
Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Failing tests:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants