\documentclass[twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian, english]{babel}
\usepackage[a4paper, width=455.24408pt, height=654.41338pt, top=1.58in, centering]{geometry} % match the jpconf style
\usepackage{pdfpages}
\usepackage{lipsum}
\usepackage{emptypage} % so that empty pages don't have headings and footers
\usepackage{fancyhdr}
\usepackage{tocloft}
\usepackage{titlesec}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{footnote}           % to manage footnotes inside a tabular
\usepackage[hidelinks]{hyperref} % this package should come last; toc entries are hypertext links

\renewcommand{\cftpartfont}{\hfil\Large\bfseries}
\renewcommand{\cftpartafterpnum}{\hfil}
\cftpagenumbersoff{part}

\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}

\begin{document}

%\title{\textbf{INFN-CNAF\\
%Annual Report 2018}}
%\date{}
%\author{}
%\maketitle

%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/cover.pdf}

\newpage
\thispagestyle{empty}
~
\vfill

\subsubsection*{INFN-CNAF Annual Report 2018}

\textit{www.cnaf.infn.it/annual-report}\\
ISSN 2283-5490 (online)

\subsubsection*{Editors}

Lucia Morganti\\
Alessandro Costantini\\
Luca dell'Agnello\\
Federico Fornari\\
Elisabetta Ronchieri

\subsubsection*{Cover Design}

Francesca Cuicchio

\subsubsection*{Address}

INFN CNAF\\
Viale Berti Pichat, 6/2\\
I-40127 Bologna\\
Tel. +39 051 209 5475, Fax +39 051 209 5477\\
\textit{www.cnaf.infn.it}


\cleardoublepage % force a right-side page

\frontmatter
\pagestyle{fancy}
\fancyhf{} % clear headers and footers
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhf[HLE,HRO]{\thepage}
\fancyhf[HLO,HRE]{\leftmark}

\tableofcontents

\cleardoublepage % force a right-side page

\mainmatter

\phantomsection
\addcontentsline{toc}{chapter}{Introduction}
\markboth{\MakeUppercase{Introduction}}{\MakeUppercase{Introduction}}
\chapter*{Introduction}
\thispagestyle{plain}
Introducing the sixth annual report of CNAF...

\begin{flushright}
  \parbox{0.7\textwidth}{
    \begin{center}
      \textit{Gaetano Maron}
      \\\textit{CNAF Director}
    \end{center}
  }
\end{flushright}

