When using TTree::Draw on a single, integer branch with options 'para goff' a segmentation fault occurs.
The problem occurs in CLING/PyROOT/compiled code.
I am aware that there is no real need to use 'para' in combination with just a single branch.
I am fairly certain that the error originates from L 459 in TTreePlayer.cxx, specifically:
For an integer branch the condition evaluates to true, however, due to the combination of para and goff the histogram pointer is NULL (see also L 433).
into the condition (as is done for the other dimensions) should fix this, however, note that
- I have not tested this
- I'd advise to refactor the whole block L 458-528 instead in order to ensure that para/candle/gl5d are not treated just as another dimension
Minimal Test Case (PyROOT):