\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 studies from proposal}

\author{Sho Uemura}
\institute{SLAC}
\date[February 27, 2013]

\begin{document}

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


\begin{frame}{Summary}
	\begin{itemize}
		\item Everything in this talk is taken from the proposal, or work done for the proposal
		\item Details of simulation were given in talk for 2012-12-12 HPS meeting
		\item The ```sound bite:'' ECal trigger rate is under 20 kHz with full efficiency, and can be reduced to around 10 kHz before significant loss of efficiency
	\end{itemize}
\end{frame}

\begin{frame}{Trigger cuts}
	\begin{itemize}
		\item Cuts: cluster energy, energy sum, energy difference, coplanarity (energy cuts use energy read out from crystals)
		\item Some cuts are the same for every beam energy:
			\begin{itemize}
				\item Minimum cluster energy ($E_{min}$): 0.1~GeV
				\item Distance ($r_{edist}$) in the energy-distance cut: 200 mm
				\item Energy ($E_{edist}$) in the energy-distance cut: $0.5\times E_{beam}$
				\item Time coincidence: 8 ns
			\end{itemize}
		\item Maximum energy difference ($Ediff_{max}$) is set to $0.7\times E_{beam}$, but this cut doesn't do much
		\item Cluster hit multiplicity/pattern is not used
	\end{itemize}
	\begin{center}
		\begin{tabular}{|l|c|c|c|}
			\hline
			Beam energy & $E_{max}$ [GeV] & $Esum_{max}$ [GeV] & $\Delta\phi_{max}$ [$^\circ$] \\
			\hline
			1.1 GeV	&	0.7	&	0.8	&	90\\
			2.2 GeV	&	1.6	&	1.7	&	45\\
			6.6 GeV	&	5.0	&	5.5	&	60\\
			\hline
		\end{tabular}
	\end{center}
\end{frame}

\begin{frame}{Looking at cuts}
	\begin{itemize}
		\item Check each cut by looking at events where all other cuts passed
		\item Here: coplanarity, energy-distance, and energy diff vs. sum for background and 75 MeV A' ($E_{beam}=2.2$ GeV)
	\end{itemize}
	\begin{center}
		\includegraphics[width=0.25\textwidth]{coplanarity_22}
		\includegraphics[width=0.25\textwidth]{energy-distance_22}
		\includegraphics[width=0.25\textwidth]{ediff_22}

		\includegraphics[width=0.25\textwidth]{coplanarity_22_075mev}
		\includegraphics[width=0.25\textwidth]{energy-distance_22_075mev}
		\includegraphics[width=0.25\textwidth]{ediff_22_075mev}
	\end{center}
\end{frame}

\begin{frame}{Background trigger rates}
	\begin{center}
		\begin{tabular}{|l|c|}
			\hline
			Sample &  Rate (kHz)\\
			\hline
			1.1~GeV	beam background 				& 15.7 $\pm$ 0.4	\\
			1.1~GeV beam background+tridents			& 18.3 $\pm$ 0.4	\\
			2.2~GeV	beam background 				& 11.2 $\pm$ 0.3	\\
			2.2~GeV beam background+tridents			& 15.8 $\pm$ 0.4	\\
			6.6~GeV	beam background 				& 10.2 $\pm$ 0.3	\\
			6.6~GeV beam background+tridents			& 12.6 $\pm$ 0.4	\\
			6.6~GeV beam background+tridents+pions (FLUKA)	& 13.4 $\pm$ 0.4	\\
			6.6~GeV beam background+tridents+pions (G4)	& 13.5 $\pm$ 0.4	\\
			\hline
		\end{tabular}
	\end{center}
	\begin{itemize}
		\item 100 ms of simulated beam
	\end{itemize}
\end{frame}

\begin{frame}{A' acceptance}
	\begin{center}
		\includegraphics[width=0.6\textwidth]{ap_eff}
	\end{center}
	\begin{itemize}
		\item Solid lines are trigger efficiency; dashed lines are trigger+tracker combined acceptance
	\end{itemize}
\end{frame}

\begin{frame}{Tuning cuts}
	\begin{itemize}
		\item Some cuts (energy difference, minimum cluster energy) are not very selective; changing them affects neither background rate nor efficiency
			\begin{itemize}
				\item Loosen them as much as possible
			\end{itemize}
		\item Some cuts (coplanarity, energy-distance) can be tweaked
			\begin{itemize}
				\item Loosening these gives you up to 1\% more A' efficiency at the cost of raising trigger rate to 30 kHz
				\item Tightening these lowers trigger rate to around 10 kHz at the cost of around 1\% A' efficiency
				\item These adjustments can and should be made during commissioning
			\end{itemize}
	\end{itemize}
\end{frame}

\end{document}
