Belle II Software development
|
Public Member Functions | |
def | __init__ (self, figure=None) |
def | add (self, data, column, cut_column, quantiles, signal_mask=None, bckgrd_mask=None, weight_column=None) |
def | finish (self) |
Public Attributes | |
figure | |
create figure | |
axis | |
define first subplot | |
axis_d1 | |
define second subplot | |
axis_d2 | |
define third subplot | |
Static Public Attributes | |
None | figure = None |
figure which is used to draw | |
None | axis = None |
Main axis which is used to draw. | |
None | axis_d1 = None |
Axis which shows shape of signal. | |
None | axis_d2 = None |
Axis which shows shape of background. | |
Plots change of a distribution of a quantity depending on the cut on a classifier
Definition at line 1067 of file plotting.py.
def __init__ | ( | self, | |
figure = None |
|||
) |
Creates a new figure if None is given, sets the default plot parameters @param figure default draw figure which is used
Reimplemented from Plotter.
Definition at line 1080 of file plotting.py.
def add | ( | self, | |
data, | |||
column, | |||
cut_column, | |||
quantiles, | |||
signal_mask = None , |
|||
bckgrd_mask = None , |
|||
weight_column = None |
|||
) |
Add a new correlation plot. @param data pandas.DataFrame containing all data @param column which is used to calculate distribution histogram @param cut_column which is used to calculate cut on the other quantity defined by column @param quantiles list of quantiles between 0 and 100, defining the different cuts @param weight_column column in data containing the weights for each event
Reimplemented from Plotter.
Definition at line 1102 of file plotting.py.
def finish | ( | self | ) |
Sets limits, title, axis-labels and legend of the plot
Reimplemented from Plotter.
Definition at line 1147 of file plotting.py.
|
static |
Main axis which is used to draw.
Definition at line 1074 of file plotting.py.
axis |
define first subplot
Definition at line 1094 of file plotting.py.
|
static |
Axis which shows shape of signal.
Definition at line 1076 of file plotting.py.
axis_d1 |
define second subplot
Definition at line 1096 of file plotting.py.
|
static |
Axis which shows shape of background.
Definition at line 1078 of file plotting.py.
axis_d2 |
define third subplot
Definition at line 1098 of file plotting.py.
|
static |
figure which is used to draw
Definition at line 1072 of file plotting.py.
figure |
create figure
Definition at line 1087 of file plotting.py.