MPF.histograms module¶
-
class
MPF.histograms.Histogram[source]¶ Bases:
object-
addSystematicError(*hists, **kwargs)[source]¶ Add systematic variations to the errorband based on given variational histogram(s).
Parameters: - hists – one ore more histograms to be added
- mode –
how to add and symmetrise the errors?
- symUpDown (default): independently add up and down variations quadratically and symmetrise afterwards
- largest: also add quadratically up and down variations, but then use the max(up, down) as the error
-
clone()[source]¶ Clones a histogram. Until i find out how to do this properly (e.g. with deepcopy) do some stuff manually here
-
color¶
-
fillColor¶
-
lineColor¶
-
markerColor¶
-
markerStyle¶
-
yieldBinNumbers(overFlow=False, underFlow=False)¶
-
-
class
MPF.histograms.HistogramD(histogram, **kwargs)[source]¶ Bases:
ROOT.TH1D,MPF.histograms.Histogram
-
class
MPF.histograms.HistogramF(histogram, **kwargs)[source]¶ Bases:
ROOT.TH1F,MPF.histograms.Histogram
-
class
MPF.histograms.WrapTGraphAsymmErrors(graph, **kwargs)[source]¶ Bases:
ROOT.TGraphAsymmErrors,MPF.histograms.Graph