import ROOT
 
 
 
 
 
 
 
 
 
 
frame = 
x.frame(Bins=40, Title=
"P.d.f with visualized 1-sigma error band")
 
 
model.plotOn(frame, VisualizeError=(r, 1), FillColor=
"kOrange")
 
 
model.plotOn(frame, VisualizeError=(r, 1, 
False), DrawOption=
"L", LineWidth=2, LineColor=
"r")
 
 
model.plotOn(frame, VisualizeError=(r, 1), FillColor=
"kOrange", Components=
"bkg")
 
    frame,
    VisualizeError=(r, 1, False),
    DrawOption="L",
    LineWidth=2,
    LineColor="r",
    Components="bkg",
    LineStyle="--",
)
 
 
 
frame2 = 
x.frame(Bins=40, Title=
"Visualization of 2-sigma partial error from (m,m2)")
 
 
 
model.plotOn(frame2, VisualizeError=(r, {m, m2}, 2), FillColor=
"c")
 
model.plotOn(frame2, Components=
"bkg", VisualizeError=(r, {m, m2}, 2), FillColor=
"c")
 
 
 
frame3 = 
x.frame(Bins=40, Title=
"Visualization of 2-sigma partial error from (s,s2)")
 
 
model.plotOn(frame3, VisualizeError=(r, {s, s2}, 2), FillColor=
"g")
 
model.plotOn(frame3, Components=
"bkg", VisualizeError=(r, {fsig}, 2), FillColor=
"g")
 
 
 
frame4 = 
x.frame(Bins=40, Title=
"Visualization of 2-sigma partial error from fsig")
 
 
model.plotOn(frame4, VisualizeError=(r, {fsig}, 2), FillColor=
"m")
 
model.plotOn(frame4, Components=
"bkg", VisualizeError=(r, {fsig}, 2), FillColor=
"m")
 
 
 
c = 
ROOT.TCanvas(
"rf610_visualerror", 
"rf610_visualerror", 800, 800)
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
  [#1] INFO:Fitting -- RooAbsPdf::fitTo(model) fixing normalization set for coefficient determination to observables in data
[#1] INFO:Fitting -- using CPU computation library compiled with -mavx512
[#1] INFO:Fitting -- RooAddition::defaultErrorLevel(nll_model_genData) Summation contains a RooNLLVar, using its error level
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: activating const optimization
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: deactivating const optimization
[#1] INFO:Plotting -- RooAbsReal::plotOn(model) INFO: visualizing 1-sigma uncertainties in parameters (m,s,fsig,m2,s2) from fit result fitresult_model_genData using 315 samplings.
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsReal::plotOn(model) INFO: visualizing 1-sigma uncertainties in parameters (m,s,fsig,m2,s2) from fit result fitresult_model_genData using 315 samplings.
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (bkg)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()