go-hep.org/x/hep@v0.38.1/groot/cmd/root-gen-datareader/testdata/small-evnt-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 type P3 struct { 11 ROOT_Px int32 `groot:"Px"` 12 ROOT_Py float64 `groot:"Py"` 13 ROOT_Pz int32 `groot:"Pz"` 14 } 15 16 type evt struct { 17 ROOT_Beg string `groot:"Beg"` 18 ROOT_I16 int16 `groot:"I16"` 19 ROOT_I32 int32 `groot:"I32"` 20 ROOT_I64 int64 `groot:"I64"` 21 ROOT_U16 uint16 `groot:"U16"` 22 ROOT_U32 uint32 `groot:"U32"` 23 ROOT_U64 uint64 `groot:"U64"` 24 ROOT_F32 float32 `groot:"F32"` 25 ROOT_F64 float64 `groot:"F64"` 26 ROOT_Str string `groot:"Str"` 27 ROOT_P3 P3 `groot:"P3"` 28 ROOT_ArrayI16 [10]int16 `groot:"ArrayI16[10]"` 29 ROOT_ArrayI32 [10]int32 `groot:"ArrayI32[10]"` 30 ROOT_ArrayI64 [10]int64 `groot:"ArrayI64[10]"` 31 ROOT_ArrayU16 [10]uint16 `groot:"ArrayU16[10]"` 32 ROOT_ArrayU32 [10]uint32 `groot:"ArrayU32[10]"` 33 ROOT_ArrayU64 [10]uint64 `groot:"ArrayU64[10]"` 34 ROOT_ArrayF32 [10]float32 `groot:"ArrayF32[10]"` 35 ROOT_ArrayF64 [10]float64 `groot:"ArrayF64[10]"` 36 ROOT_N int32 `groot:"N"` 37 ROOT_SliceI16 []int16 `groot:"SliceI16[N]"` 38 ROOT_SliceI32 []int32 `groot:"SliceI32[N]"` 39 ROOT_SliceI64 []int64 `groot:"SliceI64[N]"` 40 ROOT_SliceU16 []uint16 `groot:"SliceU16[N]"` 41 ROOT_SliceU32 []uint32 `groot:"SliceU32[N]"` 42 ROOT_SliceU64 []uint64 `groot:"SliceU64[N]"` 43 ROOT_SliceF32 []float32 `groot:"SliceF32[N]"` 44 ROOT_SliceF64 []float64 `groot:"SliceF64[N]"` 45 ROOT_StdStr string `groot:"StdStr"` 46 ROOT_StlVecI16 []int16 `groot:"StlVecI16"` 47 ROOT_StlVecI32 []int32 `groot:"StlVecI32"` 48 ROOT_StlVecI64 []int64 `groot:"StlVecI64"` 49 ROOT_StlVecU16 []uint16 `groot:"StlVecU16"` 50 ROOT_StlVecU32 []uint32 `groot:"StlVecU32"` 51 ROOT_StlVecU64 []uint64 `groot:"StlVecU64"` 52 ROOT_StlVecF32 []float32 `groot:"StlVecF32"` 53 ROOT_StlVecF64 []float64 `groot:"StlVecF64"` 54 ROOT_StlVecStr []string `groot:"StlVecStr"` 55 ROOT_End string `groot:"End"` 56 } 57 58 // Data is the data contained in a rtree.Tree. 59 type Data struct { 60 ROOT_evt evt `groot:"evt"` 61 } 62 63 type DataReader struct { 64 Data Data 65 Tree rtree.Tree 66 Reader *rtree.Reader 67 }