Systematic#

class coffea.nanoevents.methods.base.Systematic[source]#

Bases: object

A base mixin class to describe and build variations on a feature of a nanoevents object.

Attributes Summary

add_systematic

systematics

Return the list of all systematics attached to this object.

Methods Summary

add_kind(kind)

Register a type of systematic variation, which must fulfill the base class interface.

describe_variations()

returns a list of variation names

explodes_how()

This describes how a systematic uncertainty needs to be evaluated in the context of other systematic uncertainties.

Attributes Documentation

add_systematic#
systematics#

Return the list of all systematics attached to this object.

Methods Documentation

classmethod add_kind(kind: str)[source]#

Register a type of systematic variation, which must fulfill the base class interface. Types of systematic variations must be registered here before an actual systematic of that type can be added. For example, by default an up/down systematic is registered, as described in coffea.nanoevents.methods.systematics.UpDownSystematic.

Parameters:

kind (str) – The name of the type of systematic described by this class

abstract describe_variations()[source]#

returns a list of variation names

abstract explodes_how()[source]#

This describes how a systematic uncertainty needs to be evaluated in the context of other systematic uncertainties. i.e. Do you iterate over this keeping all others fixed or do you need to have correlations with other (subsets of) systematics.