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

name

Name of the weight group

combine

Combination method of the weight group

weights

List of weight information

extra_attributes

Weight group XML attributes not represented by dedicated fields

attributes

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

property attributes: dict[str, str]

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

combine: str | None

Combination method of the weight group

extra_attributes: dict[str, str]

Weight group XML attributes not represented by dedicated fields

name: str | None

Name of the weight group

weights: list[LHEInitRWGTWeight]

List of weight information