% include a part entry in the toc
\newcommand{\ip}[1]{%includepart
  \cleardoublepage
  \thispagestyle{empty}
  \phantomsection
%  \addtocontents{toc}{\string\begin{NoHyper}}
  \addcontentsline{toc}{part}{#1}
%  \addtocontents{toc}{\string\end{NoHyper}}
  \addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
  {\null\hfill\LARGE\textbf{#1}}
  \cleardoublepage
}

% for each paper:
% * add a directive to include the paper in the toc
%   (\phantomsection makes \addcontentsline work well with hyperref)
% * include the first page with a plain page style
%   (=> no heading and footer)
% * set the left marker of the heading
% * include the rest of the paper with the fancy page style
% example usage: \ia{The Trigger and Data Acquisition system of the KM3NeT-Italy detector}{tridas}


\newcommand{\ia}[2]{%includearticle
  \phantomsection
  \addcontentsline{toc}{chapter}{#1}
  \includepdf[pages=1, pagecommand={\thispagestyle{plain}}]{papers/#2}
  \markboth{#1}{}
  \includepdf[pages=2-, pagecommand={\thispagestyle{fancy}}]{papers/#2}
}



%\addcontentsline{toc}{chapter}{Scientific Exploitation of CNAF ICT Resources}
%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/esperiment.pdf}

%\ip{Scientific Exploitation of CNAF ICT Resources}

%\addcontentsline{toc}{chapter}{Scientific Exploitation of CNAF ICT Resources}




\cleardoublepage
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{part}{Scientific Exploitation of CNAF ICT Resources}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/experiment.pdf}
\cleardoublepage
\ia{User and Operational Support at CNAF}{user-support}
\ia{ALICE computing at the INFN CNAF Tier1}{alice}
\ia{AMS-02 data processing and analysis at CNAF}{ams}
%\ia{The ATLAS experiment at the INFN CNAF Tier 1}{atlas}
%\ia{The Borexino-SOX experiment at the INFN CNAF Tier 1}{borexino}
%\ia{The Cherenkov Telescope Array}{cta}
\ia{The CMS experiment at the INFN CNAF Tier 1}{cms}
\ia{The Belle II experiment at CNAF}{belle}
\ia{CSES-Limadou at CNAF}{limadou}
%\ia{CUORE experiment}{cuore}
%\ia{CUPID-0 experiment}{cupid}
\ia{DAMPE data processing and analysis at CNAF}{dampe}
%\ia{DarkSide-50 experiment at CNAF}{darkside}
%\ia{The EEE Project activity at CNAF}{eee}
\ia{TEST FOR COMMITTEE}{test}
\ia{The \emph{Fermi}-LAT experiment}{fermi}
%\ia{Fazia: running dynamical simulations for heavy ion collisions at Fermi energies}{fazia}
\ia{GAMMA experiment}{gamma}
%\ia{The GERDA experiment}{gerda}
%\ia{Juno experimenti at CNAF}{juno}
\ia{The KM3NeT neutrino telescope network and CNAF}{km3net}
\ia{The NEWCHIM activity at CNAF for the CHIMERA and FARCOS devices}{newchim}
%\ia{LHCb Computing at CNAF}{lhcb}
%\ia{The LHCf experiment}{lhcf}
%\ia{The LSPE experiment at INFN CNAF}{lspe}
\ia{The NA62 experiment at CERN}{na62}
\ia{The PADME experiment at INFN CNAF}{padme}
%\ia{XENON computing activities}{xenon}
\ia{Advanced Virgo computing at CNAF}{virgo}
%
% to keep together the next part title with its chapters in the toc
%\addtocontents{toc}{\newpage}

\cleardoublepage
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{part}{The Tier 1 and Data center}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/datacenter.pdf}
%\ia{The INFN Tier 1 data center}{tier1}
%\ia{The computing farm}{farming}
%\ia{Data management and storage systems}{storage}
%\ia{Evaluation of the ClusterStor G200 Storage System}{seagate}
%\ia{Activity of the INFN CNAF Long Term Data Preservation (LTDP) group}{ltpd}
%\ia{The INFN Tier 1: Network}{net}
%\ia{Cooling system upgrade and Power Usage Effectiveness improvement in the INFN CNAF Tier 1 infrastructure}{infra}
%\ia{National ICT Services Infrastructure and Services}{ssnn1}
%\ia{National ICT Services hardware and software infrastructures for Central Services}{ssnn2}
%\ia{The INFN Information System}{sysinfo}
%\ia{CNAF Provisioning system: On the way to Puppet 5}{cnprov}


\cleardoublepage
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{part}{Research and Developments}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/research.pdf}
\cleardoublepage
\ia{Internal Auditing INFN for GDPR compliance}{audit}
%\ia{Continuous Integration and Delivery with Kubernetes}{mw-kube}
%\ia{Middleware support, maintenance and development}{mw-software}
%\ia{Evolving the INDIGO IAM service}{mw-iam}
%\ia{Esaco: an OAuth/OIDC token introspection service}{mw-esaco}
%\ia{StoRM Quality of Service and Data Lifecycle support through CDMI}{mw-cdmi-storm}
%\ia{A low-cost platform for space software development}{lowcostdev}
%\ia{Overview of Software Reliability literature}{srp}
%\ia{Summary of a tutorial on statistical methods}{st}
%\ia{Dynfarm: Transition to Production}{dynfarm}
%\ia{Official testing and increased compatibility for Dataclient}{dataclient}
%\ia{INDIGO-DataCloud: Overview, Results, Impact}{cloud_d}
%\ia{INDIGO-DataCloud: Software Lifecycle Management embracing DevOps philosophy}{cloud_a}
%\ia{EOSCpilot and interoperability aspects}{cloud_b}
%\ia{Cloud@CNAF - Enabling the INDIGO-DataCloud PaaS Orchestration Layer}{cloud_c}


\cleardoublepage
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{part}{Technology transfer and other projects}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/transfer.pdf}
\cleardoublepage
%\ia{External projects and Technology transfer}{pett}
%\ia{The ISO 27001 Certification}{iso}
%\ia{COmputing on SoC Architectures: the COSA project at CNAF}{cosa}
%\ia{The ExaNeSt project - activities at CNAF}{exanest}

\cleardoublepage
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{part}{Additional information}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
%\includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{papers/additional.pdf}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Organization}
\markboth{\MakeUppercase{Organization}}{\MakeUppercase{Organization}}
\chapter*{Organization}
\thispagestyle{plain}

\vspace*{1cm}

\subsection*{Director}

\begin{tabular}{ l }
Gaetano Maron
\end{tabular}

\subsection*{Scientific Advisory Panel}

\begin{tabular}{ l l p{7cm} }
\textit{Chairperson} & Michael Ernst         & \textit{\small Brookhaven National Laboratory, USA} \\
                     & Gian Paolo Carlino    & \textit{\small INFN -- Sezione di Napoli, Italy} \\
                     & Patrick Fuhrmann      & \textit{\small Deutsches Elektronen-Synchrotron, Germany} \\
                     & Josè Hernandez        & \textit{\small Centro de Investigaciones Energéticas, Medioambientales y Tecnológicas, Spain} \\
                     & Donatella Lucchesi    & \textit{\small Università di Padova, Italy} \\
                     & Vincenzo Vagnoni      & \textit{\small INFN -- Sezione di Bologna, Italy} \\
                     & Pierre-Etienne Macchi & \textit{\small IN2P3/CNRS, France}

\end{tabular}

% open local environment where the format of section and subsection
% is modified
{

% see titlesec documentation
%\titleformat{ command }[ shape ]{ format }{ label }{ sep }{ before-code }[ after-code ]
\titleformat{\section}{\large\bfseries\center}{}{}{}[\titlerule]
\titleformat{\subsection}{}{}{}{{\bfseries Head:} }

%\titlespacing*{ command }{ left }{ before-sep }{ after-sep }[ right-sep ]
%\titlespacing*{\section}{0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}

% NB use the * versions of section and subsection otherwise they end up in the toc

\section*{Data Center -- Tier 1}

\subsection*{L. dell'Agnello}

\begin{savenotes}               % to manage correctly footnotes inside tabular
  \begin{tabular}{ p{0.18\textwidth} p{0.18\textwidth} p{0.18\textwidth} p{0.18\textwidth} p{0.18\textwidth} }

    \textbf{Farming}                       & \textbf{Storage}                          & \textbf{Networking}                                    & \textbf{Infrastructure}                  & \textbf{User Support}
    \\[.1cm]\underline{A. Chierici}        & \underline{V. Sapunenko}                  & \underline{S. Zani}                                    & \underline{M. Onofri}                    & \underline{D. Cesini}
    \\S. Dal Pra                           & A. Cavalli                                & L. Chiarelli\footnote{GARR employee relocated at CNAF} & M. Donatelli                             & E. Corni
    \\D. Michelotto                        & D. Cesini                                 & D. De Girolamo                                         & P. Ricci                                 & F. Fornari\footnote{Since July}
    \\S. Virgilio\footnote{Until April}    & A. Falabella                              &                                                        & L. B. Scarponi\footnote{Since September} & C. Pellegrino\footnote{Until September}
    \\                                     & E. Fattibene                              &                                                        & A. Velardo\footnote{Since April}         & M. V.P. Soares
    \\                                     & L. Morganti                               &                                                        &                                          & M. Tenti\footnote{Until August}
    \\                                     & A. Prosperini                             &                                                        &                                          &
  \end{tabular}
\end{savenotes}

\section*{Software Development and Distributed Systems}

\subsection*{D. Salomoni}
\begin{savenotes}               % to manage correctly footnotes inside tabular
\begin{tabular}{ p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} }

  \multicolumn{2}{l}{\textbf{Software Development}}                            & \multicolumn{2}{l}{\textbf{Distributed Systems}}
  \\[.1cm]\underline{F. Giacomini}      & M. Caberletti\footnote{Until August} & \underline{C. Duma}              & V.Ciaschini
  \\A. Ceccanti                         & E. Ronchieri                         & A. Costantini                    & D. Michelotto
  \\E. Vianello                         & N. Terranova                         & M. Panella\footnote{Until April} & S. Taneja\footnote{Until October}
  \\ F. Proietti & & & 
\end{tabular}
\end{savenotes}

\section*{External Projects and Technology Transfer}

\subsection*{M. C. Vistoli}

\begin{tabular}{ p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} }

 \multicolumn{2}{l}{\textbf{ICT}} 
 \\[.1cm]\underline{B. Martelli} & Francesco Antoniazzi

\end{tabular}


\section*{National ICT Services}

\subsection*{S. Longo}
\begin{savenotes}
\begin{tabular}{ p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth}}

S. Antonelli &  M. Pezzi\footnote{Until September} & F. Rosso & G. Zizzi\footnote{Until October}

\end{tabular}
\end{savenotes}


\section*{Information System}

\subsection*{G. Guizzunti}
\begin{savenotes}               % to manage correctly footnotes inside tabular
\begin{tabular}{ p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} p{0.23\textwidth} }

  S. Bovina & M. Canaparo & E. Capannini & F. Capannini
  \\ B. Demin &          C. Galli     &              &

\end{tabular}
\end{savenotes}
\section*{Director Office}

\subsection*{E. Amadei}

%\section*{Expenditure Centralization Office\protect\footnote{The office is under the INFN Director General.}}
%\subsection*{M. Pischedda}

} % close local environment


\cleardoublepage % force a right-side page

\phantomsection
\addcontentsline{toc}{chapter}{Seminars}
\markboth{\MakeUppercase{Seminars}}{\MakeUppercase{Seminars}}
\chapter*{Seminars}
\thispagestyle{plain}

\begin{longtable}{ l p{12cm} }

  Jan. $26^{th}$ & Marco Manca \\
  & \textbf{BioDynaMo: in-silico biomedical simulations coming of age} \\[.4cm] % leave .4cm of vertical space
  
  Feb. $9^{th}$ & Julien Leduc \\
  & \textbf{The CERN tape infrastructure} \\[.4cm] % leave .4cm of vertical space
  
  Feb. $23^{rd}$ & Mirko Mariotti \\
  & \textbf{The BondMachine: a fully reconfigurable computing ecosystem} \\[.4cm] % leave .4cm of vertical space
  
  Apr. $4^{th}$ & Xiaomei Zhang \\
  & \textbf{Status and prospects of computing at IHEP} \\[.4cm] % leave .4cm of vertical space
  
  Apr. $12^{th}$ & Vincenzo Ciaschini \\
  & \textbf{Introduzione alla blockchain} \\[.4cm] % leave .4cm of vertical space  
  
  Jun. $27^{th}$ &  Francieli Zanon Boito \\
  & \textbf{Energy Efficiency and I/O Performance of Low-Power Architectures} \\[.4cm] % leave .4cm of vertical space    
  
  Nov. $27^{th}$ &   Barbara Martelli, Luca Giommi, Simone Rossi Tisbeni and Tommaso Diotalevi \\
  & \textbf{Exploring machine learning approaches for predictive maintenance and log analysis at CNAF} \\[.4cm] % leave .4cm of vertical space    

  
  
\end{longtable}

\end{document}
