Newer
Older
Presentations / MC / HepData / mchrzasz.tex
@mchrzasz mchrzasz on 9 Oct 2016 12 KB slides for Tom
  1. \documentclass[11 pt,xcolor={dvipsnames,svgnames,x11names,table}]{beamer}
  2.  
  3. \usepackage[english]{babel}
  4. \usepackage{polski}
  5.  
  6.  
  7. \usetheme[
  8. bullet=circle, % Other option: square
  9. bigpagenumber, % circled page number on lower right
  10. topline=true, % colored bar at the top of the frame
  11. shadow=false, % Shading for beamer blocks
  12. watermark=BG_lower, % png file for the watermark
  13. ]{Flip}
  14.  
  15. %\logo{\kern+1.em\includegraphics[height=1cm]{SHiP-3_LightCharcoal}}
  16.  
  17.  
  18. \usepackage[lf]{berenis}
  19. \usepackage[LY1]{fontenc}
  20. \usepackage[utf8]{inputenc}
  21.  
  22. \usepackage{emerald}
  23. \usefonttheme{professionalfonts}
  24. \usepackage[no-math]{fontspec}
  25. \defaultfontfeatures{Mapping=tex-text} % This seems to be important for mapping glyphs properly
  26.  
  27. \setmainfont{Gillius ADF} % Beamer ignores "main font" in favor of sans font
  28. \setsansfont{Gillius ADF} % This is the font that beamer will use by default
  29. % \setmainfont{Gill Sans Light} % Prettier, but harder to read
  30.  
  31. \setbeamerfont{title}{family=\fontspec{Gillius ADF}}
  32.  
  33. \input t1augie.fd
  34.  
  35. %\newcommand{\handwriting}{\fontspec{augie}} % From Emerald City, free font
  36. %\newcommand{\handwriting}{\usefont{T1}{fau}{m}{n}} % From Emerald City, free font
  37. % \newcommand{\handwriting}{} % If you prefer no special handwriting font or don't have augie
  38.  
  39. %% Gill Sans doesn't look very nice when boldfaced
  40. %% This is a hack to use Helvetica instead
  41. %% Usage: \textbf{\forbold some stuff}
  42. %\newcommand{\forbold}{\fontspec{Arial}}
  43.  
  44. \usepackage{graphicx}
  45. \usepackage[export]{adjustbox}
  46.  
  47. \usepackage{amsmath}
  48. \usepackage{amsfonts}
  49. \usepackage{amssymb}
  50. \usepackage{bm}
  51. \usepackage{colortbl}
  52. \usepackage{mathrsfs} % For Weinberg-esque letters
  53. \usepackage{cancel} % For "SUSY-breaking" symbol
  54. \usepackage{slashed} % for slashed characters in math mode
  55. \usepackage{bbm} % for \mathbbm{1} (unit matrix)
  56. \usepackage{amsthm} % For theorem environment
  57. \usepackage{multirow} % For multi row cells in table
  58. \usepackage{arydshln} % For dashed lines in arrays and tables
  59. \usepackage{siunitx}
  60. \usepackage{xhfill}
  61. \usepackage{grffile}
  62. \usepackage{textpos}
  63. \usepackage{subfigure}
  64. \usepackage{tikz}
  65.  
  66. %\usepackage{hepparticles}
  67. \usepackage[italic]{hepparticles}
  68.  
  69. \usepackage{hepnicenames}
  70.  
  71. % Drawing a line
  72. \tikzstyle{lw} = [line width=20pt]
  73. \newcommand{\topline}{%
  74. \tikz[remember picture,overlay] {%
  75. \draw[crimsonred] ([yshift=-23.5pt]current page.north west)
  76. -- ([yshift=-23.5pt,xshift=\paperwidth]current page.north west);}}
  77.  
  78.  
  79.  
  80. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
  81. \usepackage{tikzfeynman} % For Feynman diagrams
  82. \usetikzlibrary{arrows,shapes}
  83. \usetikzlibrary{trees}
  84. \usetikzlibrary{matrix,arrows} % For commutative diagram
  85. % http://www.felixl.de/commu.pdf
  86. \usetikzlibrary{positioning} % For "above of=" commands
  87. \usetikzlibrary{calc,through} % For coordinates
  88. \usetikzlibrary{decorations.pathreplacing} % For curly braces
  89. % http://www.math.ucla.edu/~getreuer/tikz.html
  90. \usepackage{pgffor} % For repeating patterns
  91.  
  92. \usetikzlibrary{decorations.pathmorphing} % For Feynman Diagrams
  93. \usetikzlibrary{decorations.markings}
  94. \tikzset{
  95. % >=stealth', %% Uncomment for more conventional arrows
  96. vector/.style={decorate, decoration={snake}, draw},
  97. provector/.style={decorate, decoration={snake,amplitude=2.5pt}, draw},
  98. antivector/.style={decorate, decoration={snake,amplitude=-2.5pt}, draw},
  99. fermion/.style={draw=gray, postaction={decorate},
  100. decoration={markings,mark=at position .55 with {\arrow[draw=gray]{>}}}},
  101. fermionbar/.style={draw=gray, postaction={decorate},
  102. decoration={markings,mark=at position .55 with {\arrow[draw=gray]{<}}}},
  103. fermionnoarrow/.style={draw=gray},
  104. gluon/.style={decorate, draw=black,
  105. decoration={coil,amplitude=4pt, segment length=5pt}},
  106. scalar/.style={dashed,draw=black, postaction={decorate},
  107. decoration={markings,mark=at position .55 with {\arrow[draw=black]{>}}}},
  108. scalarbar/.style={dashed,draw=black, postaction={decorate},
  109. decoration={markings,mark=at position .55 with {\arrow[draw=black]{<}}}},
  110. scalarnoarrow/.style={dashed,draw=black},
  111. electron/.style={draw=black, postaction={decorate},
  112. decoration={markings,mark=at position .55 with {\arrow[draw=black]{>}}}},
  113. bigvector/.style={decorate, decoration={snake,amplitude=4pt}, draw},
  114. }
  115.  
  116. % TIKZ - for block diagrams,
  117. % from http://www.texample.net/tikz/examples/control-system-principles/
  118. % \usetikzlibrary{shapes,arrows}
  119. \tikzstyle{block} = [draw, rectangle,
  120. minimum height=3em, minimum width=6em]
  121.  
  122.  
  123.  
  124.  
  125. \usetikzlibrary{backgrounds}
  126. \usetikzlibrary{mindmap,trees} % For mind map
  127. \newcommand{\degree}{\ensuremath{^\circ}}
  128. \newcommand{\E}{\mathrm{E}}
  129. \newcommand{\Var}{\mathrm{Var}}
  130. \newcommand{\Cov}{\mathrm{Cov}}
  131. \newcommand\Ts{\rule{0pt}{2.6ex}} % Top strut
  132. \newcommand\Bs{\rule[-1.2ex]{0pt}{0pt}} % Bottom strut
  133.  
  134. \graphicspath{{images/}} % Put all images in this directory. Avoids clutter.
  135.  
  136. % SOME COMMANDS THAT I FIND HANDY
  137. % \renewcommand{\tilde}{\widetilde} % dinky tildes look silly, dosn't work with fontspec
  138. \newcommand{\comment}[1]{\textcolor{comment}{\footnotesize{#1}\normalsize}} % comment mild
  139. \newcommand{\Comment}[1]{\textcolor{Comment}{\footnotesize{#1}\normalsize}} % comment bold
  140. \newcommand{\COMMENT}[1]{\textcolor{COMMENT}{\footnotesize{#1}\normalsize}} % comment crazy bold
  141. \newcommand{\Alert}[1]{\textcolor{Alert}{#1}} % louder alert
  142. \newcommand{\ALERT}[1]{\textcolor{ALERT}{#1}} % loudest alert
  143. %% "\alert" is already a beamer pre-defined
  144. \newcommand*{\Scale}[2][4]{\scalebox{#1}{$#2$}}%
  145.  
  146. \def\Put(#1,#2)#3{\leavevmode\makebox(0,0){\put(#1,#2){#3}}}
  147.  
  148. \usepackage{gmp}
  149. \usepackage[final]{feynmp-auto}
  150.  
  151. \usepackage[backend=bibtex,style=numeric-comp,firstinits=true]{biblatex}
  152. \bibliography{bib}
  153. \setbeamertemplate{bibliography item}[text]
  154.  
  155. \makeatletter\let\frametextheight\beamer@frametextheight\makeatother
  156.  
  157. % suppress frame numbering for backup slides
  158. % you always need the appendix for this!
  159. \newcommand{\backupbegin}{
  160. \newcounter{framenumberappendix}
  161. \setcounter{framenumberappendix}{\value{framenumber}}
  162. }
  163. \newcommand{\backupend}{
  164. \addtocounter{framenumberappendix}{-\value{framenumber}}
  165. \addtocounter{framenumber}{\value{framenumberappendix}}
  166. }
  167.  
  168.  
  169. \definecolor{links}{HTML}{2A1B81}
  170. %\hypersetup{colorlinks,linkcolor=,urlcolor=links}
  171.  
  172. % For shapo's formulas:
  173. \def\lsi{\raise0.3ex\hbox{$<$\kern-0.75em\raise-1.1ex\hbox{$\sim$}}}
  174. \def\gsi{\raise0.3ex\hbox{$>$\kern-0.75em\raise-1.1ex\hbox{$\sim$}}}
  175. \newcommand{\lsim}{\mathop{\lsi}}
  176. \newcommand{\gsim}{\mathop{\gsi}}
  177. \newcommand{\wt}{\widetilde}
  178. %\newcommand{\ol}{\overline}
  179. \newcommand{\Tr}{\rm{Tr}}
  180. \newcommand{\tr}{\rm{tr}}
  181. \newcommand{\eqn}[1]{&\hspace{-0.7em}#1\hspace{-0.7em}&}
  182. \newcommand{\vev}[1]{\rm{$\langle #1 \rangle$}}
  183. \newcommand{\abs}[1]{\rm{$\left| #1 \right|$}}
  184. \newcommand{\eV}{\rm{eV}}
  185. \newcommand{\keV}{\rm{keV}}
  186. \newcommand{\GeV}{\rm{GeV}}
  187. \newcommand{\im}{\rm{Im}}
  188. \newcommand{\disp}{\displaystyle}
  189. \def\be{\begin{equation}}
  190. \def\ee{\end{equation}}
  191. \def\ba{\begin{eqnarray}}
  192. \def\ea{\end{eqnarray}}
  193. \def\d{\partial}
  194. \def\l{\left(}
  195. \def\r{\right)}
  196. \def\la{\langle}
  197. \def\ra{\rangle}
  198. \def\e{{\rm e}}
  199. \def\Br{{\rm Br}}
  200.  
  201. \def\ARROW{{\color{JungleGreen}{$\Rrightarrow$}}\xspace}
  202. \def\ARROWR{{\color{WildStrawberry}{$\Rrightarrow$}}\xspace}
  203.  
  204. \author{ {\fontspec{Trebuchet MS}Marcin Chrz\k{a}szcz} (Universit\"{a}t Z\"{u}rich)}
  205. \institute{UZH}
  206. \title[Submitting results to HepData]{Submitting results to HepData}
  207. \date{25 September 2014}
  208.  
  209.  
  210. \begin{document}
  211. \tikzstyle{every picture}+=[remember picture]
  212.  
  213. {
  214. \setbeamertemplate{sidebar right}{\llap{\includegraphics[width=\paperwidth,height=\paperheight]{bubble2}}}
  215. \begin{frame}[c]%{\phantom{title page}}
  216. \begin{center}
  217. \begin{center}
  218. \begin{columns}
  219. \begin{column}{0.75\textwidth}
  220. \flushright\fontspec{Trebuchet MS}\bfseries \Huge {Submitting results to HepData}
  221. \end{column}
  222. \begin{column}{0.02\textwidth}
  223. {~}
  224. \end{column}
  225. \begin{column}{0.23\textwidth}
  226. % \hspace*{-1.cm}
  227. \vspace*{-3mm}
  228. \includegraphics[width=0.6\textwidth]{lhcb-logo}
  229. \end{column}
  230.  
  231. \end{columns}
  232. \end{center}
  233. \quad
  234. \vspace{3em}
  235. \begin{columns}
  236. \begin{column}{0.44\textwidth}
  237. \flushright \vspace{-1.8em} {\fontspec{Trebuchet MS} \Large Marcin Chrząszcz\\\vspace{-0.1em}\small \href{mailto:mchrzasz@cern.ch}{mchrzasz@cern.ch}}
  238.  
  239. \end{column}
  240. \begin{column}{0.53\textwidth}
  241. \includegraphics[height=1.3cm]{uzh-transp}
  242. \end{column}
  243. \end{columns}
  244.  
  245. \vspace{1em}
  246. % \footnotesize\textcolor{gray}{With N. Serra, B. Storaci\\Thanks to the theory support from M. Shaposhnikov, D. Gorbunov}\normalsize\\
  247. \vspace{0.5em}
  248.  
  249. \textcolor{normal text.fg!50!Comment}{Zurich meeting, CERN\\September 27, 2016}
  250. \end{center}
  251. \end{frame}
  252. }
  253.  
  254.  
  255. \begin{frame}[c]{The challenge}
  256.  
  257. \begin{minipage}{\textwidth}
  258. {~}\\
  259. \ARROW The $\PB \to \PKstar \Pmu \Pmu$ analysis has produced over $80$ tables with results and correlation tables... \\
  260. \ARROW Theorists need all the correlation tables to make the global fit.\\
  261. \ARROW Reading the numbers form our tex files from all the theories groups is not really a nice way to do it:
  262. \begin{center}
  263. \includegraphics[width=0.7\textwidth]{images/bug.jpg}
  264. \end{center}
  265. \ARROW Many thanks for Alex Grecu for help understanding how the HepData works!
  266. \end{minipage}
  267. \vspace*{2.cm}
  268. \end{frame}
  269.  
  270.  
  271. \begin{frame}[c]{Example:}
  272.  
  273. \begin{minipage}{\textwidth}
  274. \only<1>{
  275. \begin{exampleblock}{}
  276. \ARROWR The scripts I show here are not $100~\%$ plug and play. \\
  277. \ARROWR Each table in latex is a bit different and needs some special modification.\\
  278. \ARROWR But to modify the scripts and apply them to your case should not be much work.\\
  279. \end{exampleblock}
  280.  
  281. }
  282. \only<2>{
  283. \begin{center}
  284. \includegraphics[width=0.7\textwidth]{images/table.png}
  285. \end{center}
  286. }
  287. \only<3>{
  288. \begin{center}
  289. \includegraphics[width=0.99\textwidth]{images/table2.png}
  290. \end{center}
  291.  
  292. }
  293.  
  294. \end{minipage}
  295. \vspace*{2.cm}
  296. \end{frame}
  297.  
  298.  
  299.  
  300. \begin{frame}[c]{Correlation tables}
  301.  
  302. \begin{minipage}{\textwidth}
  303. \ARROW The main problem was the correlation tables...\\
  304. \ARROW We had around $80$ of them...\\
  305. \only<1>{
  306. \begin{center}
  307. \includegraphics[width=0.95\textwidth]{images/table3.png}
  308. \end{center}
  309. }
  310. \only<2>{
  311. \begin{center}
  312. \includegraphics[width=0.95\textwidth]{images/table4.png}
  313. \end{center}
  314. }
  315. \end{minipage}
  316. \vspace*{2.cm}
  317. \end{frame}
  318.  
  319.  
  320. \begin{frame}[c]{HepData format}
  321.  
  322. \begin{minipage}{\textwidth}
  323. \ARROW So HepData format is completely different then tex.
  324. \begin{center}
  325. \includegraphics[width=0.9\textwidth]{images/hepdata_format.png}
  326. \end{center}
  327.  
  328.  
  329.  
  330. \end{minipage}
  331. \vspace*{2.cm}
  332. \end{frame}
  333.  
  334.  
  335. \begin{frame}[c]{My scripts}
  336.  
  337. \begin{minipage}{\textwidth}
  338. \ARROW Written in python.\\
  339. \ARROW Will briefly go through the some of it's functions.
  340. \only<1>{
  341. \begin{center}
  342. \includegraphics[width=1.1\textwidth]{images/code1.png}
  343. \end{center}
  344. }
  345.  
  346. \only<2>{
  347. \begin{center}
  348. \includegraphics[width=1.1\textwidth]{images/code2.png}
  349. \end{center}
  350.  
  351. }
  352. \only<3>{
  353. \begin{center}
  354. \includegraphics[width=0.8\textwidth]{images/code3.png}
  355. \end{center}
  356.  
  357. }
  358. \only<4>{
  359. \begin{center}
  360. \includegraphics[width=0.8\textwidth]{images/code5.png}
  361. \end{center}
  362.  
  363. }
  364. \only<5>{
  365. \begin{center}
  366. \includegraphics[width=0.8\textwidth]{images/out1.png}
  367. \end{center}
  368.  
  369.  
  370. }
  371.  
  372.  
  373. \end{minipage}
  374. \vspace*{2.cm}
  375. \end{frame}
  376.  
  377.  
  378.  
  379. \begin{frame}[c]{User case}
  380.  
  381. \begin{minipage}{\textwidth}
  382. \ARROW There will be things that need to be changed for each table:
  383.  
  384. \begin{center}
  385. \includegraphics[width=0.95\textwidth]{images/code4.png}
  386. \end{center}
  387.  
  388. \end{minipage}
  389. \vspace*{2.cm}
  390. \end{frame}
  391.  
  392.  
  393.  
  394. \begin{frame}[c]{Error encoding}
  395.  
  396. \begin{minipage}{\textwidth}
  397. \ARROW If you need to encode errors in HepData format:
  398. \begin{center}
  399. \includegraphics[width=0.9\textwidth]{images/out2.png}
  400. \end{center}
  401.  
  402.  
  403.  
  404. \end{minipage}
  405. \vspace*{2.cm}
  406. \end{frame}
  407.  
  408. \begin{frame}[c]{Summary}
  409.  
  410. \begin{minipage}{\textwidth}
  411. \ARROW HepData is a tricky format that unfortunately is not similar to other ones :(\\
  412. \ARROW I am afraid that everyone has to adjust those scripts for they tables.\\
  413. \ARROW If you want to put the results to HepData do it with the paper submission!\\
  414. \ARROW If you already produced some results and want to copy them from tex files to Hepdata you can start with my scripts: \\ \href{http://www.physik.uzh.ch/~mchrzasz/HepData/KstarMuMu/}{\url{http://www.physik.uzh.ch/~mchrzasz/HepData/KstarMuMu/}}
  415.  
  416.  
  417. \end{minipage}
  418. \vspace*{2.cm}
  419. \end{frame}
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427. \backupbegin
  428.  
  429. \begin{frame}\frametitle{Backup}
  430. \topline
  431.  
  432. \end{frame}
  433.  
  434. \backupend
  435.  
  436. \end{document}