pylhe.LHEInitRWGTWeightGroup

class pylhe.LHEInitRWGTWeightGroup(name: str | None = None, combine: str | None = None, weights: list[LHEInitRWGTWeight] = <factory>, extra_attributes: dict[str, str]=<factory>)[source]

Bases: object

Information about a weight group.

__init__(name: str | None = None, combine: str | None = None, weights: list[LHEInitRWGTWeight] = <factory>, extra_attributes: dict[str, str]=<factory>) None

Methods

__init__(name, combine, weights, ...)

Attributes

attributes

Return all the attributes of the weight group, including the name and combine attributes.

combine

Combination method of the weight group

name

Name of the weight group

weights

List of weight information

extra_attributes

Weight group XML attributes not represented by dedicated fields

property attributes: dict[str, str]

Return all the attributes of the weight group, including the name and combine attributes.

combine: str | None = None

Combination method of the weight group

extra_attributes: dict[str, str]

Weight group XML attributes not represented by dedicated fields

name: str | None = None

Name of the weight group

weights: list[LHEInitRWGTWeight]

List of weight information