Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Histograms aren't shown in file printout #96

Closed
aminnj opened this issue Sep 11, 2021 · 1 comment · Fixed by #97
Closed

Histograms aren't shown in file printout #96

aminnj opened this issue Sep 11, 2021 · 1 comment · Fixed by #97
Assignees

Comments

@aminnj
Copy link
Member

aminnj commented Sep 11, 2021

julia> using UnROOT

julia> f = ROOTFile(joinpath(dirname(pathof(UnROOT)), "../test/samples/histograms1d2d.root"))
ROOTFile with 5 entries and 14 streamers.
/Users/namin/.julia/dev/UnROOT/src/../test/samples/histograms1d2d.root
# nothing printed out here

julia> keys(f)
5-element Vector{String}:
 "myTH1F"
 "myTH1D"
 "myTH2F"
 "myTH2D"
 "myTH1D_nonuniform"

julia> f["myTH1D"] |> UnROOT.parseTH
([40.0, 2.0], (-2.0:2.0:2.0,), [800.0, 2.0])

The only hint that something is there is the 5 entries and 14 streamers. Trees are printed out, so it would be nice to see histograms there as well.

@aminnj
Copy link
Member Author

aminnj commented Sep 11, 2021

an UnROOT.samplefile("histograms1d2d.root") could be useful ;)

@aminnj aminnj self-assigned this Sep 11, 2021
@aminnj aminnj mentioned this issue Sep 11, 2021
@Moelf Moelf closed this as completed in #97 Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant