\documentclass[hyperref=pdftex, presentation]{beamer}
% Replacing 'presentation' with 'handout' in the above line
% will produce 4 slides per page.
% The hyperref option makes it possible to include hyperlinks.

\mode<presentation> {
\usetheme{Boadilla}
\setbeamercovered{transparent}
}

\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{wrapfig}

\mode<handout>{
\usepackage{pgfpages}
\pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=5mm]
\setbeamercolor{background canvas}{bg=black!10} }

\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author
	in head/foot}%
	\usebeamerfont{author in head/ foot}\insertshortauthor%&\approx& (\insertshorti
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title
	in head/foot}%
	\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in
	head/foot}%
	\usebeamerfont{date in head/foot}\insertshortdate\hspace*{2em}
	\insertframenumber / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}

\newcommand{\backupbegin}{
\newcounter{framenumberappendix}
\setcounter{framenumberappendix}{\value{framenumber}}
}
\newcommand{\backupend}{
\addtocounter{framenumberappendix}{-\value{framenumber}}
\addtocounter{framenumber}{\value{framenumberappendix}} 
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\title[GEANT4/EGS5]{GEANT4/EGS5}

\title{Vertexing status}

\author{Sho Uemura}
\institute{SLAC}
\date[April 26, 2016]

\begin{document}

\begin{frame}
	\titlepage
\end{frame}

\begin{frame}{General status}
    \begin{itemize}
        \item Optimizing cuts
        \item Using MC to identify processes that make vertex tails
        \item Thinking about the real analysis
    \end{itemize}
\end{frame}

\begin{frame}{MC: what makes tails?}
    \begin{columns}
        \column{0.7\textwidth}
	        \begin{itemize}
	            \item Look at MC (below), identify processes that push events to high or low Z, find cuts to attack them
                \item Look at trajectory of MC particle, get kinks in vertical angle at each SVT layer
                \begin{itemize}
                    \item Top: no L1 or L2 kinks
                    \item Middle: big L1 kink, no L2 kink
                    \item Bottom: no L1 kink, big L2 kink
                \end{itemize}
                \item Can do similar study with mishits
            \end{itemize}
            \begin{center}
                \includegraphics[width=0.6\textwidth]{tritrig-norm-zvsmass}
            \end{center}
		\column{0.3\textwidth}
            \includegraphics[width=\textwidth]{zvsmass_nokink}

            \includegraphics[width=\textwidth]{zvsmass_l1kink}

            \includegraphics[width=\textwidth]{zvsmass_l2kink}
	\end{columns}
\end{frame}

\begin{frame}{Backend stuff}
    \begin{itemize}
        \item No longer making all of my analysis plots in DQM
        \item Now making tuples in DQM
        \item Made changes to vertexer, allows for beamspot deviation from origin (more for 2016 than 2015)
        \begin{itemize}
            \item Can also do beam tilt
            \item Might be good to get beamspot sizes in data (deconvolve vertex resolution)
        \end{itemize}
    \end{itemize}
\end{frame}

\begin{frame}{Cuts}
    \begin{itemize}
        \item Many cuts (track momentum, timing, track chisq) are simple, it's clear what you want to reject (FEEs, coincidences, junk tracks) and there is good separation from signal
        \item Some cuts are less clear
        \begin{itemize}
            \item Beamspot-constrained vertex chisq
            \item L1 isolation
            \item GBL kink at L2
        \end{itemize}
        \item Some linear discriminant may work better than a set of rectangular cuts
        \item Machine learning stuff might be helpful
    \end{itemize}
\end{frame}

%\begin{frame}{Optimizing cuts}
%    \begin{itemize}
%        \item bscon
%        \item iso
%        \item GBL kinks
%    \end{itemize}
%\end{frame}

\begin{frame}{Radiative fraction}
    \begin{itemize}
        \item The expected A' yield in data is (rate of tridents in data)*(fraction of tridents in data that are radiatives)*(scaling factor relating A' to radiatives)
        \item MadGraph says radiative fraction is 0.083 after a rough acceptance cut, but that's before readout+recon
        \item If efficiency for radiatives is higher than for tridents, the radiative fraction we should be using is higher than 0.083
        \item We find recon+cuts efficiency for A' is 30-50\%, for tridents is more like 25\%
        \item Full MC of radiatives will tell us the answer
    \end{itemize}
\end{frame}

\begin{frame}{Finding zcut}
    \begin{itemize}
        \item Current ``dummy'' analysis: look at a mass slice, fit vertex distribution with Gaussian+exponential, define a zcut for the slice
        \begin{itemize}
            \item Fine for estimating reach; for a real analysis, don't want to set zcut using the slice that (possibly) contains signal
        \end{itemize}
        \item Ways to find zcut for a given mass bin in a real analysis:
        \begin{itemize}
            \item Find zcut for the other mass bins, interpolate
            \item Use other mass bins to parametrize vertex z distribution as a function of mass, interpolate
%            \item Set zcut using MC
        \end{itemize}
    \end{itemize}
\end{frame}

\begin{frame}{Other stuff}
    \begin{itemize}
        \item Open up full data set for negative z?
        \item Finding A' efficiency as a function of z: make MC A' at various z
    \end{itemize}
\end{frame}


\end{document}
