go-hep.org/x/hep@v0.38.1/groot/cmd/root-gen-datareader/testdata/small-flat-tree.root.txt (about) 1 // automatically generated by root-gen-datareader. 2 // DO NOT EDIT. 3 4 package event 5 6 import ( 7 "go-hep.org/x/hep/groot/rtree" 8 ) 9 10 // Data is the data contained in a rtree.Tree. 11 type Data struct { 12 ROOT_Int32 int32 `groot:"Int32"` 13 ROOT_Int64 int64 `groot:"Int64"` 14 ROOT_UInt32 uint32 `groot:"UInt32"` 15 ROOT_UInt64 uint64 `groot:"UInt64"` 16 ROOT_Float32 float32 `groot:"Float32"` 17 ROOT_Float64 float64 `groot:"Float64"` 18 ROOT_Str string `groot:"Str"` 19 ROOT_ArrayInt32 [10]int32 `groot:"ArrayInt32[10]"` 20 ROOT_ArrayInt64 [10]int64 `groot:"ArrayInt64[10]"` 21 ROOT_ArrayUInt32 [10]uint32 `groot:"ArrayUInt32[10]"` 22 ROOT_ArrayUInt64 [10]uint64 `groot:"ArrayUInt64[10]"` 23 ROOT_ArrayFloat32 [10]float32 `groot:"ArrayFloat32[10]"` 24 ROOT_ArrayFloat64 [10]float64 `groot:"ArrayFloat64[10]"` 25 ROOT_N int32 `groot:"N"` 26 ROOT_SliceInt32 []int32 `groot:"SliceInt32"` 27 ROOT_SliceInt64 []int64 `groot:"SliceInt64"` 28 ROOT_SliceUInt32 []uint32 `groot:"SliceUInt32"` 29 ROOT_SliceUInt64 []uint64 `groot:"SliceUInt64"` 30 ROOT_SliceFloat32 []float32 `groot:"SliceFloat32"` 31 ROOT_SliceFloat64 []float64 `groot:"SliceFloat64"` 32 } 33 34 type DataReader struct { 35 Data Data 36 Tree rtree.Tree 37 Reader *rtree.Reader 38 }