![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, name1, name2, latex, unit, plaintext) | |
| getName (self) | |
Public Attributes | |
| name1 = name1 | |
| ROOT branch name for the first track. | |
| name2 = name2 | |
| ROOT branch name for the second track. | |
| 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 an observable with one ROOT branch per track.
Used for two-track events (cosmics, dimuons) where each track has its
own branch.
Parameters
----------
name1 : str
ROOT branch name for the first track.
name2 : str
ROOT branch name for the second track.
latex : str
LaTeX string for axis labels (e.g. ``r"d$_0$"``).
unit : Unit
Unit instance describing display and residual units.
plaintext : str
Short plain-text identifier used for file names (e.g. ``"d"``).
Definition at line 96 of file variables.py.
| __init__ | ( | self, | |
| name1, | |||
| name2, | |||
| latex, | |||
| unit, | |||
| plaintext ) |
Initialize a two-track variable description.
Parameters
----------
name1 : str
ROOT branch name for the first track.
name2 : str
ROOT branch name for the second track.
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 116 of file variables.py.
| getName | ( | self | ) |
Return a list of both ROOT branch names (track 1 then track 2). Returns ------- list of str
Definition at line 143 of file variables.py.
| latex = latex |
LaTeX string for axis labels.
Definition at line 137 of file variables.py.
| name1 = name1 |
ROOT branch name for the first track.
Definition at line 133 of file variables.py.
| name2 = name2 |
ROOT branch name for the second track.
Definition at line 135 of file variables.py.
| plaintext = plaintext |
Plain-text identifier for file naming.
Definition at line 141 of file variables.py.
| unit = unit |
Unit descriptor for plotting and residuals.
Definition at line 139 of file variables.py.