% Author: Izaak Neutelings (June, 2017) \documentclass{article} \usepackage{amsmath} % for \text \usepackage{tikz} \tikzset{>=latex} % for LaTeX arrow head \definecolor{mylightred}{RGB}{255,200,200} \definecolor{mylightblue}{RGB}{172,188,63} \definecolor{mylightgreen}{RGB}{150,220,150} % split figures into pages \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{1pt}% \begin{document} % CONTROL REGION: isolation \begin{tikzpicture}[scale=6] % define to change easily \def\isoe{0.15} \def\isomu{0.20} \def\isoSB{0.50} \def\isomax{0.60} % axes \draw[->,thick] (0,0) -- (0,\isomax) node[at end,left=24pt,rotate=90] {muon isolation $I_\mu$}; \draw[->,thick] (0,0) -- (\isomax,0) node[at end,below=16pt,left] {electron isolation $I_\text{e}$}; % boxes \draw[thick,fill=mylightgreen] (0,0) rectangle (\isoSB,\isoSB) node[anchor=north east] {SB}; \draw[thick,fill=mylightred] (0,0) rectangle (\isoe,\isomu) node[anchor=north east] {SR}; % labels \draw (0,\isomu) node[anchor=east] {\scriptsize$\isomu$} (0,\isoSB) node[anchor=east] {\scriptsize$\isoSB$} (\isoe, 0) node[anchor=north] {\scriptsize$\isoe$} (\isoSB,0) node[anchor=north] {\scriptsize$\isoSB$}; \end{tikzpicture} % CONTROL REGION: OS/SS \begin{tikzpicture}[scale=4] % axes \draw[thick] (0,0) rectangle (1,1); % dashed lines \draw[dashed,thick] (0.5,-0.1) -- (0.5,1); \draw[dashed,thick] (-0.1,0.5) -- (1,0.5); % labels \draw (0,0.75) node[anchor=east] {OS} (0,0.25) node[anchor=east] {SS} (0.25,0) node[anchor=north] {SR} (0.75,0) node[anchor=north] {SB}; \draw (0.25,0.75) node {QCD} %{$\text{QCD}^\text{OS,SR}_\text{data}$} (0.75,0.25) node[text width=40,align=center] {QCD\\shape}; %{$\text{QCD}^\text{SS,SB}_\text{data}$}; % arrows \begin{scope}[shift={(0.51,0.52)},scale=0.3] \draw[->,thick] (0.5,-0.5) -- (-0.5,0.5) node[midway, above=6pt, right=1pt] {\scriptsize$F$}; %\frac{(\text{OS}/\text{SS})^\text{SR}_\text{sim}} %{(\text{OS}/\text{SS})^\text{SB}_\text{sim}}\$}; \end{scope} \end{tikzpicture} \end{document}