Skip to content

Fix TProfile2D and TEfficiency2D

Nora Emilia Pettersson requested to merge npetters-2dprofile-2dTeff-support into master

Handle TProfile2D via a projection in XY with "W", which should be the same as casting to a TH2 (which doesn't work anymore). Handling TEfficency2D via CreateHistogram() as TEfficiency2TGraph is only supported for 1D histograms. This returns a TH2, which is handled by the regular TH2 functions.

Both seems to yield sane results in a local test.

Merge request reports