% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 3.
%
% Seth Brown, Ph.D.
% sethbrown@drbunsen.org
%
% Compiled with XeLaTeX
% Dependencies:
%   Fontin Sans font (http://www.exljbris.com/fontinsans.html)
%
\documentclass{beamer}
\usepackage{pgf}
\usepackage{times}
\usepackage[T1]{fontenc}
%\usepackage[mathscr]{eucal}
%\usepackage{mathptmx}
%\usepackage{mathrsfs}
\usepackage{hyperref}
% \usepackage{pgfpagfes}
% \setbeameroption{show notes on second screen}
%\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm,landscape]
\usepackage{xcolor}
%\usepackage[dvipsnames]{xcolor}
%\usepackage{amsfonts}
%\usepackage{amsmath}
% \usepackage[amssymb]{SIunits}
%\usepackage{natbib}
%\usepackage{amssymb}
\usepackage{hepparticles}
\usepackage{hepnicenames}
\usepackage{hepunits}
\usepackage{tikz}
\usepackage[polish]{babel}
%\usepackage{lmodern}
\usepackage{feynmp}
% suppress navigation bar
\beamertemplatenavigationsymbolsempty
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\mode<presentation>
{
  \usetheme{bunsen}
  \setbeamercovered{transparent}
  \setbeamertemplate{items}[circle]
}

% set fonts
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage{eepic}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes}

%\usepackage{gfsartemisia-euler}
%\usepackage[T1]{fontenc}
\setbeamerfont{frametitle}{size=\LARGE,series=\bfseries}
\tikzstyle{decision} = [diamond, draw, fill=gray!20, 
    text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, fill=blue!10, 
    text width=5em, text centered, rounded corners, minimum height=2em]
\tikzstyle{line} = [draw, -latex']
\tikzstyle{cloud} = [draw, ellipse,fill=red!10, node distance=3cm,
    minimum height=2em]

\tikzstyle{every picture}+=[remember picture]


\renewcommand{\PKs}{{\HepParticle{K}{S}{}\xspace}}
% color definitions
\usepackage{color}
\definecolor{uipoppy}{RGB}{225, 64, 5}
\definecolor{uipaleblue}{RGB}{96,123,139}
\definecolor{uiblack}{RGB}{0, 0, 0}

% see the macros.tex file for definitions
\include{macros}

% title slide definition
\title{Quo vadis INMAPS? }
\author{Alberto Lusiani, Marcin Chrz\k{a}szcz}
\institute[IFJ, INFN, SNS]



\date{$26^{th}$ November 2012}

%--------------------------------------------------------------------
%                           Introduction
%--------------------------------------------------------------------

\begin{document}


\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{frontpage_bg_mine}}
\setbeamertemplate{footline}[default]

\begin{frame}
\vspace{2cm}
\begin{columns}
\column{2.75in}
  \titlepage
  \vspace{10cm}
\column{2.0in}
\end{columns}

\end{frame}





\section[Outline]{}
\begin{frame}
\tableofcontents
\end{frame}







%-------------------------------------------------------------------
%                          Section 1
%-------------------------------------------------------------------
%
% Set the background for the rest of the slides.
% Insert infoline
\setbeamertemplate{background}
 {\includegraphics[width=\paperwidth,height=\paperheight]{slide_bg}}
\setbeamertemplate{footline}[bunsentheme]

\section{Efficiency drop}
\subsection{Eff vs. thr. }
\begin{frame}\frametitle{Eff vs. thr}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.75in}
\includegraphics[scale=0.25]{pic/chip13_com.png}

\column{2.75in}
\includegraphics[scale=0.3]{pic/inmaps_noise_thr_chip13.png}

\end{columns}

\end{frame}


\subsection{Explenation}
\begin{frame}\frametitle{Explenation}
\only<1>{

\begin{columns}
\column{2.in}
\begin{itemize}
\item Last year we had 0 noise. for resolution $\chi^{2}$ fit was used.
\item Implemented binned(unbinned not that easy) maximum likelihood.
\item Assuming Gauss + Exp.
 

\end{itemize}

\column{3.0in}
\includegraphics[scale=0.3]{pic/wrong_fit.png}

\end{columns}
}

\only<2>{

\begin{columns}
\column{2.in}
\begin{itemize}
\item For low in agreement with $\chi^{2}$(comparing mean+sigma).
\item We can extract the noise from signal when calculating the efficiency.
\item Solving problem of fitting fitting fake noise peak:
\begin{enumerate}
\item do fit to run where there is 0 noise
\item make the high noise runs after it search in the same neighbourhood.
\end{enumerate}
\end{itemize}

\column{3.0in}
\includegraphics[scale=0.3]{pic/inmaps_eff_r4289/det7_resid_fit_BLH_x.png}
\newline \hspace{3cm} X view.
\end{columns}

}


  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5

\subsection{Residual Fits}
\begin{frame}\frametitle{Residual Fits, run 4289, Thr=2330}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4289/det7_resid_fit_BLH_x.png}

\column{2.5in}
Y view 
\includegraphics[scale=0.25]{pic/inmaps_eff_r4289/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5

\begin{frame}\frametitle{Residual Fits, run 4291, Thr=2340}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4291/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4291/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5

\begin{frame}\frametitle{Residual Fits, run 4293, Thr=2350}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4293/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4293/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5

\begin{frame}\frametitle{Residual Fits, run 4295, Thr=2360}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4295/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4295/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5

\begin{frame}\frametitle{Residual Fits, run 4297, Thr=2370}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4297/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4297/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5

\begin{frame}\frametitle{Residual Fits, run 4299, Thr=2380}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4299/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4299/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}




\begin{frame}\frametitle{Residual Fits, run 4301, Thr=2390}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4301/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4301/det7_resid_fit_BLH_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}\frametitle{Residual Fits, run 4303, Thr=2400}

All plots are for CHIP13. (Lets understand one at the time)

\begin{columns}
\column{2.5in}
X view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4303/det7_resid_fit_BLH_x.png}
\column{2.5in}
Y view
\includegraphics[scale=0.25]{pic/inmaps_eff_r4303/det7_resid_fit_BLH_y.png}

\end{columns}
What is going on?!?!
\newline We are loosing him...

  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}

\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Resolution drop}
\begin{frame}\frametitle{Where does the increase of resolution come from?}

Investigated Guliana's theory that the pixels fire in a row. On friday I send around instructions how to use the SbtViewer.
To speed things up I made a video:
\href{http://nz11-agh1.ifj.edu.pl/public_users/mchrzaszcz/Sbt/out-4.ogv}{LINK}


  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}

\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}\frametitle{Eff vs. threshold}

\begin{columns}
\column{2.5in}
OLD
\includegraphics[scale=0.25]{pic/chip13.png}
\column{2.5in}
NEW
\includegraphics[scale=0.25]{pic/chip13_eff_fit.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}\frametitle{Resolution vs threshold}

\begin{columns}
\column{2.5in}
X
\includegraphics[scale=0.25]{pic/res_x.png}
\column{2.5in}
Y
\includegraphics[scale=0.25]{pic/res_y.png}

\end{columns}
  \textref{A.Lusiani, M.Chrz\k{a}szcz 2012}

\end{frame}

\end{document}
