'ORGANIZATION AND SIMULTANEOUS FITS' RooFit tutorial macro #508
RooArgSet and RooArgList tools and tricks
from __future__ import print_function
import ROOT
for arg in [a, b, c, d, e, g]:
print("sclone = ", sclone)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
[#0] WARNING:InputArguments -- The parameter 'b' with range [-10, 10] of the RooGaussian 'g' exceeds the safe range of (0, inf). Advise to limit its range.
sclone = { @0x5608ceef81f0, @0x5608ceef81f8, @0x5608ceef8200, @0x5608ceef8208, @0x5608ceef8210, @0x5608ceef8218 }
RooArgSet::sclone = (a,b,c,d,e,g)
1) RooRealVar:: a = 1
2) RooRealVar:: b = 2
3) RooRealVar:: c = 3 +/- 0.5
4) RooRealVar:: d = 4
5) RooCategory:: e = sig(idx = 0)
6) RooGaussian:: g = 0.882497
1) 0x5608cec1da00 RooRealVar:: a = 1 C L(-10 - 10) "a"
2) 0x5608cebf69e0 RooRealVar:: b = 2 C L(-10 - 10) "b"
3) 0x5608ceb54de0 RooRealVar:: c = 3 +/- 0.5 L(-10 - 10) "c"
4) 0x5608ceb21620 RooRealVar:: d = 4 L(-10 - 10) "d"
5) 0x5608cee8c3e0 RooCategory:: e = sig(idx = 0)
"e"
6) 0x5608ceb64930 RooGaussian:: g[ x=x mean=a sigma=b ] = 0.882497 "g"
- Date
- February 2018
- Authors
- Clemens Lange, Wouter Verkerke (C version)
Definition in file rf508_listsetmanip.py.