@@ -326,12 +326,12 @@ def calculate_normalised_xsections( normalisation, category, channel, k_value =
326326 }
327327
328328 if not channel == 'combined' :
329- filename = path_to_JSON + '/xsection_measurement_results/%s/kv%d/%s/normalised_xsection_%s.txt' % ( channel , k_value , category , met_type )
329+ filename = path_to_JSON + '/xsection_measurement_results/%s/kv%d/%s/normalised_xsection_%s.txt' % ( channel , k_value , category , met_type )
330330 else :
331- filename = path_to_JSON + '/xsection_measurement_results/%s/%s/normalised_xsection_%s.txt' % ( channel , category , met_type )
331+ filename = path_to_JSON + '/xsection_measurement_results/%s/%s/normalised_xsection_%s.txt' % ( channel , category , met_type )
332332
333333 if normalise_to_one :
334- filename = filename .replace ( 'normalised_xsection' , 'normalised_to_one_xsection' )
334+ filename = filename .replace ( 'normalised_xsection' , 'normalised_to_one_xsection' )
335335 write_data_to_JSON ( normalised_xsection , filename )
336336
337337if __name__ == '__main__' :
@@ -385,7 +385,7 @@ def calculate_normalised_xsections( normalisation, category, channel, k_value =
385385 file_for_powheg_herwig = File ( measurement_config .unfolding_powheg_herwig , 'read' )
386386 file_for_mcatnlo = File ( measurement_config .unfolding_mcatnlo , 'read' )
387387 file_for_ptreweight = File ( measurement_config .unfolding_ptreweight , 'read' )
388- files_for_pdfs = { 'PDFWeights_%d' % index : File ( measurement_config .unfolding_pdfweights [index ] ) for index in range ( 1 , 46 ) }
388+ files_for_pdfs = { 'PDFWeights_%d' % index : File ( measurement_config .unfolding_pdfweights [index ] ) for index in range ( 1 , 45 ) }
389389
390390 file_for_scaledown = File ( measurement_config .unfolding_scale_down , 'read' )
391391 file_for_scaleup = File ( measurement_config .unfolding_scale_up , 'read' )
@@ -415,7 +415,7 @@ def calculate_normalised_xsections( normalisation, category, channel, k_value =
415415 ttbar_theory_systematics .extend ( [ttbar_theory_systematic_prefix + 'powheg_pythia' , ttbar_theory_systematic_prefix + 'powheg_herwig' ] )
416416 categories .extend ( ttbar_theory_systematics )
417417
418- pdf_uncertainties = ['PDFWeights_%d' % index for index in range ( 1 , 46 )]
418+ pdf_uncertainties = ['PDFWeights_%d' % index for index in range ( 1 , 45 )]
419419 rate_changing_systematics = [systematic + '+' for systematic in measurement_config .rate_changing_systematics .keys ()]
420420 rate_changing_systematics .extend ( [systematic + '-' for systematic in measurement_config .rate_changing_systematics .keys ()] )
421421
0 commit comments