Score#

class montepy.Score(*values)#

Bases: Enum

The physical quantity a Tally scores.

A shallow analog of OpenMC’s tally scores: for MontePy this is just the quantity implied by the tally type (e.g. F4 always scores Score.FLUX). If an FM tally-multiplier card is linked to the tally, scores returns a list of MultiplierScore instead of this enum – see multiplier.

Score is deliberately coarser than TallyType: several tally types report the same physical quantity, so they collapse to one Score (SURFACE_FLUX, CELL_FLUX, and DETECTOR are three distinct TallyType members that all report Score.FLUX – flux is flux, whether it’s tallied at a surface, in a cell, or by a point detector). TallyType answers “how is this number dispatched,” while Score answers “what quantity does it report” – they aren’t redundant.

Added in version 1.6.0b2.

Attributes:

CHARGE_DEPOSITION = 10#

Added in version 1.6.0b3.

COLLISION_HEATING = 9#

Added in version 1.6.0b3.

CURRENT = 1#
ENERGY_DEPOSITION = 6#
FISSION_ENERGY_DEPOSITION = 7#
FLUX = 2#
PULSE_HEIGHT = 8#