\documentclass[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}
\usepackage{amsmath}

\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{Trigger considerations for MVTX}

\author{Alex Tkatchev and Sho Uemura}
%\institute{bumming around}
\date[October 4, 2017]

%\titlegraphic{
%\includegraphics[height=0.1\textheight]{SLAC_Logo}\hspace*{4.75cm}~
%\includegraphics[height=0.1\textheight]{partner_logo_v2}
%}

\begin{document}

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

\begin{frame}{MVTX latency}
    \begin{itemize}
        \item The MVTX pixel sensor (ALPIDE) is optimized for a trigger with relatively small latency ($\sim$1.2 $\mu$s)
            \begin{itemize}
                \item We are working on changing the shaping time of the ALPIDE analog frontend so we can trigger at 4 $\mu$s, but no proof of concept yet
            \end{itemize}
        \item MVTX is capable of very high trigger rates (ALICE ITS is designed for up to 400 kHz p-p), could work with a fast but non-selective L0 trigger
    \end{itemize}
\end{frame}

\begin{frame}{Track trigger}
    \begin{itemize}
        \item MVTX is considering the possiblility of a track trigger for displaced vertices ($b$ trigger)
        \item An MVTX track trigger will have significant latency (probably slower than 4 $\mu$s) due to ALPIDE shaping and readout times, plus a complicated trigger decision
        \item This seems to require some sort of event buffering, either at the FEMs or further downstream
        %\item For this we would want a trigger to MVTX as early as possible, and the ability to trigger the rest of sPHENIX as late as possible
    \end{itemize}
\end{frame}

\begin{frame}{Proposals for discussion}
    \begin{itemize}
        \item Is there a possibility to speed up the L1 trigger decision from the current spec of 4 $\mu$s?
            \begin{itemize}
                \item What is the bottleneck?
            \end{itemize}
        \item Fast L0 trigger: can we get a trigger from fast detectors (BBC, ZDC, INTT?) that can be used for MVTX?
            \begin{itemize}
                \item What trigger rate could we expect for an L0 trigger that is a superset of the L1 trigger?
            \end{itemize}
        \item Event buffering: possibility for event buffering in detectors or in main DAQ, such that a track trigger decision can be made?
    \end{itemize}
\end{frame}

%\begin{frame}{Fix vertex fit}
%\begin{columns}
%\column{0.6\textwidth}
%\begin{itemize}
%\item The resolution of the reconstructed mass should be independent of Z but is worse for displaced vertices.
%\item This ad-hoc correction works pretty well: corrM = uncM - 0.15e-3*(elePX/eleP-posPX/posP)*uncVZ/uncM
%\item Hunch: the vertex mass is being calculated using the track directions at $z=0$, or something like that.
%\end{itemize}
%\begin{center}
%\includegraphics[width=\textwidth]{mass_shift_40}
%\end{center}
%\column{0.4\textwidth}
%\includegraphics[width=\textwidth,page=4]{acceptance_40}
%
%\includegraphics[width=\textwidth,page=5]{acceptance_40}
%\end{columns}
%\end{frame}

\end{document}
