pylhe.LHEWeightGroup

class pylhe.LHEWeightGroup(weights: list[LHEWeight], attrib: dict[str, str], name: str | None = None, combine: str | None = None)[source]

Bases: object

Information about a weight group.

__init__(weights: list[LHEWeight], attrib: dict[str, str], name: str | None = None, combine: str | None = None) None[source]

Methods

__init__(weights, attrib[, name, combine])

Attributes

combine

Combination method of the weight group, retrieved from the attributes.

name

Name of the weight group, retrieved from the attributes.

attributes

Weight group XML attributes

weights

List of weight information

attributes: dict[str, str]

Weight group XML attributes

property combine: str

Combination method of the weight group, retrieved from the attributes.

property name: str

Name of the weight group, retrieved from the attributes.

weights: list[LHEWeight]

List of weight information