File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/cross_section_measurement Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2424from src .cross_section_measurement .lib import closure_tests
2525from tools .file_utilities import write_data_to_JSON
2626from tools .hist_utilities import clean_control_region , \
27- hist_to_value_error_tuplelist
27+ hist_to_value_error_tuplelist , fix_overflow
2828
2929import glob
3030import tools .measurement
@@ -103,7 +103,7 @@ def calculate_normalisation(self):
103103 for sample , hist in histograms .items ():
104104 # TODO: this should be a list of bin-contents
105105 self .initial_normalisation [
106- sample ] = hist_to_value_error_tuplelist (hist )
106+ sample ] = hist_to_value_error_tuplelist (fix_overflow ( hist ) )
107107 if self .method == self .BACKGROUND_SUBTRACTION and sample != 'TTJet' :
108108 self .normalisation [sample ] = self .initial_normalisation [sample ]
109109
You can’t perform that action at this time.
0 commit comments