Belle II Software development
|
Public Member Functions | |
def | add (self, data, column, signal_mask, bckgrd_mask, weight_column=None) |
def | finish (self) |
Public Attributes | |
xmax | |
Maximum x value. | |
ymax | |
Maximum y value. | |
Plots the purity in each bin over the classifier output.
Definition at line 539 of file plotting.py.
def add | ( | self, | |
data, | |||
column, | |||
signal_mask, | |||
bckgrd_mask, | |||
weight_column = None |
|||
) |
Add a new curve to the Diagonal plot @param data pandas.DataFrame containing all data @param column which is used to calculate 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 548 of file plotting.py.
def finish | ( | self | ) |
Sets limits, title, axis-labels and legend of the plot
Reimplemented from Plotter.
Definition at line 569 of file plotting.py.
xmax |
Maximum x value.
Definition at line 560 of file plotting.py.
ymax |
Maximum y value.
Definition at line 562 of file plotting.py.