Skip to content

Commit

Permalink
groot: bump to ROOT-6.32.00
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Binet <binet@cern.ch>
  • Loading branch information
sbinet committed Jun 20, 2024
1 parent 7c09e9c commit 0466a8c
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
GOPROXY: "https://proxy.golang.org"
ROOT_VERSION: "6.30.02"
ROOT_VERSION: "6.32.00"
TAGS: "-tags=ci"
COVERAGE: "-coverpkg=go-hep.org/x/hep/..."
EGL_PLATFORM: "x11"
Expand Down
2 changes: 1 addition & 1 deletion ci/build-cxx-root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {
log.SetPrefix("")
log.SetFlags(0)

rvers := flag.String("root-version", "6.30.02", "ROOT version to build")
rvers := flag.String("root-version", "6.32.00", "ROOT version to build")
nproc := flag.Int("j", runtime.NumCPU(), "number of parallel build processes")

flag.Parse()
Expand Down
2 changes: 1 addition & 1 deletion ci/install-cxx-root.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
log.SetFlags(0)

var (
rvers = flag.String("root-version", "6.30.02", "ROOT version to install")
rvers = flag.String("root-version", "6.32.00", "ROOT version to install")
odir = flag.String("o", "", "install directory for ROOT")
)

Expand Down
57 changes: 35 additions & 22 deletions groot/rdict/cxx_root_streamers_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -3144,7 +3144,7 @@ func init() {
Factor: 0.000000,
}.New()},
}))
StreamerInfos.Add(NewCxxStreamerInfo("TGraph", 4, 0x5f7f465, []rbytes.StreamerElement{
StreamerInfos.Add(NewCxxStreamerInfo("TGraph", 5, 0xb932984f, []rbytes.StreamerElement{
NewStreamerBase(Element{
Name: *rbase.NewNamed("TNamed", "The basis for a named object (name, title)"),
Type: rmeta.Base,
Expand Down Expand Up @@ -3222,7 +3222,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fY", "[fNpoints] array of Y points"),
Type: 48,
Expand All @@ -3235,7 +3235,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
&StreamerObjectPointer{StreamerElement: Element{
Name: *rbase.NewNamed("fFunctions", "Pointer to list of functions (fits and user)"),
Type: rmeta.ObjectP,
Expand Down Expand Up @@ -3288,21 +3288,34 @@ func init() {
XMax: 0.000000,
Factor: 0.000000,
}.New()},
&StreamerString{StreamerElement: Element{
Name: *rbase.NewNamed("fOption", "Options used for drawing the graph"),
Type: rmeta.TString,
Size: 24,
ArrLen: 0,
ArrDim: 0,
MaxIdx: [5]int32{0, 0, 0, 0, 0},
Offset: 0,
EName: "TString",
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New()},
}))
StreamerInfos.Add(NewCxxStreamerInfo("TGraphErrors", 3, 0x2a7ce30f, []rbytes.StreamerElement{
StreamerInfos.Add(NewCxxStreamerInfo("TGraphErrors", 3, 0xbdadb119, []rbytes.StreamerElement{
NewStreamerBase(Element{
Name: *rbase.NewNamed("TGraph", "Graph graphics class"),
Type: rmeta.Base,
Size: 0,
ArrLen: 0,
ArrDim: 0,
MaxIdx: [5]int32{0, 100136037, 0, 0, 0},
MaxIdx: [5]int32{0, -1187866545, 0, 0, 0},
Offset: 0,
EName: "BASE",
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4),
}.New(), 5),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fEX", "[fNpoints] array of X errors"),
Type: 48,
Expand All @@ -3315,7 +3328,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fEY", "[fNpoints] array of Y errors"),
Type: 48,
Expand All @@ -3328,22 +3341,22 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
}))
StreamerInfos.Add(NewCxxStreamerInfo("TGraphAsymmErrors", 3, 0xcc46af3b, []rbytes.StreamerElement{
StreamerInfos.Add(NewCxxStreamerInfo("TGraphAsymmErrors", 3, 0x206d5315, []rbytes.StreamerElement{
NewStreamerBase(Element{
Name: *rbase.NewNamed("TGraph", "Graph graphics class"),
Type: rmeta.Base,
Size: 0,
ArrLen: 0,
ArrDim: 0,
MaxIdx: [5]int32{0, 100136037, 0, 0, 0},
MaxIdx: [5]int32{0, -1187866545, 0, 0, 0},
Offset: 0,
EName: "BASE",
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4),
}.New(), 5),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fEXlow", "[fNpoints] array of X low errors"),
Type: 48,
Expand All @@ -3356,7 +3369,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fEXhigh", "[fNpoints] array of X high errors"),
Type: 48,
Expand All @@ -3369,7 +3382,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fEYlow", "[fNpoints] array of Y low errors"),
Type: 48,
Expand All @@ -3382,7 +3395,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fEYhigh", "[fNpoints] array of Y high errors"),
Type: 48,
Expand All @@ -3395,22 +3408,22 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
}))
StreamerInfos.Add(NewCxxStreamerInfo("TGraphMultiErrors", 1, 0x1a63990a, []rbytes.StreamerElement{
StreamerInfos.Add(NewCxxStreamerInfo("TGraphMultiErrors", 1, 0xb3a16708, []rbytes.StreamerElement{
NewStreamerBase(Element{
Name: *rbase.NewNamed("TGraph", "Graph graphics class"),
Type: rmeta.Base,
Size: 0,
ArrLen: 0,
ArrDim: 0,
MaxIdx: [5]int32{0, 100136037, 0, 0, 0},
MaxIdx: [5]int32{0, -1187866545, 0, 0, 0},
Offset: 0,
EName: "BASE",
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4),
}.New(), 5),
&StreamerBasicType{StreamerElement: Element{
Name: *rbase.NewNamed("fNYErrors", "The amount of different y-errors"),
Type: rmeta.Int,
Expand Down Expand Up @@ -3449,7 +3462,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewStreamerBasicPointer(Element{
Name: *rbase.NewNamed("fExH", "[fNpoints] array of X high errors"),
Type: 48,
Expand All @@ -3462,7 +3475,7 @@ func init() {
XMin: 0.000000,
XMax: 0.000000,
Factor: 0.000000,
}.New(), 4, "fNpoints", "TGraph"),
}.New(), 5, "fNpoints", "TGraph"),
NewCxxStreamerSTL(Element{
Name: *rbase.NewNamed("fEyL", "Two dimensional array of Y low errors"),
Type: rmeta.Streamer,
Expand Down Expand Up @@ -6839,7 +6852,7 @@ func init() {
Factor: 0.000000,
}.New()},
&StreamerBasicType{StreamerElement: Element{
Name: *rbase.NewNamed("fIsRange", "(=kTRUE if leaf has a range, kFALSE otherwise). This is equivalent to being a 'leafcount'. For a TLeafElement the range information is actually store in the TBranchElement."),
Name: *rbase.NewNamed("fIsRange", "(=true if leaf has a range, false otherwise). This is equivalent to being a 'leafcount'. For a TLeafElement the range information is actually store in the TBranchElement."),
Type: rmeta.Bool,
Size: 1,
ArrLen: 0,
Expand All @@ -6852,7 +6865,7 @@ func init() {
Factor: 0.000000,
}.New()},
&StreamerBasicType{StreamerElement: Element{
Name: *rbase.NewNamed("fIsUnsigned", "(=kTRUE if unsigned, kFALSE otherwise)"),
Name: *rbase.NewNamed("fIsUnsigned", "(=true if unsigned, false otherwise)"),
Type: rmeta.Bool,
Size: 1,
ArrLen: 0,
Expand Down
4 changes: 2 additions & 2 deletions groot/rtree/writer_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func Example_createEventNtupleNoSplit() {
// -- filled tree with 5 entries
// -- read back ROOT file
// === [../testdata/groot-event-ntuple-nosplit.root] ===
// version: 63002
// version: 63200
// TTree mytree (entries=5)
// evt "evt" TBranchElement
//
Expand Down Expand Up @@ -627,7 +627,7 @@ func Example_createEventNtupleFullSplit() {
// -- filled tree with 5 entries
// -- read back ROOT file
// === [../testdata/groot-event-ntuple-fullsplit.root] ===
// version: 63002
// version: 63200
// TTree mytree (entries=5)
// i32 "i32/I" TBranch
// f64 "f64/D" TBranch
Expand Down
4 changes: 2 additions & 2 deletions groot/rvers/versions_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package rvers

// ROOT version
const ROOT = 63002
const ROOT = 63200

// ROOT classes versions
const (
Expand Down Expand Up @@ -70,7 +70,7 @@ const (
F1NormSum = 1 // ROOT version for TF1NormSum
F1Parameters = 1 // ROOT version for TF1Parameters
Formula = 13 // ROOT version for TFormula
Graph = 4 // ROOT version for TGraph
Graph = 5 // ROOT version for TGraph
GraphErrors = 3 // ROOT version for TGraphErrors
GraphAsymmErrors = 3 // ROOT version for TGraphAsymmErrors
GraphMultiErrors = 1 // ROOT version for TGraphMultiErrors
Expand Down

0 comments on commit 0466a8c

Please sign in to comment.