% 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{Simulation of the background for analyses with ew-penguin.}
%\subtitle{a bias report}
\author{ Marcin Chrz\k{a}szcz$^{1,2}$ ,  Nicola Serra$^{1}$ }
\institute[UTH, IFJ]
{
 %\begin{tiny}
$ ^1$ University of Zurich , $ ^2$ Institute of Nuclear Physics, Krakow,  
 %\end{tiny}smallsmall
}
  

\date{ \begin{small} $25^{th}$ September 2013 \end{small}}

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




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




%-------------------------------------------------------------------
%                          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]





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Quo Vadis $\PB \to \PKstar \mu \mu$}
\begin{frame}\frametitle{Quo Vadis $\PB \to \PKstar \mu \mu$}
	\begin{itemize}
	\item We would like to propose to generate MC bck in order to address the following issues:
	\begin{enumerate}
	\item Background for which the invariant mass and the angular distributions are correlated (we have been working on the assumption that these backgrounds are negligibly small).\\
	 Ex. $\PB \to \mu X \PD(\mu X)$.
	\item Stripping could be improved by using a Multivariate technique, the main inefficiency comes from a lifetime cut. 
\end{enumerate}		 
\item A possible solutions to the following issues:
\begin{enumerate}
\item Look for backgrounds using a large sample of MC background.
\item For next round of stripping we would like to prepare a stripping based on MVA to gain a bit on efficiency.
\end{enumerate}

	\end{itemize}

	
	\textref {M.Chrz\k{a}szcz, N.Serra 2013}
\end{frame}

\begin{frame}\frametitle{Improving the selection }

	\begin{itemize}
	\item Till now BDT was trained on data using $\PB \to \PKstar \PJpsi$.
	\item Can not use this for stripping because it already passed the stripping \smiley
	\item Plan would be use MC to train MVA that would be used in February for stripping.
	\item This could really buy us sensitivity. Need to keep in mind that CMS in 2012 re-optimised the trigger for this channel.
	\item We should make the most of our data.
	\end{itemize}
	
	
	\textref {M.Chrz\k{a}szcz, N.Serra 2013}
\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}\frametitle{Background}

\begin{exampleblock}{C.Bovee}
"We fear things in proportion to our ignorance of them."
\end{exampleblock}


	\begin{itemize}
	\item We never verified the background composition with a large MC production, we believe it should be done for the next analysis 
	\item If we have some exponentially leaking bck this could easily mess up our distribution of angles.
	\item If we had a sample of $\sim 0.5fb^{-1}$ this could give us an first idea of if can sleep at night.
	\item I am now concentrating on K*mm, but the same arguments can be made for $\sim$ all EW penguin analysis
	\end{itemize}

	\textref {M.Chrz\k{a}szcz, N.Serra 2013}
\end{frame}
\section{MC generator cuts}

\begin{frame}\frametitle{MC generator cuts.}
\begin{itemize}
\item Following approach from $\tau \to 3 \mu$, one can put some generator level cuts to gain on the efficiency.
\end{itemize}
		\begin{center}
  \begin{tabular}{ | c | c || l | c |}
    \hline
    \multicolumn{4}{|c| }{DiMuon MC} \\
    \hline
    \multicolumn{2}{|c|| }{$\tau \to 3 \mu$} & \multicolumn{2}{|c| }{EW} \\ \hline \hline
    $p_{t\mu}$ & $>290MeV$ & $p_{t\mu}$ & $>0MeV$ \\ \hline
    $p_{\mu}$ & $>2.9GeV$ & $p_{\mu}$ & $>2.9GeV$ \\    \hline
   $M(\mu\mu) $&$<4.5GeV$ & $m(\mu\mu)$ & $<5.1GeV$\\  \hline  
  DOCA$(\mu\mu)$ & $<0.35mm$ & DOCA$(\mu\mu)$ & $<0.30mm$\\ \hline
  \end{tabular}
\end{center}


	\textref {M.Chrz\k{a}szcz, N.Serra 2013}
\end{frame}


\begin{frame}\frametitle{Is MC useful?}
\begin{itemize}
\item Based on just $12pb^{-1}$ of cuts specific for $tau\to3\mu$:
\end{itemize}
\begin{columns}

\column{2.5in}
\includegraphics[scale=0.35]{kstmumu/B0_mm.png}
\column{2.5in}
\includegraphics[scale=0.35]{kstmumu/dimuon.png}


\end{columns}


	\textref {M.Chrz\k{a}szcz, N.Serra 2013}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55
\begin{frame}\frametitle{Our proposal}
\begin{itemize}
\item The purpose of this talk is to provoke discussion (that probably will continue offline) and see if people agree on the usefulness of this sample, we are convinced it is extremely important for K*mm and the other EW analyses but also few other rare decays might profit from it.

\item Take the proposed generation cuts as a draft proposal, of course we are very open to discussions. We already thought about:
\begin{enumerate}
\item Veto $\PJpsi$.
\item $P_t$ cut on only one $\mu$.
\item Only opposite $\mu$s
\item Any smart ideas?
\end{enumerate}
\item but if possible we have the gut feeling this sample should be as unbias as possible 
\item We would ask for 2 samples:
\begin{enumerate}
\item $\sim20M$ of "pure" MC, or with dummy stripping.
\item Rest with filtered production.
\end{enumerate}

\end{itemize}


	\textref {M.Chrz\k{a}szcz, N.Serra 2013}
\end{frame}


\end{document}
