![]() |
Belle II Software development
|
Public Member Functions | |
set_descr_shifter (self, histogram, description, check) | |
set_descr_expert (self, histogram, description, check) | |
set_style (self, histogram, xtitle, ytitle) | |
get_relative (self, hist1, hist2, title, particle, trgbit) | |
initialize (self) | |
beginRun (self) | |
event (self) | |
endRun (self) | |
terminate (self) | |
Public Attributes | |
tfile = TFile("./TRGValidation.root", "update") | |
output file | |
int | Nevent = 0 |
number of events | |
hist_inbit = TH1F("hin", "trigger input bits", n_inbit_test, 0, n_inbit_test) | |
hist_outbit = TH1F("hout", "trigger output bits", n_oubit_test, 0, n_oubit_test) | |
h_E_ECL = TH1F("h_E_ECL", "ECL cluster energy [50 MeV]", 100, 0, 5) | |
validation histogram | |
h_Esum_ECL = TH1F("h_Esum_ECL", "sum of ECL cluster energy [50 MeV]", 100, 0, 5) | |
validation histogram | |
h_theta_ECL = TH1F("h_theta_ECL", "TRG ECL cluster #theta [1.4 degrees]", 128, 0, 180) | |
validation histogram | |
h_thetaID_ECL = TH1F("h_thetaID_ECL", "ECL cluster TC ID", 610, 0, 610) | |
validation histogram | |
h_phi_ECL = TH1F("h_phi_ECL", "TRG ECL cluster phi [2.0 degrees]", 180, -180, 180) | |
validation histogram | |
h_sector_BKLM = TH1F("h_sector_BKLM", "BKLM TRG hit sector", 10, 0, 10) | |
validation histogram | |
h_sector_EKLM = TH1F("h_sector_EKLM", "EKLM TRG hit sector", 10, 0, 10) | |
validation histogram | |
hist_inbit_expert = TH1F("hin_expert", "trigger input bits", n_inbit_expert, 0, n_inbit_expert) | |
hist_outbit_expert = TH1F("hout_expert", "trigger output bits", n_oubit_expert, 0, n_oubit_expert) | |
d_w = TH1F("d_w", "#Deltaw of CDC 2D finder, w = 0.00449/p_{t}", 50, -0.02, 0.02) | |
validation histogram | |
d_w_2 = TH1F("d_w_2", "d_w_2", 50, -0.02, 0.02) | |
validation histogram | |
d_phi = TH1F("d_phi", "#Delta#phi of CDC 2D finder", 50, -0.5, 0.5) | |
validation histogram | |
d_phi_2 = TH1F("d_phi_2", "d_phi_2", 50, -0.5, 0.5) | |
validation histogram | |
d_phi_3 = TH1F("d_phi_3", "d_phi_3", 50, -0.5, 0.5) | |
validation histogram | |
d_z0_3d = TH1F("d_z0_3d", "#Deltaz0 of CDC 3D fitter", 60, -30, 30) | |
validation histogram | |
d_z0_nn = TH1F("d_z0_nn", "#Deltaz0 of CDC Neuro", 60, -30, 30) | |
validation histogram | |
d_E_ECL = TH1F("d_E_ECL", "#DeltaE of ECL clustering", 100, -6, 6) | |
validation histogram | |
Make validation histograms for trg ecl/cdc/klm
Definition at line 358 of file TRGValidation.py.
beginRun | ( | self | ) |
reset all histograms at the begin of a new run
Definition at line 621 of file TRGValidation.py.
endRun | ( | self | ) |
end of run
Definition at line 688 of file TRGValidation.py.
event | ( | self | ) |
event loop
Definition at line 636 of file TRGValidation.py.
get_relative | ( | self, | |
hist1, | |||
hist2, | |||
title, | |||
particle, | |||
trgbit ) |
Get relative ratio between two hists. :param hist1 numerator :param hist2 denominator :param title new histogram title :param particle particle name :param trgbit trigger bit
Definition at line 412 of file TRGValidation.py.
initialize | ( | self | ) |
initialize class members
Definition at line 443 of file TRGValidation.py.
set_descr_expert | ( | self, | |
histogram, | |||
description, | |||
check ) |
Sets description, check and contact to validation histogram. :param histogram validation histogram :param description description text :param check information on what to check in comparison with reference
Definition at line 380 of file TRGValidation.py.
set_descr_shifter | ( | self, | |
histogram, | |||
description, | |||
check ) |
Sets description, check and contact to validation histogram. :param histogram validation histogram :param description description text :param check information on what to check in comparison with reference
Definition at line 363 of file TRGValidation.py.
set_style | ( | self, | |
histogram, | |||
xtitle, | |||
ytitle ) |
Sets x-y titles, and sets histogram style. :param histogram validation histogram :param xtitle X-axis title :param xtitle Y-axis title
Definition at line 397 of file TRGValidation.py.
terminate | ( | self | ) |
write histograms
Definition at line 695 of file TRGValidation.py.
d_E_ECL = TH1F("d_E_ECL", "#DeltaE of ECL clustering", 100, -6, 6) |
validation histogram
Definition at line 615 of file TRGValidation.py.
d_phi = TH1F("d_phi", "#Delta#phi of CDC 2D finder", 50, -0.5, 0.5) |
validation histogram
Definition at line 577 of file TRGValidation.py.
d_phi_2 = TH1F("d_phi_2", "d_phi_2", 50, -0.5, 0.5) |
validation histogram
Definition at line 583 of file TRGValidation.py.
d_phi_3 = TH1F("d_phi_3", "d_phi_3", 50, -0.5, 0.5) |
validation histogram
Definition at line 589 of file TRGValidation.py.
d_w = TH1F("d_w", "#Deltaw of CDC 2D finder, w = 0.00449/p_{t}", 50, -0.02, 0.02) |
validation histogram
Definition at line 564 of file TRGValidation.py.
d_w_2 = TH1F("d_w_2", "d_w_2", 50, -0.02, 0.02) |
validation histogram
Definition at line 568 of file TRGValidation.py.
d_z0_3d = TH1F("d_z0_3d", "#Deltaz0 of CDC 3D fitter", 60, -30, 30) |
validation histogram
Definition at line 601 of file TRGValidation.py.
d_z0_nn = TH1F("d_z0_nn", "#Deltaz0 of CDC Neuro", 60, -30, 30) |
validation histogram
Definition at line 608 of file TRGValidation.py.
h_E_ECL = TH1F("h_E_ECL", "ECL cluster energy [50 MeV]", 100, 0, 5) |
validation histogram
Definition at line 504 of file TRGValidation.py.
h_Esum_ECL = TH1F("h_Esum_ECL", "sum of ECL cluster energy [50 MeV]", 100, 0, 5) |
validation histogram
Definition at line 509 of file TRGValidation.py.
h_phi_ECL = TH1F("h_phi_ECL", "TRG ECL cluster phi [2.0 degrees]", 180, -180, 180) |
validation histogram
Definition at line 524 of file TRGValidation.py.
h_sector_BKLM = TH1F("h_sector_BKLM", "BKLM TRG hit sector", 10, 0, 10) |
validation histogram
Definition at line 529 of file TRGValidation.py.
h_sector_EKLM = TH1F("h_sector_EKLM", "EKLM TRG hit sector", 10, 0, 10) |
validation histogram
Definition at line 534 of file TRGValidation.py.
h_theta_ECL = TH1F("h_theta_ECL", "TRG ECL cluster #theta [1.4 degrees]", 128, 0, 180) |
validation histogram
Definition at line 514 of file TRGValidation.py.
h_thetaID_ECL = TH1F("h_thetaID_ECL", "ECL cluster TC ID", 610, 0, 610) |
validation histogram
Definition at line 519 of file TRGValidation.py.
hist_inbit = TH1F("hin", "trigger input bits", n_inbit_test, 0, n_inbit_test) |
Definition at line 478 of file TRGValidation.py.
hist_inbit_expert = TH1F("hin_expert", "trigger input bits", n_inbit_expert, 0, n_inbit_expert) |
Definition at line 540 of file TRGValidation.py.
hist_outbit = TH1F("hout", "trigger output bits", n_oubit_test, 0, n_oubit_test) |
Definition at line 487 of file TRGValidation.py.
hist_outbit_expert = TH1F("hout_expert", "trigger output bits", n_oubit_expert, 0, n_oubit_expert) |
Definition at line 547 of file TRGValidation.py.
Nevent = 0 |
number of events
Definition at line 452 of file TRGValidation.py.
tfile = TFile("./TRGValidation.root", "update") |
output file
Definition at line 450 of file TRGValidation.py.