Skip to content

Cut analysis tool

Ghost User requested to merge cut_analysis_tool into dataframe_tools

This module allows for a quick overview of the properties of variable. First, you can quickly check the correlation of all your observables/variables with any other variable (mostly your final fitting variable, e.g. m2RecoilSignalSide) with the correlation_analysis function

Second, the function cut_analysis scans a given variable and calculates the optimal right- and left-sided cut and returns the resulting sqrt(signal / signal+bkg) in a given window in your fitting variable. If you pass a filename, it will save the plot there, otherwise it will show the plot.

Edited by Felix Metzner

Merge request reports

Loading