![]() |
Belle II Software release-09-00-03
|


Public Member Functions | |
| def | add (self, data, column, signal_mask, bckgrd_mask, weight_column=None, normed=True) |
| def | finish (self) |
Public Attributes | |
| xmax | |
| Maximum x value. | |
| ymax | |
| Maximum y value. | |
Plots the signal to noise ratio over the cut value (for cut choosing)
Definition at line 339 of file plotting.py.
| def add | ( | self, | |
| data, | |||
| column, | |||
| signal_mask, | |||
| bckgrd_mask, | |||
weight_column = None, |
|||
normed = True |
|||
| ) |
Add a new curve to the plot @param data pandas.DataFrame containing all data @param column which is used to calculate signal to noise ratio for different cuts @param signal_mask boolean numpy.array defining which events are signal events @param bckgrd_mask boolean numpy.array defining which events are background events @param weight_column column in data containing the weights for each event
Reimplemented from Plotter.
Definition at line 348 of file plotting.py.
| def finish | ( | self | ) |
Sets limits, title, axis-labels and legend of the plot
Reimplemented from Plotter.
Definition at line 374 of file plotting.py.
| xmax |
Maximum x value.
Definition at line 364 of file plotting.py.
| ymax |
Maximum y value.
Definition at line 365 of file plotting.py.