![]() |
Belle II Software
release-08-02-05
|
Public Member Functions | |
| def | __init__ (self, input_file='../V0ValidationHarvested.root', output_file='V0Validation.root') |
| def | collect_histograms (self) |
| def | plot (self) |
Static Public Member Functions | |
| def | efficiency_plot (found, all, title, x_variable, x_unit, description='', check='', contact='', meta_options='') |
| def | histogram_plot (hist, title, x_variable, x_unit=None, description='', check='', contact='', meta_options='') |
| def | histogram_2d_plot (hist, title, x_variable, y_variable, x_unit=None, y_unit=None, description='', check='', contact='', meta_options='') |
Public Attributes | |
| input_file | |
| Input file. | |
| output_file | |
| Output file. | |
| hist_r | |
| MCTruth R. | |
| hist_theta | |
| MCTruth Theta. | |
| hist_phi | |
| MCTruth Phi. | |
| hist_p | |
| MCTruth Momentum. | |
| hist_r_found | |
| Reconstructed R. | |
| hist_theta_found | |
| Reconstructed Theta. | |
| hist_phi_found | |
| Reconstructed Phi. | |
| hist_p_found | |
| Reconstructed Momentum. | |
| hist_invariant_mass | |
| Invariant mass histogram. | |
| hist_invariant_mass_res | |
| Invariant mass residual histogram. | |
| hist_chi2 | |
| Chi2 of all vertex fits. | |
| hist_chi2_inside | |
| Chi2 of vertex fit inside beampipe. | |
| hist_chi2_outside | |
| Chi2 of vertex fit outside beampipe. | |
| hist_mass_vs_mc_mass | |
| 2D histogram; invariant mass vs reconstructed mass | |
| hist_invariant_mass_residuum | |
| Invariant mass residuum histogram. | |
| hist_r_residuum | |
| R residuum histogram. | |
| hist_theta_residuum | |
| Theta residuum histogram. | |
| hist_phi_residuum | |
| Phi residuum histogram. | |
| hist_p_residuum | |
| Momentum residuum histogram. | |
Reads the output created by the V0Harvester and creates plots from it.
Definition at line 26 of file v0ValidationCreatePlots.py.
| def __init__ | ( | self, | |
input_file = '../V0ValidationHarvested.root', |
|||
output_file = 'V0Validation.root' |
|||
| ) |
Reads the output created by the V0Harvester defines histograms which will be filled later. :param input_file: Output of V0ValidationHarvester. :param output_file: Plots displayed in the V0Validation.
Definition at line 30 of file v0ValidationCreatePlots.py.
| def collect_histograms | ( | self | ) |
Fills the defined histograms with the V0Harvester data. :return: self
Definition at line 85 of file v0ValidationCreatePlots.py.
|
static |
Create an efficiency plot. :param found: Histogram with all found entries (i.e. reconstructed). :param all: Histogram with all entries (i.e. MCTruth). :param title: Title of the histogram. :param x_variable: x variable. :param x_unit: x unit. :param description: Description text shown on the validation page. :param check: Check text shown on the validation page. :param contact: Contact text shown on the validation page. :param meta_options: Meta options for the validation page. :return: ROOT.TEfficiency
Definition at line 126 of file v0ValidationCreatePlots.py.
|
static |
Create a 2d hisogram plot. :param hist: TH2F :param title: Title of the histogram. :param x_variable: x variable :param y_variable: y variable :param x_unit: x unit :param y_unit: y unit :param description: Description text shown on the validation page. :param check: Check text shown on the validation page. :param contact: Contact text shown on the validation page. :param meta_options: Meta options for the validation page. :return: ROOT.TEfficiency :return:
Definition at line 179 of file v0ValidationCreatePlots.py.
|
static |
Create (annotate) an histogram plot. :param hist: TH1F :param title: Title of the histogram. :param x_variable: x variable. :param x_unit: x unit. :param description: Description text shown on the validation page. :param check: Check text shown on the validation page. :param contact: Contact text shown on the validation page. :param meta_options: Meta options for the validation page. :return: modified hist
Definition at line 152 of file v0ValidationCreatePlots.py.
| def plot | ( | self | ) |
Create plots with the data filled with 'collect_histograms'. :return: self
Definition at line 206 of file v0ValidationCreatePlots.py.