\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}

\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%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

\title{Trigger update}

\author{Sho Uemura}
%\institute[SLAC]{SLAC\\}
\date[February 7, 2012]

\begin{document}

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

\begin{frame}{Trigger simulation progress}
	\begin{itemize}
		\item Background trigger rates done with $5\times 10^7$ bunches (/hps\_data/meeg/lcio/v3pt1/)
		\item A' efficiency with time evolution and background
		\item FADC threshold set at 50 MeV to minimize sensitivity of A' acceptance to background
	\end{itemize}
\end{frame}

\begin{frame}{Background trigger rates}
	\begin{center}
		\begin{tabular}{|l|r|r|r|}
			\hline
			Sample & Bunch count & Trigger count & Rate (kHz)\\
			\hline
			Tridents	& $5\times 10^7$	& 368	& 3.7	\\
			Geant4		& $4.95\times 10^7$	& 3314	& 33.5	\\
			Geant4+tridents	& $5\times 10^7$	& 4053	& 40.5	\\
			EGS5		& $4.95\times 10^7$	& 759	& 7.7	\\
			EGS5+tridents	& $5\times 10^7$	& 1260	& 12.6	\\
			\hline
		\end{tabular}
	\end{center}
	\begin{itemize}
		\item Note that a really conservative background study might use EGS5 gamma distribution and Geant4 electron distribution
	\end{itemize}
\end{frame}

\begin{frame}{A' acceptance with background}
	\begin{itemize}
		\item $10^4$ A' events at each value of A' mass, spaced by 1000 ns (500 bunches)
		\item If there is a trigger in the 10 ns following an A' event, count that event in acceptance
		\item Some triggers are lost when background is added (time walk, dead time), some are added (background hit fills in for a lost A' hit)
			\begin{itemize}
				\item Note that many of the added trigger events will not have both A' products in tracker acceptance
			\end{itemize}
	\end{itemize}
	\begin{center}
		\begin{tabular}{|l|r|r|r|r|}
			\hline
			\shortstack{A' mass\\ {[}MeV{]}} & \shortstack{Acceptance,\\ no background} & Lost & Gained & \shortstack{Acceptance \\with background}\\
			\hline
			50	& 10.0\%	& 1.8\%	& 3.3\%	& 11.5\%	\\
			75	& 18.5\%	& 2.7\%	& 3.3\%	& 19.2\%	\\
			100	& 17.8\%	& 4.3\%	& 2.6\%	& 16.1\%	\\
			150	& 6.9\%		& 1.2\%	& 2.5\%	& 8.2\%	\\
			200	& 2.8\%		& 0.5\%	& 1.8\%	& 4.1\%	\\
			250	& 2.0\%		& 0.6\%	& 1.2\%	& 2.6\%	\\
			\hline
		\end{tabular}
	\end{center}
\end{frame}


\end{document}

