![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self, input_file='../VxdCdcValidationHarvested.root', output_file='VxdCdcMergerValidation.root') | |
collect_histograms (self) | |
plot (self) | |
Static Public Member Functions | |
histogram_plot (hist, title, x_variable, x_unit=None, description='', check='', contact='', meta_options='') | |
Public Attributes | |
input_file = input_file | |
cached name of the input file | |
output_file = output_file | |
cached name of the output file | |
hist_merged_hits = ROOT.TH1F("merged_hits", "Merged Hits", 70, 0, 140) | |
1D histogram of merged hits | |
hist_good_over_pt = ROOT.TProfile("good_over_pt", "Good Merge over Pt", 50, 0, 4) | |
Profile histogram of good merged hits by transverse momentum. | |
hist_good_over_theta = ROOT.TProfile("good_over_theta", "Good Merge over Theta", 50, 0, 4) | |
Profile histogram of good merged hits by polar angle. | |
Create efficiency plots for the V0 validation
Definition at line 26 of file vxdCdcMergerValidationCreatePlots.py.
__init__ | ( | self, | |
input_file = '../VxdCdcValidationHarvested.root', | |||
output_file = 'VxdCdcMergerValidation.root' ) |
Constructor
Definition at line 29 of file vxdCdcMergerValidationCreatePlots.py.
collect_histograms | ( | self | ) |
Fill the histograms in each event
Definition at line 43 of file vxdCdcMergerValidationCreatePlots.py.
|
static |
Label and annotate the histograms
Definition at line 56 of file vxdCdcMergerValidationCreatePlots.py.
plot | ( | self | ) |
Draw all of the histograms to the output ROOT file
Definition at line 70 of file vxdCdcMergerValidationCreatePlots.py.
hist_good_over_pt = ROOT.TProfile("good_over_pt", "Good Merge over Pt", 50, 0, 4) |
Profile histogram of good merged hits by transverse momentum.
Definition at line 39 of file vxdCdcMergerValidationCreatePlots.py.
hist_good_over_theta = ROOT.TProfile("good_over_theta", "Good Merge over Theta", 50, 0, 4) |
Profile histogram of good merged hits by polar angle.
Definition at line 41 of file vxdCdcMergerValidationCreatePlots.py.
hist_merged_hits = ROOT.TH1F("merged_hits", "Merged Hits", 70, 0, 140) |
1D histogram of merged hits
Definition at line 37 of file vxdCdcMergerValidationCreatePlots.py.
input_file = input_file |
cached name of the input file
Definition at line 32 of file vxdCdcMergerValidationCreatePlots.py.
output_file = output_file |
cached name of the output file
Definition at line 34 of file vxdCdcMergerValidationCreatePlots.py.