21a = ROOT.RooRealVar(
"a",
"a", 1, -10, 10)
22b = ROOT.RooRealVar(
"b",
"b", 2, -10, 10)
23c = ROOT.RooRealVar(
"c",
"c", 3, -10, 10)
24d = ROOT.RooRealVar(
"d",
"d", 4, -10, 10)
25x = ROOT.RooRealVar(
"x",
"x", 0, -10, 10)
31e = ROOT.RooCategory(
"e",
"e")
36g = ROOT.RooGaussian(
"g",
"g", x, a, b)
45s = ROOT.RooArgSet(a, b)
68subset1 = s.selectByName(
"a,b,c")
71subset2 = s.selectByAttrib(
"Constant", ROOT.kTRUE)
74s1 = ROOT.RooArgSet(a, b, c)
75s2 = ROOT.RooArgSet(c, d, e)
76subset3 = s1.selectCommon(s2)
86for arg
in [a, b, c, d, e, g]:
91sclone = s3.Clone(
"sclone")
95sclone2 = s3.snapshot()
105sclone3 = s3.snapshot(
True)
111print(
"sclone = ", sclone)
128l = ROOT.RooArgList(a, b, c, d)
132l.add(ROOT.RooArgList(a, b, c, d))