ocdb
is a WIP package to read and write OCDB files from the ALICE experiment, in Go.
$> go get github.com/alice-go/ocdb/cmd/read-ocdb
$> read-ocdb ./testdata/alicdb.root
2019/02/14 15:14:17 key: AliCDBEntry
=== Entry ===
ID: AliCDBId{Path: Path{Path: "MUON/Calib/OccupancyMap", Level0: "MUON", Level1: "Calib", Level2: "OccupancyMap", Valid: true, WildCard: false}, RunRange: RunRange{First: 297624, Last: 297624}, Version: 0x1, SubVersion: 0x0, Last: "local"}
Owner: true
MetaData:
Class: "AliMUON2DMap"
Responsible: "MUON TRK"
BeamPeriod: 0
AliRoot Version: ""
Comment: "Computed by AliMUONOccupancySubprocessor Id"
Properties: 1
key: RunUsed(TObjString)
val: 297624
Object: *ocdb.AliMUON2DMap
MUON2DMap{Opt: true, Map: ExMap{Objs: [ExMap{Objs: [&{{{6750924 50331648}} 5 1 5 [195921 195921 195921 64 460240]}, &{{{6816460 50331648}} 5 1 5 [169851 169851 169851 64 460240]}, &{{{7013068 50331648}} 5 1 5 [256206 256206 256206 64 460240]}, &{{{7078604 50331648}} 5 1 5 [224064 224064 224064 64 460240]}, &{{{7340748 50331648}} 5 1 5 [194829 194829 194829 64 460240]}, &{{{7406284 50331648}} 5 1 5 [175919 175919 175919 64 460240]}, &{{{7471820 50331648}} 5 1 5 [170091 170091 170091 64 460240]}, &{{{7537356 50331648}} 5 1 5 [170359 170359 170359 64 460240]}, &{{{7602892 50331648}} 5 1 5 [163152 163152 163152 64 460240]}, &{{{73728716 50331648}} 5 1 5 [181154 181154 181154 56 460240]}, &{{{73794252 50331648}} 5 1 5 [205677 205677 205677 56 460240]}, &{{{73990860 50331648}} 5 1 5 [231284 231284 231284 56 460240]}, &{{{74056396 50331648}} 5 1 5 [257818 257818 257818 56 460240]}, &{{{74253004 50331648}} 5 1 5 [177670 177670 177670 64 460240]}, &{{{74384076 50331648}} 5 1 5 [207604 207604 207604 64 460240]}, &{{{74318540 50331648}} 5 1 5 [202286 202286 202286 64 460240]}, &{{{80478924 50331648}} 5 1 5 [224745 224745 224745 56 460240]}, &{{{80544460 50331648}} 5 1 5 [140496 140496 140496 56 460240]}, &{{{80806604 50331648}} 5 1 5 [277360 277360 277360 56 460240]}, &{{{80872140 50331648}} 5 1 5 [249107 249107 249107 56 460240]}, &{{{81265356 50331648}} 5 1 5 [240747 240747 240747 64 460240]}, &{{{81330892 50331648}} 5 1 5 [231444 231444 231444 64 460240]}, &{{{81396428 50331648}} 5 1 5 [205951 205951 205951 64 460240]}, &{{{81461964 50331648}} 5 1 5 [191194 191194 191194 64 460240]}, &{{{13173452 50331648}} 5 1 5 [171988 171988 171988 64 460240]}, &{{{13304524 50331648}} 5 1 5 [208652 208652 208652 64 460240]}, &{{{13238988 50331648}} 5 1 5 [203726 203726 203726 64 460240]}, &{{{13566668 50331648}} 5 1 5 [288083 288083 288083 64 460240]}, &{{{13501132 50331648}} 5 1 5 [241181 241181 241181 64 460240]}, &{{{13632204 50331648}} 5 1 5 [262373 262373 262373 64 460240]}, &{{{13828812 50331648}} 5 1 5 [164382 164382 164382 64 460240]}, &{{{13894348 50331648}} 5 1 5 [172190 172190 172190 64 460240]}, &{{{13959884 50331648}} 5 1 5 [182224 182224 182224 64 460240]}, &{{{14025420 50331648}} 5 1 5 [188581 188581 188581 64 460240]}, &{{{14090956 50331648}} 5 1 5 [201254 201254 201254 64 460240]}, &{{{20054732 50331648}} 5 1 5 [302884 302884 302884 64 460240]}, &{{{20120268 50331648}} 5 1 5 [305054 305054 305054 64 460240]}, &{{{20185804 50331648}} 5 1 5 [266476 266476 266476 64 460240]}, &{{{20513484 50331648}} 5 1 5 [221849 221849 221849 64 460240]}, &{{{20447948 50331648}} 5 1 5 [213470 213470 213470 64 460240]}, &{{{20644556 50331648}} 5 1 5 [248759 248759 248759 64 460240]}, &{{{20579020 50331648}} 5 1 5 [240762 240762 240762 64 460240]}, &{{{20710092 50331648}} 5 1 5 [262036 262036 262036 64 460240]}, &{{{86835916 50331648}} 5 1 5 [311263 311263 311263 64 460240]}, &{{{86901452 50331648}} 5 1 5 [321030 321030 321030 64 460240]}, &{{{86966988 50331648}} 5 1 5 [313342 313342 313342 64 460240]}, &{{{87360204 50331648}} 5 1 5 [283827 283827 283827 64 460240]}, &{{{87425740 50331648}} 5 1 5 [265646 265646 265646 64 460240]}, &{{{87491276 50331648}} 5 1 5 [253408 253408 253408 64 460240]}, &{{{19989196 50331648}} 5 1 5 [277917 277917 277917 64 460240]}, &{{{19923660 50331648}} 5 1 5 [267434 267434 267434 64 460240]}, &{{{66252 50331648}} 5 1 5 [232185 232185 232185 64 460240]}, &{{{131788 50331648}} 5 1 5 [249739 249739 249739 64 460240]}, &{{{197324 50331648}} 5 1 5 [252170 252170 252170 64 460240]}, &{{{328396 50331648}} 5 1 5 [238294 238294 238294 64 460240]}, &{{{262860 50331648}} 5 1 5 [242491 242491 242491 64 460240]}, &{{{656076 50331648}} 5 1 5 [239658 239658 239658 64 460240]}, &{{{721612 50331648}} 5 1 5 [229197 229197 229197 64 460240]}, &{{{787148 50331648}} 5 1 5 [217551 217551 217551 64 460240]}, &{{{852684 50331648}} 5 1 5 [205965 205965 205965 64 460240]}, &{{{918220 50331648}} 5 1 5 [199631 199631 199631 64 460240]}, &{{{67502796 50331648}} 5 1 5 [261049 261049 261049 64 460240]}, &{{{67568332 50331648}} 5 1 5 [268691 268691 268691 64 460240]}, &{{{67699404 50331648}} 5 1 5 [250229 250229 250229 64 460240]}, &{{{67633868 50331648}} 5 1 5 [282434 282434 282434 64 460240]}, &{{{68092620 50331648}} 5 1 5 [223626 223626 223626 64 460240]}, &{{{68223692 50331648}} 5 1 5 [250341 250341 250341 64 460240]}, &{{{68158156 50331648}} 5 1 5 [230782 230782 230782 64 460240]}, &{{{68289228 50331648}} 5 1 5 [255621 255621 255621 64 460240]}], Keys: [103 104 107 108 112 113 114 115 116 1125 1126 1129 1130 1133 1135 1134 1228 1229 1233 1234 1240 1241 1242 1243 201 203 202 207 206 208 211 212 213 214 215 306 307 308 313 312 315 314 316 1325 1326 1327 1333 1334 1335 305 304 1 2 3 5 4 10 11 12 13 14 1030 1031 1033 1032 1039 1041 1040 1042 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}, ExMap{Objs: [&{{{67174500 50331648}} 5 1 5 [215782 215782 215782 56 460240]}, &{{{67240036 50331648}}
[...]