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

\author{Sho Uemura}
\institute{SLAC}
\date[December 12, 2012]

\begin{document}

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



\begin{frame}{Trigger cuts}
	\begin{itemize}
		\item Cuts are as specified in test run proposal (energy cuts use energy read out from crystals):
			\begin{itemize}
				\item Cluster energy: 0.1 to 1.85 GeV
				\item Pair energy sum less than 2.2 GeV
				\item Pair energy difference less than 1.5 GeV
				\item Energy-distance: for less energetic cluster, $E + d\times (0.0032 \mathrm{GeV/mm})$ > 0.8 GeV
				\item Cluster seed crystals coplanar to 35$^\circ$
			\end{itemize}
		\item For different beam energies, just scale all the cut energies proportionally
		\item Dropped opposite-quadrant cut---redundant with coplanarity and doesn't reflect actual trigger setup
	\end{itemize}
\end{frame}

\begin{frame}{Simulation}
	\begin{itemize}
		\item Stdhep files at 1.1, 2.2 and 6.6 GeV:
			\begin{itemize}
				\item EGS5 beam background
				\item MadGraph tridents
				\item A' tridents (spaced by 1000 ns)
				\item For 6.6 GeV, pion singles from Geant4 and FLUKA (to compare)
			\end{itemize}
		\item $5\times 10^7$ bunches, or 100 ms of beam; at least $10^5$ A' tridents for all but the lowest masses
		\item Run SLIC using HPS-Proposal2014-v3 geometry
		\item Readout sim uses ``constant window'' integration in FADC
		\item All files available online: see \url{https://confluence.slac.stanford.edu/display/hpsg/Finding+Data}
	\end{itemize}
\end{frame}

\begin{frame}{Looking at cuts}
	\begin{itemize}
		\item Check each cut by looking at events where all other cuts passed
		\item Here: energy-distance cut on 2.2 GeV background and 50, 100 and 200 MeV A'; pair energy for background and 50 MeV A'
	\end{itemize}
	\includegraphics[width=0.3\textwidth]{e_dist_22_beamtri}
	\includegraphics[width=0.3\textwidth]{e_dist_50mev}
	\includegraphics[width=0.3\textwidth]{ediff_22_beamtri}

	\includegraphics[width=0.3\textwidth]{e_dist_100mev}
	\includegraphics[width=0.3\textwidth]{e_dist_200mev}
	\includegraphics[width=0.3\textwidth]{ediff_50mev}
\end{frame}

\begin{frame}{Background trigger rates}
	\begin{center}
		\begin{tabular}{|l|r|}
			\hline
			Sample &  Rate (kHz)\\
			\hline
			2.2 GeV	EGS5 & 22.3	\\
			2.2 GeV EGS5+tridents		& 28.3	\\
			6.6 GeV	EGS5 & 5.3	\\
			6.6 GeV EGS5+tridents		& 7.4	\\
			\hline
		\end{tabular}
	\end{center}
	\begin{itemize}
		\item These are just the runs completed so far
		\item 2.2 EGS5+tridents rate is increased from 12.6 kHz in previous set of studies (\url{http://www.slac.stanford.edu/~meeg/presentation/2012-02-07/2012-02-07.pdf}) because of the different FADC algorithm
			\begin{itemize}
				\item Old time-over-threshold integration algorithm gives 11.1 kHz (reduction consistent with new geometry)
			\end{itemize}
	\end{itemize}
\end{frame}

\begin{frame}{A' acceptance}
	\begin{center}
		\begin{tabular}{|l|r|}
			\hline
			Sample &  Acceptance (\%)\\
			\hline
			2.2 GeV	beam, 25 MeV A' & 2.4	\\
			2.2 GeV	beam, 50 MeV A' & 10.6	\\
			2.2 GeV	beam, 75 MeV A' & 18.2	\\
			2.2 GeV	beam, 100 MeV A' & 16.6	\\
			2.2 GeV	beam, 150 MeV A' & 5.9	\\
			2.2 GeV	beam, 200 MeV A' & 2.5	\\
			2.2 GeV	beam, 250 MeV A' & 1.4	\\
			\hline
		\end{tabular}
	\end{center}
	\begin{itemize}
		\item Not significantly changed
		\item Again, just the runs completed so far
		\item With-background (pileup) runs not done
		\item Trigger+tracker ``combined acceptance'' still to come
	\end{itemize}
\end{frame}

\end{document}
