\documentclass[english,aspectratio=43,8pt]{beamer}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{subcaption}
\usepackage{marvosym}
\usepackage{verbatim}
\usepackage[normalem]{ulem}  % Needed for /sout

\newcommand{\pb}{\si{\pico\barn}}%
\newcommand{\fb}{\si{\femto\barn}}%
\newcommand{\invfb}{\si{\per\femto\barn}}
\newcommand{\GeV}{\si{\giga\electronvolt}}

\hypersetup{colorlinks=true,urlcolor=blue}

\usetheme[]{bjeldbak}

\begin{document}

    \title[]{Adding Tau Leptons to TTTT X-Section Measurement}
    \author[C. Fangmeier]{\textbf{Caleb Fangmeier}}
    \institute[UNL]{University of Nebraska \-- Lincoln}
    \date{TTTT Working Meeting | January 25, 2018}

    \titlegraphic{%
    \begin{figure}
        \includegraphics[width=1in]{CMSlogo.png}\hspace{0.75in}\includegraphics[width=1in]{nebraska-n.png}
    \end{figure}
    }

    \begin{frame}[plain]
        \titlepage
        %
    \end{frame}

    \begin{frame}{Introduction}
        \begin{itemize}
            \item \textbf{Goal:} Investigate how the TTTT cross-section measurement could be improved by adding taus to the lepton selection.
            \item To avoid the work of modifying the existing analysis looper to include taus, a simple ``mock''\footnote{\url{https://github.com/cfangmeier/FTAnalysis/tree/tau_studies/studies/tau}} analysis was implemented from scratch which attempts to replicate the main features of the real analysis.
            \item Runs on same \texttt{CMS4} nTuples as existing analysis.
            \item some text
        \end{itemize}
    \end{frame}

    \begin{frame}{Mock Analysis 2016 Yields}
        \begin{columns}
            \begin{column}{0.4\textwidth}
                \begin{itemize}
                    \item Attempt to replicate AN yields with mock analysis using only electrons and muons
                    \item Generally overestimate yield (wrt analysis note)by 30-50\%
                    \item But shapes tend to match, so go ahead and add taus to make a comparison.
                \end{itemize}
            \end{column}
            \begin{column}{0.59\textwidth}
                \includegraphics[width=\textwidth]{figures/Yield_Ignoring_Taus.png}
            \end{column}
        \end{columns}
    \end{frame}

    \begin{frame}{Tau Selection}
        \begin{itemize}
            \item Taus to be considered in the SS pair must pass the following requirements
            \begin{itemize}
                \item Pass the ID: \texttt{byTightIsolationMVArun2v1DBdR03oldDMwLT}
                \item Have $P_{T}>20$GeV
                \item Isolated ($dR>0.4$) from any electrons or muons that pass their respective selection criteria
            \end{itemize}
            \item Generator-Level taus used in truth-matching must:
            \begin{itemize}
                \item Be flagged as prompt (ie. \texttt{tas::genps\_fromHardProcessDecayed()==1})
                \item Decay hadronically ($\tau^\pm \rightarrow\pi^\pm \{\pi_0\}$, $\tau^\pm \rightarrow\pi^\pm\pi^\pm\pi^\mp\{\pi_0\}$)
            \end{itemize}
            \item A reconstructed tau is considered truth-matched if it is within $dR<0.3$ of a generator-level tau
            \item Otherwise taus are treated exactly the same as electrons and muons in the SS-pair construction/Z-Veto/Jet-Cleaning.
        \end{itemize}
    \end{frame}


    \begin{frame}{Yields/Truth Matching}
        \begin{columns}
            \begin{column}{0.5\textwidth}
                \includegraphics[width=\textwidth]{figures/Yield_For_events_with_0_Tau.png}
            \end{column}
            \begin{column}{0.5\textwidth}
                \includegraphics[width=\textwidth]{figures/Yield_For_events_with_1_Tau.png}
            \end{column}
        \end{columns}
        \begin{itemize}
            \item Above figures show yields when when there are zero selected taus(left) or one selected tau(right).
            \item Orange Lines show yields when the tau is required to be truth-matched.
        \end{itemize}
    \end{frame}

    \begin{frame}{Cross-Checking Truth Matching}
        \begin{columns}
            \begin{column}{0.4\textwidth}
                \begin{itemize}
                    \item Previous slide indicates $\approx30-40$\% of taus are fakes.
                    \item Figure shows the yields for events in any SR broken down by \# of generator-level taus and \# of selected taus.
                    \item The figure on the right corroborates the previous slide; In TTTT, for example, only about 40\% of events with 1 selected tau have 1 or more real taus.
                \end{itemize}
            \end{column}
            \begin{column}{0.6\textwidth}
                \includegraphics[width=\textwidth]{figures/Generated_tau_vs_Selected_tau.png}
            \end{column}
        \end{columns}
    \end{frame}

    \begin{frame}{Results with Expanded Binning}
        \begin{columns}
            \begin{column}{0.5\textwidth}
                \includegraphics[width=\textwidth]{figures/Yield_For_events_with_0_Tau_NewSR.png}
            \end{column}
            \begin{column}{0.5\textwidth}
                \includegraphics[width=\textwidth]{figures/Yield_For_events_with_1_Tau_NewSR.png}
            \end{column}
        \end{columns}
        \begin{itemize}
            \item Ongoing investigation of more fine binning\footnote{\url{https://github.com/cfangmeier/FTAnalysis/blob/tau\_studies/studies/tau/Yield.C#L261}}.
        \end{itemize}
    \end{frame}

    \begin{frame}{Conclusions}
        some text
    \end{frame}

\end{document}
