![]() |
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 purity and the efficiency over the cut value (for cut choosing)
Definition at line 277 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 efficiency and purity 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 286 of file plotting.py.
| def finish | ( | self | ) |
Sets limits, title, axis-labels and legend of the plot
Reimplemented from Plotter.
Definition at line 327 of file plotting.py.
| xmax |
Maximum x value.
Definition at line 307 of file plotting.py.
| ymax |
Maximum y value.
Definition at line 308 of file plotting.py.