36 def __init__(self, f1, f2):
40 def __call__(self, par):
50 return self._f1(p1) + self._f2(p2)
53hB =
ROOT.TH1D(
"hB",
"histo B", 100, 0, 100)
54hSB =
ROOT.TH1D(
"hSB",
"histo S+B", 100, 0, 100)
68fSB =
ROOT.TF1(
"fSB",
"expo + gaus(2)", 0, 100)
93par0 =
np.array([5, 5, -0.1, 100, 30, 10])
117c1 =
ROOT.TCanvas(
"Simfit",
"Simultaneous fit of two histograms", 10, 10, 700, 700)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Class describing the binned data sets : vectors of x coordinates, y values and optionally error on y ...
class describing the range in the coordinates it supports multiple range in a coordinate.
Fitter class, entry point for performing all type of fits.
Documentation for class Functor class.
TMatrixT< Element > & Add(TMatrixT< Element > &target, Element scalar, const TMatrixT< Element > &source)
Modify addition: target += scalar * source.
DataOptions : simple structure holding the options on how the data are filled.