Re:CERN Root
by ephimetheus on Saturday June 01, 2024 @02:53PM
(#40548171)
uproot to this day doesn’t properly implement reading TEfficiency, I believe, which is a bummer, to be honest.
that's odd. TEfficiency is a relatively simple thing to read/write :
- https://github.com/go-hep/hep/blob/main/groot/rhist/efficien...
Re:CERN Root
by ephimetheus on Saturday June 01, 2024 @03:37PM
(#40548465)
Yeah I think it has to do with the memberwise splitting. https://github.com/scikit-hep/uproot5/issues/38
I understand this has not been a priority so far.
It kinda works if you open a magic file with a specific on-disk representation which bypasses this, but that’s not a solution at all.
Also, for the longest time, the I/O format wasn't very well documented, with only 1 implementation.
Now, thanks to groot [1], uproot (that was developed building on the work from groot) and others (freehep, openscientist, ...), it's to read/write ROOT data w/o bringing the whole TWorld. Interoperability. For data, I'd say it's very much paramount in my book to have some hope to be able to read back that unique data in 20, 30, ... years down the line.
[1] https://go-hep.org/x/hep/groot (I am the main dev behind go-hep)