4 import os, sys, subprocess
12 methods = [
"agg_himet",
"agg_mixed",
"agg_himult",
"agg_1b"]
15 methods = [
'm2lveto',
'm2lveto_el',
'm2lveto_mu',
'm2lveto_lonj',
'm2lveto_hinj',
'm2l',
'mveto',
'm2lvetomet150',
'm2lmet150',
16 'met200',
'met500',
'm5j',
'm1lmet150']
19 methods = [
'm2lveto',
'm2lveto_2015',
'm2lveto_lonj',
'm2lveto_hinj',
'm2l',
'mveto',
20 'm2lmet150',
'm2lvetomet150',
'mvetomet150',
'm2lmet150',
21 'm2lveto_el',
'm2lveto_mu',
'm2lveto_el_2015',
'm2lveto_mu_2015',
22 'm2l_2015',
'mveto_2015',
'm2lmet150_2015',
'm2lvetomet150_2015',
23 'mvetomet150_2015',
'm2lmet150_2015']
25 methods = [
'm2lvetomet150_lonj',
'm2lvetomet150_hinj']
28 os.system(
"./compile.sh")
31 if full_lumi: options = options +
" -f" 32 if do_unblind: options = options +
" -u" 36 for method
in methods:
37 cmd =
"./run/table_all_preds.exe "+options+
" -m "+method
43 if "2015" in method: tag = tag+
"2p3" 45 else: tag = tag+
"0p815" 46 if do_unblind: tag =
"unblind_"+tag
48 texfile =
"txt/table_predictions_"+tag+
"_"+method+
".tex" 49 if os.path.isfile(texfile):
50 os.system(
"pdflatex "+texfile+
" > /dev/null")
51 goodtex.append(texfile)
52 else: missing_files.append([texfile, cmd])
54 for mfile
in missing_files:
55 print "Could not find "+mfile[0]+
". Command is "+mfile[1]