Belle II Software development
|
Public Member Functions | |
def | add (self, data, column, signal_mask, bckgrd_mask, weight_column=None, label=None) |
def | finish (self) |
Public Attributes | |
xmax | |
Maximum x value. | |
ymax | |
Maximum y value. | |
Plots the purity over the efficiency also known as ROC curve
Definition at line 385 of file plotting.py.
def add | ( | self, | |
data, | |||
column, | |||
signal_mask, | |||
bckgrd_mask, | |||
weight_column = None , |
|||
label = None |
|||
) |
Add a new curve to the ROC 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 394 of file plotting.py.
def finish | ( | self | ) |
Sets limits, title, axis-labels and legend of the plot
Reimplemented from Plotter.
Definition at line 418 of file plotting.py.
xmax |
Maximum x value.
Definition at line 407 of file plotting.py.
ymax |
Maximum y value.
Definition at line 408 of file plotting.py.