rest-for-physics / framework

The main project containing the core C++ classes defining framework behaviour and primordial analysis and helper tools. It centralises all other rest-for-physics repositories through submodules.
GNU General Public License v3.0
19 stars 11 forks source link

TRestTools::CanvasDivisions method added #496

Open jgalan opened 10 months ago

jgalan commented 10 months ago

jgalan Ok: 54 Powered by Pull Request Badge

I add a method that allows to create an automatic division of a canvas where we need to draw n plots.

For example, if the input is 20, we will get as a result 4x5.

I placed the method at TRestTools although not sure if that is the best place.