Hi,
it seems that reading TNamed is not supported (yet? :) )
julia> f = ROOTFile("MuonSimulation_Sclaed1_margin2cm_damagedobject_50M_CRY_50cm.root")
ROOTFile with 5 entries and 18 streamers.
MuonSimulation_Sclaed1_margin2cm_damagedobject_50M_CRY_50cm.root
├─ Muondata (TTree)
│ ├─ "posX"
│ ├─ "posY"
│ ├─ "posZ"
│ ├─ "⋮"
│ ├─ "momZ"
│ ├─ "energy"
│ └─ "edeps"
├─ runSeed (TNamed)
├─ exposure Time_minutes (TNamed)
└─ No total Events (TNamed)
julia> f["Muondata"]
Muondata (TTree)
├─ "posX"
├─ "posY"
├─ "posZ"
├─ "⋮"
├─ "momZ"
├─ "energy"
└─ "edeps"
julia> f["runSeed"]
ERROR: MethodError: no constructors have been defined for UnROOT.TNamed
The type `UnROOT.TNamed` exists, but no method is defined for this combination of argument types when trying to construct it.
Stacktrace:
[1] _getindex(f::ROOTFile, s::String)
@ UnROOT ~/.julia/packages/UnROOT/fBuCw/src/root.jl:178
[2] #153
@ ~/.julia/packages/UnROOT/fBuCw/src/root.jl:163 [inlined]
[3] get!(default::UnROOT.var"#153#154"{ROOTFile, String}, h::Dict{Any, Any}, key::String)
@ Base ./dict.jl:458
[4] getindex(f::ROOTFile, s::String)
@ UnROOT ~/.julia/packages/UnROOT/fBuCw/src/root.jl:162
[5] top-level scope
@ REPL[6]:1
Hi,
it seems that reading
TNamedis not supported (yet? :) )