Taylor expansion of RooFit functions using the taylorExpand function 
  
import ROOT
 
 
 
 
f = 
ROOT.RooFormulaVar(
"f", 
"f", 
"pow(@0,4) -5 * pow(@0,3) +5 * pow(@0,2) + 5 * pow(@0,1) - 6", [x])
 
x0 = 2.0
frame = 
x.frame(Title=
"x^{4} - 5x^{3} + 5x^{2} + 5x - 6")
 
 
taylor_o1.plotOn(frame, Name=
"taylor_o1", LineColor=
"kRed", LineStyle=
"kDashed")
 
taylor_o2.plotOn(frame, Name=
"taylor_o2", LineColor=
"kRed-9", LineStyle=
"kDotted")
 
 
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
  (ELineStyle) (kDashed) : (unsigned int) 2
(ELineStyle) (kDotted) : (unsigned int) 3
- Date
 - November 2021 
 
- Author
 - Rahul Balasubramanian 
 
Definition in file rf710_roopoly.py.