Skip to content

UHI histogram kind #20265

@0ctagon

Description

@0ctagon

The ROOT pythonization of TH1 decided to set the kind of the histogram to COUNT if unweighted, and MEAN if weighted (see here in ROOT).
In uproot, the kind.MEAN is only used for TProfile histograms, otherwise it's always a kind.COUNT (see here in uproot).
I was wondering why is there a difference in treatment between ROOT and uproot? kind.MEAN has a different treatment of variance (see UHI doc), so I was wondering which definition was correct between the two package?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions