\documentclass[11 pt,xcolor={dvipsnames,svgnames,x11names,table}]{beamer}

\usepackage[english]{babel}
\usepackage{polski}


\usetheme[
	bullet=circle,		% Other option: square
	bigpagenumber,		% circled page number on lower right
	topline=true,			% colored bar at the top of the frame
	shadow=false,			% Shading for beamer blocks
	watermark=BG_lower,	% png file for the watermark
	]{Flip}

%\logo{\kern+1.em\includegraphics[height=1cm]{SHiP-3_LightCharcoal}}


\usepackage[lf]{berenis}
\usepackage[LY1]{fontenc}
\usepackage[utf8]{inputenc}

%\usepackage{emerald}
\usefonttheme{professionalfonts}
\usepackage[no-math]{fontspec}
\defaultfontfeatures{Mapping=tex-text}	% This seems to be important for mapping glyphs properly

\setmainfont{Gillius ADF}			% Beamer ignores "main font" in favor of sans font
\setsansfont{Gillius ADF}			% This is the font that beamer will use by default
% \setmainfont{Gill Sans Light}		% Prettier, but harder to read

\setbeamerfont{title}{family=\fontspec{Gillius ADF}}

\input t1augie.fd

%\newcommand{\handwriting}{\fontspec{augie}} % From Emerald City, free font
%\newcommand{\handwriting}{\usefont{T1}{fau}{m}{n}} % From Emerald City, free font
% \newcommand{\handwriting}{}	% If you prefer no special handwriting font or don't have augie

%% Gill Sans doesn't look very nice when boldfaced
%% This is a hack to use Helvetica instead
%% Usage: \textbf{\forbold some stuff}
%\newcommand{\forbold}{\fontspec{Arial}}

\usepackage{graphicx}
\usepackage[export]{adjustbox}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{colortbl}
\usepackage{mathrsfs} 			% For Weinberg-esque letters
\usepackage{cancel}				% For "SUSY-breaking" symbol
\usepackage{slashed}            % for slashed characters in math mode
\usepackage{bbm}                %for \mathbbm{1} (unit matrix)
\usepackage{amsthm}				% For theorem environment
\usepackage{multirow}			% For multi row cells in table
\usepackage{arydshln} 			% For dashed lines in arrays and tables
\usepackage{siunitx}
\usepackage{xhfill}
\usepackage{grffile}
\usepackage{textpos}
\usepackage{subfigure}
\usepackage{tikz}

%\usepackage{hepparticles}
\usepackage[italic]{hepparticles}

\usepackage{hepnicenames}

% Drawing a line
\tikzstyle{lw} = [line width=20pt]
\newcommand{\topline}{%
  \tikz[remember picture,overlay] {%
    \draw[crimsonred] ([yshift=-23.5pt]current page.north west)
             -- ([yshift=-23.5pt,xshift=\paperwidth]current page.north west);}}



% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
\usepackage{tikzfeynman}		% For Feynman diagrams
\usetikzlibrary{arrows,shapes}
\usetikzlibrary{trees}
\usetikzlibrary{matrix,arrows} 				% For commutative diagram
% http://www.felixl.de/commu.pdf
\usetikzlibrary{positioning}				% For "above of=" commands
\usetikzlibrary{calc,through}				% For coordinates
\usetikzlibrary{decorations.pathreplacing}  % For curly braces
% http://www.math.ucla.edu/~getreuer/tikz.html
\usepackage{pgffor}							% For repeating patterns

\usetikzlibrary{decorations.pathmorphing}	% For Feynman Diagrams
\usetikzlibrary{decorations.markings}
\tikzset{
	% >=stealth', %%  Uncomment for more conventional arrows
	vector/.style={decorate, decoration={snake}, draw},
	provector/.style={decorate, decoration={snake,amplitude=2.5pt}, draw},
	antivector/.style={decorate, decoration={snake,amplitude=-2.5pt}, draw},
	fermion/.style={draw=gray, postaction={decorate},
		decoration={markings,mark=at position .55 with {\arrow[draw=gray]{>}}}},
	fermionbar/.style={draw=gray, postaction={decorate},
		decoration={markings,mark=at position .55 with {\arrow[draw=gray]{<}}}},
	fermionnoarrow/.style={draw=gray},
	gluon/.style={decorate, draw=black,
		decoration={coil,amplitude=4pt, segment length=5pt}},
	scalar/.style={dashed,draw=black, postaction={decorate},
		decoration={markings,mark=at position .55 with {\arrow[draw=black]{>}}}},
	scalarbar/.style={dashed,draw=black, postaction={decorate},
		decoration={markings,mark=at position .55 with {\arrow[draw=black]{<}}}},
	scalarnoarrow/.style={dashed,draw=black},
	electron/.style={draw=black, postaction={decorate},
		decoration={markings,mark=at position .55 with {\arrow[draw=black]{>}}}},
	bigvector/.style={decorate, decoration={snake,amplitude=4pt}, draw},
}

