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:
objectInformation 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 of the weight group
Combination method of the weight group
List of weight information
Weight group XML attributes not represented by dedicated fields
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