% 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.fsrtml)
%
\documentclass{beamer}
\usepackage{pgf}
\usepackage{tikz}
\usepackage{times}
\usepackage[T1]{fontenc}
%\usepackage[mathscr]{eucal}
%\usepackage{mathptmx}
%\usepackage{mathrsfs}
\usepackage{hyperref}
\usepackage{color}
\usepackage{graphicx}
\usepackage{wasysym}
% \usepackage{pgfpagfes}
% \setbeameroption{show notes on second screen}
%\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm,landscape]
\usepackage{xcolor}
\usepackage{xcolor,multirow}
%\usepackage[table]{xcolor}
%\usepackage[dvipsnames]{xcolor}
%\usepackage{amsfonts}
%\usepackage{amsmath}
% \usepackage[amssymb]{SIunits}
%\usepackage{natbib}
%\usepackage{amssymb}
\usepackage{hepparticles}
\usepackage{hepnicenames}
\usepackage{hepunits}
\usepackage{tikz}
\usepackage[english]{babel}
%%\usepackage{lmodern}
%\usepackage{feynmp}
% suppress navigation bar
\beamertemplatenavigationsymbolsempty
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\mode<presentation>
{
  \usetheme{bunsen}
  \setbeamercovered{transparent}
  \setbeamertemplate{items}[circle]
}
\newcommand{\Simley}[1]{%
\begin{tikzpicture}[scale=0.15]
    \newcommand*{\SmileyRadius}{1.0}%
    \draw [fill=brown!10] (0,0) circle (\SmileyRadius)% outside circle
        %node [yshift=-0.22*\SmileyRadius cm] {\tiny #1}% uncomment this to see the smile factor
        ;  

    \pgfmathsetmacro{\eyeX}{0.5*\SmileyRadius*cos(30)}
    \pgfmathsetmacro{\eyeY}{0.5*\SmileyRadius*sin(30)}
    \draw [fill=cyan,draw=none] (\eyeX,\eyeY) circle (0.15cm);
    \draw [fill=cyan,draw=none] (-\eyeX,\eyeY) circle (0.15cm);

    \pgfmathsetmacro{\xScale}{2*\eyeX/180}
    \pgfmathsetmacro{\yScale}{1.0*\eyeY}
    \draw[color=red, domain=-\eyeX:\eyeX]   
        plot ({\x},{
            -0.1+#1*0.15 % shift the smiley as smile decreases
            -#1*1.75*\yScale*(sin((\x+\eyeX)/\xScale))-\eyeY});
\end{tikzpicture}%
}%
% set fonts
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{verbatim}

\usepackage{fancyvrb}
\DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}
\DefineVerbatimEnvironment{example}{Verbatim}{fontsize=\small}
\usepackage{listings}
  \usepackage{courier}
 \lstset{
         basicstyle=\footnotesize\ttfamily, % Standardschrift
         %numbers=left,               % Ort der Zeilennummern
         numberstyle=\tiny,          % Stil der Zeilennummern
         %stepnumber=2,               % Abstand zwischen den Zeilennummern
         numbersep=5pt,              % Abstand der Nummern zum Text
         tabsize=2,                  % Groesse von Tabs
         extendedchars=true,         %
         breaklines=true,            % Zeilen werden Umgebrochen
         keywordstyle=\color{red},
    		frame=b,         
 %        keywordstyle=[1]\textbf,    % Stil der Keywords
 %        keywordstyle=[2]\textbf,    %
 %        keywordstyle=[3]\textbf,    %
 %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}} %
         stringstyle=\color{white}\ttfamily, % Farbe der String
         showspaces=false,           % Leerzeichen anzeigen ?
         showtabs=false,             % Tabs anzeigen ?
         xleftmargin=17pt,
         framexleftmargin=17pt,
         framexrightmargin=5pt,
         framexbottommargin=4pt,
         %backgroundcolor=\color{lightgray},
         showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
 }

    %\DeclareCaptionFont{blue}{\color{blue}} 

  %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
  \usepackage{caption}
\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
\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}

% caption styling
%\DeclareCaptionFont{uiblack}{\color{uiblack}}
%\DeclareCaptionFont{uipoppy}{\color{uipoppy}}
%\captionsetup{labelfont={uipoppy},textfont=uiblack}

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

% title slide definition
\title{Updates }
%\subtitle{a bias report}
\author{ Marcin Chrz\k{a}szcz$^{1,2}$}
\institute[UTH, IFJ]
{
 %\begin{tiny}
$ ^1$ University of Zurich , $ ^2$ Institute of Nuclear Physics, Krakow,  
 %\end{tiny}smallsmall
}
  

\date{ \today}

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

\begin{document}




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

\begin{frame}
\vspace{1.1cm}
\begin{columns}
\column{2.75in}
  \titlepage

  \begin{center}
  \includegraphics[height=1.0cm ]{pic/uzh.jpg}
  % \hspace{0.5cm}
  % \includegraphics[height=1.5cm]{pic/babar.jpg}
   \hspace{1cm}
   \includegraphics[height=1.0cm]{pic/ifj.png}
   \hspace{1cm}
   %\includegraphics[height=1.0cm]{pic/SNS.jpg}
   \end{center}      
  \vspace{10cm}
\column{2.0in}
\end{columns}
\end{frame}

%--------------------------------------------------------------------
%                          OUTLINE
%--------------------------------------------------------------------




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

\title{Update on analysis}


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

\setbeamertemplate{background}
 {\includegraphics[width=\paperwidth,height=\paperheight]{slide_bg}}
