EventHistogramSpec

class madspace.EventHistogramSpec(self: madspace._madspace_py.EventHistogramSpec, name: str, min: SupportsFloat, max: SupportsFloat, bin_count: SupportsInt, from_weight: bool = False)

Bases: pybind11_object

One EventHistograms histogram: an observable name and its binning.

property bin_count

Number of bins between min and max (excluding under/overflow).

property from_weight

Histogram the event weight itself, divided by the reference weight given to EventHistograms, instead of an observable of the momenta.

Such a spec has no entry in SubprocessObservables.

property max

Upper edge of the last bin.

property min

Lower edge of the first bin.

property name

Observable name; must match a key of every subprocess’s SubprocessObservables::values, unless from_weight is set.