Comments (2)
Luckily it was just a matter of updating the "lookup table" with two new types. Let me make a PR with a test.
@@ -365,6 +365,10 @@ function auto_T_JaggT(f::ROOTFile, branch; customstructs::Dict{String, Type})
UInt32
elseif elname == "unsigned char"
Char
+ elseif elname == "unsigned short"
+ UInt16
+ elseif elname == "ulong64"
+ UInt64
else
_type = getfield(Base, Symbol(:C, elname))
end
after
julia> t = LazyTree(ROOTFile("trackntuple.root"),"trackingNtuple/tree")
┌ Warning: Your tree is quite wide, with 301 branches, this will take compiler a moment.
└ @ UnROOT ~/.julia/dev/UnROOT/src/iteration.jl:244
Row │ see_stateCcov22 ph2_subdet sim_parentVtxId pix_xySignifica simhit_detId ph2_simType s ⋯
│ Vector{Float32} Vector{UInt16} Vector{Int32} Vector{Vector{F Vector{UInt32} Vector{UInt16} V ⋯
─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ [1.94f-6, 6.59f-8, 1.36 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[18.407 [305172488, 304128016, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
2 │ [2.18f-6, 4.15f-7, 6.53 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[11.120 [305201160, 344212576, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
3 │ [8.33f-8, 7.25f-8, 4.5f [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[0.2006 [304099348, 303042580, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
4 │ [0.0514, 0.0514, 0.0229 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[26.702 [353911916, 303075352, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
5 │ [1.16f-6, 2.94f-7, 0.20 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[1.2058 [303083532, 303083532, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
6 │ [7.71f-7, 7.74f-7, 7.76 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[1.1037 [411595905, 412124345, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
7 │ [1.76f-7, 1.75f-7, 1.59 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[0.8835 [352855144, 303071256, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
8 │ [7.13f-7, 3.59f-9, 4.77 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[7.0920 [439888985, 419738749, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
9 │ [1.14f-6, 3.77f-6, 3.76 [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[1.9531 [347092004, 345248788, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
10 │ [9.2f-9, 0.118, 0.118, [4, 4, 4, 4, 4, 4, 4, 4 [0, 0, 0, 0, 0, 0, 0, 0 Vector{Float32}[[0.2538 [419963998, 352851024, [0, 0, 0, 0, 0, 0, 0, 0 [ ⋯
⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋱
294 columns and 90 rows omitted
from unroot.jl.
I wish we can find a list of all possible names... but who knows how ROOT "stringify" them
from unroot.jl.
Related Issues (20)
- xrootdgo exits the Julia session if the URL is not accessible HOT 6
- chaintrees broken on nightly HOT 1
- Unable to parse BASE error on TTree (TBaskets in TTree) HOT 28
- TTree v5 parsing issue
- Type stability regression introduced in 0.10.6 HOT 7
- Add type stability tests
- Unable to read `vector<float>` (regression in `v0.10.0`)
- `threadid()`-based buffers are unsafe under task migration
- How to test concurrency bug? HOT 2
- LRU cache preventing unmapping of ROOT files HOT 7
- [RNTuple] Missing zigzag encoding support
- Dangling TBasket not handled properly (offset index type wrong) HOT 2
- Opening `km3net_online.root` causes huge memory usage spike HOT 2
- `LazyTree()` hang regression in 0.10.16
- Pre-compilation failure after upgrading to v1.9.3 HOT 6
- Performance for trees with a large number of branches HOT 13
- Fix Documentation due to their 1.0 release
- `RNTuple` reading extremely slow
- `nanoAOD_ttbar` latency HOT 26
- CI broken on nighly due to MD5.jl using SHA.jl internals
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unroot.jl.