\setbeamertemplate{footline}[bunsentheme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%2>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\section{Follow up}
\begin{frame}\frametitle{Errors?}
{~}\\
\begin{itemize}
\item Compared 2011 ntuples and 2012 in terms of $\tau$ production.
\end{itemize}
\begin{center}

 \includegraphics[scale=0.25]{compare.png}

\end{center}
\textref {M.Chrz\k{a}szcz 2014}

\end{frame}

\begin{frame}\frametitle{Errors?}
{~}\\
\begin{itemize}
\item But this isn't the correct error!
\item The error here comes from cross sections and branching fractions.
\item After long discussions with Jon we believe the problem was in rounding in 2011 weights.
\end{itemize}

P.S. Triggers for 2012 are ready! Jon will comment more
\textref {M.Chrz\k{a}szcz 2014}

\end{frame}




\begin{frame}\frametitle{$\eta$ background REMINDER }
{~}\\
\begin{itemize}
\item I fixed the $\eta$ background PDF.
\item Without any constrains the pdf in some bins fluctuates to 0, which is wrong.
\item Now made repeated the fit with constrains(gauss+pois).
\end{itemize}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}

\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0_0p28_conv.png}\\
	Pid$0.4-0.45$, Blend $0.-0.28$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0p28_0p32_conv.png}\\
	Pid$0.4-0.45$, Blend $0.28-0.32$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0p32_0p46_conv.png}\\
	Pid$0.4-0.45$, Blend $0.32-0.46$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0p46_0p54_conv.png}\\
	Pid$0.4-0.45$, Blend $0.46-0.54$

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}

\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0p54_0p65_conv.png}\\
	Pid$0.4-0.45$, Blend $0.54-0.65$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0p65_0p8_conv.png}\\
	Pid$0.4-0.45$, Blend $0.65-0.80$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p4_0p45geo0p8_1p0001_conv.png}\\
	Pid$0.4-0.45$, Blend $0.8-1.0$
\column{2.5in}
{~}
\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}


%%%%%%%%%%%%%%5%%%%%%%%%%%%5%%%%%%%%%%%
\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0_0p28_conv.png}\\
	Pid$0.45-0.54$, Blend $0.-0.28$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0p28_0p32_conv.png}\\
	Pid$0.45-0.54$, Blend $0.28-0.32$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0p32_0p46_conv.png}\\
	Pid$0.45-0.54$, Blend $0.32-0.46$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0p46_0p54_conv.png}\\
	Pid$0.45-0.54$, Blend $0.46-0.54$

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}

\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0p54_0p65_conv.png}\\
	Pid$0.45-0.54$, Blend $0.54-0.65$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0p65_0p8_conv.png}\\
	Pid$0.45-0.54$, Blend $0.65-0.80$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p45_0p54geo0p8_1p0001_conv.png}\\
	Pid$0.45-0.54$, Blend $0.8-1.0$
\column{2.5in}
  {~}

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}


%%%%%%%%%%%%%%5%%%%%%%%%%%%5%%%%%%%%%%%
\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0_0p28_conv.png}\\
	Pid$0.54-0.63$, Blend $0.-0.28$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0p28_0p32_conv.png}\\
	Pid$0.54-0.63$, Blend $0.28-0.32$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0p32_0p46_conv.png}\\
	Pid$0.54-0.63$, Blend $0.32-0.46$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0p46_0p54_conv.png}\\
	Pid$0.54-0.63$, Blend $0.46-0.54$

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}

\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0p54_0p65_conv.png}\\
	Pid$0.54-0.63$, Blend $0.54-0.65$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0p65_0p8_conv.png}\\
	Pid$0.54-0.63$, Blend $0.65-0.80$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p54_0p63geo0p8_1p0001_conv.png}\\
	Pid$0.54-0.63$, Blend $0.8-1.0$
\column{2.5in}
{~}

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}


%%%%%%%%%%%%%%5%%%%%%%%%%%%5%%%%%%%%%%%
\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0_0p28_conv.png}\\
	Pid$0.63-0.75$, Blend $0.-0.28$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0p28_0p32_conv.png}\\
	Pid$0.63-0.75$, Blend $0.28-0.32$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0p32_0p46_conv.png}\\
	Pid$0.63-0.75$, Blend $0.32-0.46$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0p46_0p54_conv.png}\\
	Pid$0.63-0.75$, Blend $0.46-0.54$

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}

\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0p54_0p65_conv.png}\\
	Pid$0.63-0.75$, Blend $0.54-0.65$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0p65_0p8_conv.png}\\
	Pid$0.63-0.75$, Blend $0.65-0.80$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p63_0p75geo0p8_1p0001_conv.png}\\
	Pid$0.63-0.75$, Blend $0.8-1.0$
\column{2.5in}
  {~}
\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}



%%%%%%%%%%%%%%5%%%%%%%%%%%%5%%%%%%%%%%%
\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0_0p28_conv.png}\\
	Pid$0.75-1$, Blend $0.-0.28$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0p28_0p32_conv.png}\\
	Pid$0.75-1$, Blend $0.28-0.32$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0p32_0p46_conv.png}\\
	Pid$0.75-1$, Blend $0.32-0.46$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0p46_0p54_conv.png}\\
	Pid$0.75-1$, Blend $0.46-0.54$

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}

\begin{frame}\frametitle{$\eta$ background }
{~}\\
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0p54_0p65_conv.png}\\
	Pid$0.75-1$, Blend $0.54-0.65$
\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0p65_0p8_conv.png}\\
	Pid$0.75-1$, Blend $0.65-0.80$

\end{columns}
\begin{columns}

\column{2.5in}
   \includegraphics[scale=0.1]{Fits/pid_0p75_1p0001geo0p8_1p0001_conv.png}\\
	Pid$0.75-1$, Blend $0.8-1.0$
\column{2.5in}
{~}

\end{columns}

\textref {M.Chrz\k{a}szcz 2014}
\end{frame}







\end{document}