![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, name, latex, unit, plaintext) | |
| getName (self) | |
Public Attributes | |
| name = name | |
| ROOT branch name. | |
| latex = latex | |
| LaTeX string for axis labels. | |
| unit = unit | |
| Unit descriptor for plotting and residuals. | |
| plaintext = plaintext | |
| Plain-text identifier for file naming. | |
Metadata for a scalar observable stored in a single ROOT branch per event.
Parameters
----------
name : str
ROOT branch name.
latex : str
LaTeX string for axis labels (e.g. ``r"$M_{inv}$"``).
unit : Unit
Unit instance describing display and residual units.
plaintext : str
Short plain-text identifier used for file names (e.g. ``"run"``).
Definition at line 48 of file variables.py.
| __init__ | ( | self, | |
| name, | |||
| latex, | |||
| unit, | |||
| plaintext ) |
Initialize a global variable description.
Parameters
----------
name : str
ROOT branch name.
latex : str
LaTeX string for axis labels.
unit : Unit
Unit instance describing display and residual units.
plaintext : str
Short plain-text identifier used for file names.
Definition at line 63 of file variables.py.
| getName | ( | self | ) |
Return a list containing the single ROOT branch name. Returns ------- list of str
Definition at line 86 of file variables.py.
| latex = latex |
LaTeX string for axis labels.
Definition at line 80 of file variables.py.
| name = name |
ROOT branch name.
Definition at line 78 of file variables.py.
| plaintext = plaintext |
Plain-text identifier for file naming.
Definition at line 84 of file variables.py.
| unit = unit |
Unit descriptor for plotting and residuals.
Definition at line 82 of file variables.py.