% TIKZ - for block diagrams,
% from http://www.texample.net/tikz/examples/control-system-principles/
% \usetikzlibrary{shapes,arrows}
\tikzstyle{block} = [draw, rectangle,
minimum height=3em, minimum width=6em]




\usetikzlibrary{backgrounds}
\usetikzlibrary{mindmap,trees}	% For mind map
\newcommand{\degree}{\ensuremath{^\circ}}
\newcommand{\E}{\mathrm{E}}
\newcommand{\Var}{\mathrm{Var}}
\newcommand{\Cov}{\mathrm{Cov}}
\newcommand\Ts{\rule{0pt}{2.6ex}}       % Top strut
\newcommand\Bs{\rule[-1.2ex]{0pt}{0pt}} % Bottom strut

\graphicspath{{images/}}	% Put all images in this directory. Avoids clutter.

% SOME COMMANDS THAT I FIND HANDY
% \renewcommand{\tilde}{\widetilde} % dinky tildes look silly, dosn't work with fontspec
\newcommand{\comment}[1]{\textcolor{comment}{\footnotesize{#1}\normalsize}} % comment mild
\newcommand{\Comment}[1]{\textcolor{Comment}{\footnotesize{#1}\normalsize}} % comment bold
\newcommand{\COMMENT}[1]{\textcolor{COMMENT}{\footnotesize{#1}\normalsize}} % comment crazy bold
\newcommand{\Alert}[1]{\textcolor{Alert}{#1}} % louder alert
\newcommand{\ALERT}[1]{\textcolor{ALERT}{#1}} % loudest alert
%% "\alert" is already a beamer pre-defined
\newcommand*{\Scale}[2][4]{\scalebox{#1}{$#2$}}%

\def\Put(#1,#2)#3{\leavevmode\makebox(0,0){\put(#1,#2){#3}}}

\usepackage{gmp}
\usepackage[final]{feynmp-auto}

\usepackage[backend=bibtex,style=numeric-comp,firstinits=true]{biblatex}
\bibliography{bib}
\setbeamertemplate{bibliography item}[text]

\makeatletter\let\frametextheight\beamer@frametextheight\makeatother

% suppress frame numbering for backup slides
% you always need the appendix for this!
\newcommand{\backupbegin}{
	\newcounter{framenumberappendix}
	\setcounter{framenumberappendix}{\value{framenumber}}
}
\newcommand{\backupend}{
	\addtocounter{framenumberappendix}{-\value{framenumber}}
	\addtocounter{framenumber}{\value{framenumberappendix}}
}


\definecolor{links}{HTML}{2A1B81}
%\hypersetup{colorlinks,linkcolor=,urlcolor=links}

% For shapo's formulas:
\def\lsi{\raise0.3ex\hbox{$<$\kern-0.75em\raise-1.1ex\hbox{$\sim$}}}
\def\gsi{\raise0.3ex\hbox{$>$\kern-0.75em\raise-1.1ex\hbox{$\sim$}}}
\newcommand{\lsim}{\mathop{\lsi}}
\newcommand{\gsim}{\mathop{\gsi}}
\newcommand{\wt}{\widetilde}
%\newcommand{\ol}{\overline}
\newcommand{\Tr}{\rm{Tr}}
\newcommand{\tr}{\rm{tr}}
\newcommand{\eqn}[1]{&\hspace{-0.7em}#1\hspace{-0.7em}&}
\newcommand{\vev}[1]{\rm{$\langle #1 \rangle$}}
\newcommand{\abs}[1]{\rm{$\left| #1 \right|$}}
\newcommand{\eV}{\rm{eV}}
\newcommand{\keV}{\rm{keV}}
\newcommand{\GeV}{\rm{GeV}}
\newcommand{\im}{\rm{Im}}
\newcommand{\disp}{\displaystyle}
\def\be{\begin{equation}}
\def\ee{\end{equation}}
\def\ba{\begin{eqnarray}}
\def\ea{\end{eqnarray}}
\def\d{\partial}
\def\l{\left(}
\def\r{\right)}
\def\la{\langle}
\def\ra{\rangle}
\def\e{{\rm e}}
\def\Br{{\rm Br}}

\def\ARROW{{\color{JungleGreen}{$\Rrightarrow$}}\xspace}
\def\ARROWR{{\color{WildStrawberry}{$\Rrightarrow$}}\xspace}

\author{ {Marcin Chrzaszcz} (Universit\"{a}t Z\"{u}rich)}
\institute{UZH}
\title[$\PBzero \to \PKstar \Pmuon \APmuon$ Update]{$\PBzero \to \PKstar \Pmuon \APmuon$ Update}
\date{30 January 2017}


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

{
\setbeamertemplate{sidebar right}{\llap{\includegraphics[width=\paperwidth,height=\paperheight]{bubble2}}}
\begin{frame}[c]%{\phantom{title page}}
\begin{center}
\begin{center}
	\begin{columns}
		\begin{column}{0.75\textwidth}
			\flushright\bfseries \Huge {$\PBzero \to \PKstar \Pmuon \APmuon$\\ Update}
		\end{column}
                \begin{column}{0.02\textwidth}
                  {~}
                  \end{column}
                \begin{column}{0.23\textwidth}
                 % \hspace*{-1.cm}
                  \vspace*{-3mm}
                  \includegraphics[width=0.6\textwidth]{lhcb-logo}
                  \end{column}

	\end{columns}
\end{center}
	\quad
	\vspace{3em}
\begin{columns}
\begin{column}{0.44\textwidth}
\flushright \vspace{-1.8em} { \Large Marcin Chrzaszcz\\\vspace{-0.1em}\small \href{mailto:mchrzasz@cern.ch}{mchrzasz@cern.ch}\\  }

\end{column}
\begin{column}{0.53\textwidth}
\includegraphics[height=1.3cm]{uzh-transp}
\end{column}
\end{columns}

\vspace{1em}

\vspace{0.5em}

	\textcolor{normal text.fg!50!Comment}{$\PBzero \to \PKstar \Pmuon \APmuon$ meeting, CERN\\January 31, 2017}
\end{center}
\end{frame}
}


\begin{frame}[c]{The need for MC}

	\begin{minipage}{\textwidth}
\ARROW New analysis will need new/Run2 MC. Already in progress:


\begin{center}
\includegraphics[width=0.99\textwidth]{images/dirac.png}
\end{center}


	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{The need for MC - improvements}
	\begin{minipage}{\textwidth}
\ARROW If you recall in Run1 we had PHSP MC:
	\begin{columns}
\column{0.5\textwidth}
\includegraphics[width=0.99\textwidth]{images/q2PHSP.png}


\column{0.5\textwidth}
		\includegraphics[width=0.99\textwidth]{images/q2.png}

\end{columns}

\ARROW More flat makes our life easier and less dirty in terms of reweighing :)\\
\ARROW Produced 20M events so we can get the correction for small ''nonflatness''. (will give you links at the end).

	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{The data}
	\begin{minipage}{\textwidth}
\ARROW Reprocessed all the data with the same DV. Both 201(1,2,5,6) data sets. \\
\ARROW Also reprocessed all MC for Run1. Run2 scripts are written and will be lunch as soon the production finishes \\
\ARROW First look at data:
\begin{columns}
\column{0.33\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Jpsi_fit_Run1}.png}\\
$N_{J/\psi\PKstar}^{Run1}=641446$
\column{0.33\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Jpsi_fit_2015}.png}\\
$N_{J/\psi\PKstar}^{2015}=106149$
\column{0.33\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Jpsi_fit_2016}.png}\\
$N_{J/\psi\PKstar}^{2016}=626024$
\end{columns}


	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{The data- comparing distributions}
	\begin{minipage}{\textwidth}
\ARROW Over all we see a very good agreement between the year:
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/B_DiraCos}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/B_IPCHI2_OWNPV}.png}\\
\end{columns}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{The data- comparing distributions}
	\begin{minipage}{\textwidth}
\ARROW Over all we see a semi good agreement between the year:
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/B_ENDVERTEX_CHI2}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/B_IP_OWNPV}.png}\\
\end{columns}
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/B_P}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/B_PT}.png}\\
\end{columns}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}



\begin{frame}[c]{The data- comparing distributions}
	\begin{minipage}{\textwidth}
\ARROW Over all we see a semi good agreement between the year:
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/J_psi_ENDVERTEX_CHI2}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/J_psi_IP_OWNPV}.png}\\
\end{columns}
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/J_psi_P}.png}\\
\column{0.50\textwidth}
%\includegraphics[width=0.95\textwidth]{{images/J_psi_PT}.png}\\
{~}
\end{columns}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{The data- comparing distributions}
	\begin{minipage}{\textwidth}
\ARROW Over all we see a semi good agreement between the year:
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/K_IPCHI2_OWNPV}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/K_IP_OWNPV}.png}\\
\end{columns}
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/K_P}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/K_PT}.png}\\
\end{columns}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{The data- comparing distributions}
	\begin{minipage}{\textwidth}
