Skip to content

Commit 1b25234

Browse files
committed
groot/{rdict,rhist,rvers}: add r/w support for TGraphMultiErrors
1 parent 73b9506 commit 1b25234

File tree

9 files changed

+655
-1
lines changed

9 files changed

+655
-1
lines changed

groot/gen.rboot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var (
7272
"TF1",
7373
"TF1AbsComposition", "TF1Convolution", "TF1NormSum", "TF1Parameters",
7474
"TFormula",
75-
"TGraph", "TGraphErrors", "TGraphAsymmErrors",
75+
"TGraph", "TGraphErrors", "TGraphAsymmErrors", "TGraphMultiErrors",
7676
"TH1", "TH1C", "TH1D", "TH1F", "TH1I", "TH1K", "TH1S",
7777
"TH2", "TH2C", "TH2D", "TH2F", "TH2I", "TH2Poly", "TH2PolyBin", "TH2S",
7878
"TLimit", "TLimitDataSource",

groot/rdict/cxx_root_streamers_gen.go

+119
Original file line numberDiff line numberDiff line change
@@ -3090,6 +3090,125 @@ func init() {
30903090
Factor: 0.000000,
30913091
}.New(), 4, "fNpoints", "TGraph"),
30923092
}))
3093+
StreamerInfos.Add(NewCxxStreamerInfo("TGraphMultiErrors", 1, 0x1a63990a, []rbytes.StreamerElement{
3094+
NewStreamerBase(Element{
3095+
Name: *rbase.NewNamed("TGraph", "Graph graphics class"),
3096+
Type: rmeta.Base,
3097+
Size: 0,
3098+
ArrLen: 0,
3099+
ArrDim: 0,
3100+
MaxIdx: [5]int32{0, 100136037, 0, 0, 0},
3101+
Offset: 0,
3102+
EName: "BASE",
3103+
XMin: 0.000000,
3104+
XMax: 0.000000,
3105+
Factor: 0.000000,
3106+
}.New(), 4),
3107+
&StreamerBasicType{StreamerElement: Element{
3108+
Name: *rbase.NewNamed("fNYErrors", "The amount of different y-errors"),
3109+
Type: rmeta.Int,
3110+
Size: 4,
3111+
ArrLen: 0,
3112+
ArrDim: 0,
3113+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3114+
Offset: 0,
3115+
EName: "int",
3116+
XMin: 0.000000,
3117+
XMax: 0.000000,
3118+
Factor: 0.000000,
3119+
}.New()},
3120+
&StreamerBasicType{StreamerElement: Element{
3121+
Name: *rbase.NewNamed("fSumErrorsMode", "How y errors are summed: kOnlyFirst = Only First; kSquareSum = Squared Sum; kSum ="),
3122+
Type: rmeta.Int,
3123+
Size: 4,
3124+
ArrLen: 0,
3125+
ArrDim: 0,
3126+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3127+
Offset: 0,
3128+
EName: "int",
3129+
XMin: 0.000000,
3130+
XMax: 0.000000,
3131+
Factor: 0.000000,
3132+
}.New()},
3133+
NewStreamerBasicPointer(Element{
3134+
Name: *rbase.NewNamed("fExL", "[fNpoints] array of X low errors"),
3135+
Type: 48,
3136+
Size: 8,
3137+
ArrLen: 0,
3138+
ArrDim: 0,
3139+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3140+
Offset: 0,
3141+
EName: "double*",
3142+
XMin: 0.000000,
3143+
XMax: 0.000000,
3144+
Factor: 0.000000,
3145+
}.New(), 4, "fNpoints", "TGraph"),
3146+
NewStreamerBasicPointer(Element{
3147+
Name: *rbase.NewNamed("fExH", "[fNpoints] array of X high errors"),
3148+
Type: 48,
3149+
Size: 8,
3150+
ArrLen: 0,
3151+
ArrDim: 0,
3152+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3153+
Offset: 0,
3154+
EName: "double*",
3155+
XMin: 0.000000,
3156+
XMax: 0.000000,
3157+
Factor: 0.000000,
3158+
}.New(), 4, "fNpoints", "TGraph"),
3159+
NewCxxStreamerSTL(Element{
3160+
Name: *rbase.NewNamed("fEyL", "two dimensional array of Y low errors"),
3161+
Type: rmeta.Streamer,
3162+
Size: 24,
3163+
ArrLen: 0,
3164+
ArrDim: 0,
3165+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3166+
Offset: 0,
3167+
EName: "vector<TArrayD>",
3168+
XMin: 0.000000,
3169+
XMax: 0.000000,
3170+
Factor: 0.000000,
3171+
}.New(), 1, 61),
3172+
NewCxxStreamerSTL(Element{
3173+
Name: *rbase.NewNamed("fEyH", "two dimensional array of Y high errors"),
3174+
Type: rmeta.Streamer,
3175+
Size: 24,
3176+
ArrLen: 0,
3177+
ArrDim: 0,
3178+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3179+
Offset: 0,
3180+
EName: "vector<TArrayD>",
3181+
XMin: 0.000000,
3182+
XMax: 0.000000,
3183+
Factor: 0.000000,
3184+
}.New(), 1, 61),
3185+
NewCxxStreamerSTL(Element{
3186+
Name: *rbase.NewNamed("fAttFill", "the AttFill attributes of the different errors"),
3187+
Type: rmeta.Streamer,
3188+
Size: 24,
3189+
ArrLen: 0,
3190+
ArrDim: 0,
3191+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3192+
Offset: 0,
3193+
EName: "vector<TAttFill>",
3194+
XMin: 0.000000,
3195+
XMax: 0.000000,
3196+
Factor: 0.000000,
3197+
}.New(), 1, 61),
3198+
NewCxxStreamerSTL(Element{
3199+
Name: *rbase.NewNamed("fAttLine", "the AttLine attributes of the different errors"),
3200+
Type: rmeta.Streamer,
3201+
Size: 24,
3202+
ArrLen: 0,
3203+
ArrDim: 0,
3204+
MaxIdx: [5]int32{0, 0, 0, 0, 0},
3205+
Offset: 0,
3206+
EName: "vector<TAttLine>",
3207+
XMin: 0.000000,
3208+
XMax: 0.000000,
3209+
Factor: 0.000000,
3210+
}.New(), 1, 61),
3211+
}))
30933212
StreamerInfos.Add(NewCxxStreamerInfo("TH1", 8, 0x1c3740c4, []rbytes.StreamerElement{
30943213
NewStreamerBase(Element{
30953214
Name: *rbase.NewNamed("TNamed", "The basis for a named object (name, title)"),

0 commit comments

Comments
 (0)