Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 3 additions & 21 deletions src/HH4b/boosted/Categories.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,9 @@
"# QCD CR (fail region) is T_Xbb(H2) < 0.85, excluding the qqHH SR\n",
"ax2.fill_between([0.03, 0.9825], [0.3, 0.3], y2=[0.85, 0.85], color=\"#9c9ca1\", alpha=1)\n",
"ax2.fill_between([0.9825, 1], [0.3, 0.3], y2=[0.8, 0.8], color=\"#9c9ca1\", alpha=1)\n",
"# events failing the qqHH SR with T_Xbb(H2) > 0.85 are categorized in D(ggHH) (left)\n",
"ax2.fill_between(\n",
" [0.03, 0.9825],\n",
" [0.85, 0.85],\n",
" y2=[1, 1],\n",
" facecolor=\"white\",\n",
" edgecolor=\"#9c9ca1\",\n",
" hatch=\"//\",\n",
" linewidth=0,\n",
")\n",
"# events failing the qqHH SR with T_Xbb(H2) > 0.85 are neither in the qqHH SR nor in the\n",
"# QCD CR (they enter the ggHH SRs, left): leave this area white and unlabeled\n",
"ax2.fill_between([0.03, 0.9825], [0.85, 0.85], y2=[1, 1], color=\"white\", alpha=1)\n",
"\n",
"# add dotted lines\n",
"ax1.plot([0.755, 0.755], [0.945, 1], color=\"k\", linestyle=\"--\")\n",
Expand All @@ -69,17 +62,6 @@
"ax1.text(0.47, 0.2, \"QCD CR\", transform=ax1.transAxes, fontsize=28, ha=\"center\")\n",
"ax2.text(0.94, 0.5, \"qqHH SR\", transform=ax2.transAxes, fontsize=28, ha=\"center\", rotation=90)\n",
"ax2.text(0.47, 0.2, \"QCD CR\", transform=ax2.transAxes, fontsize=28, ha=\"center\")\n",
"ax2.text(\n",
" 0.44,\n",
" 0.7,\n",
" \"ggHH SRs\\n\" + \"via\\n\" + r\"$D$(ggHH-vs-bkg)\",\n",
" transform=ax2.transAxes,\n",
" fontsize=28,\n",
" ha=\"center\",\n",
" va=\"center\",\n",
" linespacing=1.4,\n",
" bbox=dict(facecolor=\"white\", edgecolor=\"none\", pad=8),\n",
")\n",
"\n",
"# add broken axis lines\n",
"d = 0.5 # proportion of vertical to horizontal extent of the slanted line\n",
Expand Down
Loading