\ARROW Over all we see a semi good agreement between the year:
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Pi_IPCHI2_OWNPV}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Pi_IP_OWNPV}.png}\\
\end{columns}
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Pi_P}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/Pi_PT}.png}\\
\end{columns}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}



\begin{frame}[c]{The data- comparing distributions}
	\begin{minipage}{\textwidth}
\ARROW Over all we see a semi good agreement between the year:
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/mu_minus_IPCHI2_OWNPV}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/mu_minus_IP_OWNPV}.png}\\
\end{columns}
\begin{columns}
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/mu_minus_P}.png}\\
\column{0.50\textwidth}
\includegraphics[width=0.95\textwidth]{{images/mu_minus_PT}.png}\\
\end{columns}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}

\begin{frame}[c]{Selection}
	\begin{minipage}{\textwidth}
\ARROW Now we had the pre selection developed for Run1!\\
\ARROW Known VETOS:
\begin{itemize}
\item Swaps with $\PB \to \PKstar J/\psi$
\item $\Lambda_b$
\item Random pion in $\PB \to \PK \mu \mu$.
\item $\PBs \to \phi \mu \mu$.
\end{itemize}
\ARROW The same triggers as Run1. Need MC to check it for Run2. Have script read to calculate everything so next week we will have numbers.\\


	\end{minipage}
		\vspace*{2.cm}
\end{frame}


\begin{frame}[c]{Selection}
	\begin{minipage}{\textwidth}

\ARROW We have missed one cut unfortunately.\\
\ARROW Normally we have the swap for $J/\psi$:\\
\texttt{"!((B0\_swapMass>3036) and (B0\_swapMass<3156) and (Pi\_PIDmu>5||Pi\_isMuon==1)) and !((B0\_kmuswapMass>3036) and (B0\_kmuswapMass<3156) or (K\_PIDmu>5||K\_isMuon==1))”}
\ARROW We forgot about the $\psi(2S)$:\\{~}\\
\begin{columns}
\column{0.33\textwidth}
\includegraphics[width=0.95\textwidth]{images/espen1.png}
\column{0.33\textwidth}
\includegraphics[width=0.95\textwidth]{images/espen2.png}
\column{0.33\textwidth}
\includegraphics[width=0.95\textwidth]{images/espen3.png}

\end{columns}


\ARROW Impact for the Pwave analysis minimal but let's veto just to be sure :)\\
\ARROW The $m_{K\pi}$ preseleciton cut increased to $1530~\rm MeV$ to cover the future moments analysis.

	\end{minipage}
		\vspace*{2.cm}
\end{frame}




\begin{frame}[c]{Ongoing}
	\begin{minipage}{\textwidth}
\ARROW Downloaded all the needed PIDCalib samples for re sampling. First re sampled distributions should be ready next week.\\
\ARROW EOS TOYS generated. Need to calculate the integrated observables.\\
\ARROW BDT strategies: Keep varaibles as they are and don't spend to much time on this. Run2 needs separate BDT: small studies planned MC vs DATA training.\\


	\end{minipage}
		\vspace*{2.cm}
\end{frame}








\begin{frame}[c]{What we have}
	\begin{minipage}{\textwidth}
\ARROW All ntuples are on eos:\\
\texttt{/eos/lhcb/user/m/mchrzasz/KstarMuMu}
\begin{itemize}
\item data w/o selection
\item data after selection
\item TOY MC: EOS + FlatQ2
\item Run1 MC
\item Run MC(will be copied once it's ready)
\item PIDCalib samples.
\end{itemize}

	\end{minipage}
		\vspace*{2.cm}
\end{frame}





\backupbegin

\begin{frame}\frametitle{Backup}
\topline

\end{frame}

\backupend

\end{document}
