\documentclass[12pt]{article}
\usepackage{fullpage}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{subcaption}		
\usepackage{multirow}




\title{AHEPaM DM/FM Design Manifest}

\begin{document}
\newcommand{\both}{\textbf{\textcolor{red}{DM+FM }}}
\newcommand{\dm}{\textbf{\textcolor{blue}{DM }}}
\newcommand{\fm}{\textbf{\textcolor{green}{FM }}}
\newcommand{\todo}{\textbf{{!todo }}}


\maketitle
This document is for internal use only and defines the design of the AHEPaM DM and FM with special emphasis on the differences between and the design philosophy behind those models. 
\textbf{Note that only Paddy is allowed to edit this document. }
\begin{itemize}
    \item \both design feature of both DM and FM
    \item \dm design feature of the DM only
    \item \fm design feature of the FM only
\end{itemize}


\section{Lessons learned / to do before FM}
\begin{itemize}
    \item it has to be verified for the \fm how shocks/vibration and their resulting displacement/oscillation is causing issues for the SSDs. In detail, a study correlating the amplitude of the detector displacement and the electronic noise of the detector should be performed.
\end{itemize}

\section{Detectors}

\subsection{SSDs}
\fm Detector positions and SSD sizes are presented in fig. \ref{fig:detector_techdraw}.\newline
\fm 
\begin{itemize}
    \item five double stack SSDs labeled SDA to SDE. The SSDs are also segmented:
\begin{itemize}
\item  inner Segments 
\item 3 segments in a ring-like structure. Since the SSDs in a double stack are rotated with respect to each other this results in 6 virtual segments
\item  for the inner three SSD stacks (SDB, SDC, SDD), one of the detectors has an additional outer ring that serves as an anti-coincidence.
\item segment radii of both detectors in a stack differs sligthly, see below
\end{itemize}
\end{itemize}
\begin{itemize}
    \item Thickness: 0.5~mm
    \item Radius of the inner segments $r_{i1}$ / $r_{i2}$ = 11.34~mm / 10.84~mm
    \item Radius of the middle segments $r_{m1}$ / $r_{m2}$ = 30.0~mm / 29.5~mm
    \item Radius of outer anticoincidence ring $r_a$ = 60~mm (based on CAD, $r_a$ = 58.3~mm in GDML), OD Carrier diameter $d_{ca}$=146~mm 
    \item Area of inner segments $A_{i1}$ / $A_{i2}$ = 403.9~mm$^2$ / 369.1~mm$^2$
    \item Area of middle segments $A_{m1}$ / $A_{m2}$ = 807.8~mm$^2$ / 788.3~mm$^2$
    \item Area of outer ring $A_o$ = 7862.7~mm$^2$
\end{itemize}

\dm 
\begin{itemize}
    \item \todo TBD based on Canbera
    \item \todo 5 double stack consisting of HET A and HET B detectors each (i.e. 5 segments per double stack)
    \item \todo either 300~ym based on existing wafers or 500~ym on new ones
    \item \todo dead silicon shards with FM size for thermal/structural testing
\end{itemize}


\subsection{BGOs}
\both A technical drawning of the BGOs is shown in fig. \ref{fig:bgo_techdraw}.
\begin{itemize}
    \item \both two BGOs with thickness of 20~mm (in beam direction). Faces are hexagonal shaped with a wrench size of 90~mm and hence an edge length of 51.962~mm (see mail 22.11.22, Magali Vandenbussche)
\end{itemize}

\subsection{Cherenkov}
\both A technical drawning of the BGOs is shown in fig. \ref{fig:aerogel_techdraw}.
\begin{itemize}
    \item \both two Aerogel Cherenkov detectors which are rectangular cuboids. Thickness of 40~mm (in beam direction). Face is quadratic shaped with 62~mm edge length. n=1.05 (see mail 26.01.23, Makoto Tabata)
    \item \fm if tests show better performance of cylindrical Aerogel Cherenkov detectors, we may want to use those rather than rectangular cuboids.
\end{itemize}

\subsection{Position/Distances of Detectors}
\both (distances between SSDs in agreement between GDML and CAD, 02.02.23)
\begin{itemize}
    \item Distance between two SSD's around BGO: 30~mm
    \item Distance between two SSD's around Aerogel: 50~mm
\end{itemize}






\clearpage
\section{Mechanics}
\begin{itemize}
    \item \both three level ebox below the detectors (see fig. \ref{fig:ebox}
    \item \todo add upm results?
\end{itemize}

\clearpage

\section{Electronics}
The electronix box is presented in fig. \ref{fig:ebox}.
\subsection{Preamps}
The preamp frame is shown in fig. \ref{fig:ebox1}.
\begin{itemize}
    \item \both will be located at the top level inside Ebox
    \item \both we will test whether or not preamps for the photodiods and/or PMT will be relocated directly at the detector
    \item \both is connected to the Shaper boards via (90 pin) board-to-board connectors
\end{itemize}

\subsection{Shaper}
The shaper frame is shown in fig. \ref{fig:ebox2}.
\begin{itemize}
    \item \both will be located at the top or central level inside Ebox
    \item \both is connected to the Preamp boards via (90 pin) board-to-board connectors
    \item \both each shaper board is connected to the Analog board via a 51 bin nano-d connector
\end{itemize}


\subsection{Analog Board}
The backend frame which hosts the analog board is shown in fig. \ref{fig:ebox3}.
\begin{itemize}
    \item \fm FPGA
    \item \dm will be a blank board just routing the connections outside to a FLYRENA
    \item \both will be located at the lowest level inside Ebox
    \item \both is connected to each shaper board via a 51 bin nano-d connector
    \item \fm is connected to the Digital board via ??? \todo
\end{itemize}

\subsection{Digital Board}
The backend frame which hosts the digital board is shown in fig. \ref{fig:ebox3}.
\begin{itemize}
    \item \fm will be located at the lowest level inside Ebox
    \item \dm will be a blank board just routing the connections outside to a FLYRENA
    \item \fm is connected to the Analog board via ??? \todo
\end{itemize}

\subsection{LVPS}
The backend frame which hosts the LVPS board is shown in fig. \ref{fig:ebox3}.
\begin{itemize}
    \item \both will host the connection to the S/C
    \item \fm will be located at the lowest level inside Ebox
    \item \dm will be a blank board just routing the connections outside to a FLYRENA
    \item \fm is connected to the HVPS via ??? \todo
    \item \fm is connected to the Digital board via ??? \todo
\end{itemize}

\subsection{HVPS}
The backend frame which hosts the HVPS board is shown in fig. \ref{fig:ebox3}.
\begin{itemize}
    \item \fm will be located at the lowest level inside Ebox
    \item \fm is connected to the LVPS via ??? \todo
\end{itemize}

\clearpage
\section{Thermals}
\subsection{Summary of UPM results, i.e. expected operational temperatures}
\begin{table}
 \centering
 \caption{Dissipated Heat}
 \label{tab:diss-heat}
 \begin{tabular}{ll|cc}
  &                         & \textit{\textbf{\begin{tabular}[c]{@{}c@{}}Main\\ Simulation\end{tabular}}} & \textit{\textbf{\begin{tabular}[c]{@{}c@{}}Stability\\ Option\end{tabular}}} \\ \hline
  \multicolumn{1}{l|}{\textit{\textbf{\begin{tabular}[c]{@{}l@{}}Detector\\ Segment\end{tabular}}}} & PMT  & 0 W    & \begin{tabular}[c]{@{}c@{}}0,10 W\\ (per each)\end{tabular}   \\ \hline
  \multicolumn{1}{c|}{\multirow{3}{*}{\textit{\textbf{Ebox}}}}  & PCBs/ Preamp Frame      & 2,00 W   & 2,00 W     \\
  \multicolumn{1}{c|}{}  & PCBs/ Shaper Frame      & 0,76 W  & 0,76 W  \\
  \multicolumn{1}{c|}{}  & PCBs/ Backend Frame     & 6,10 W  & 5,90 W  \\ \hline
  \multicolumn{1}{l|}{}  & Total Power Consumption & 8,86 W  & 8,86 W  
 \end{tabular}
\end{table}
\begin{itemize}
    \item \both \todo
\end{itemize}

\subsection{Active thermal control}
\begin{itemize}
    \item \both \todo we prefere to be at constant temperature due to BGO temperature depencency
    \item \both \todo OP heater design, power requirements....
\end{itemize}


\begin{figure}[h]
	\centering
	\includegraphics[page=1,width=1\linewidth]{media/cau-ath-icd-0009_i1-1_telescope-icd.pdf}
	\includegraphics[page=2,width=1\linewidth]{media/cau-ath-icd-0009_i1-1_telescope-icd.pdf}
    \caption{Detector layout and size}
    \label{fig:detector_techdraw}
\end{figure}


\begin{figure}[h]
	\centering
	\includegraphics[page=1,width=1\linewidth]{media/GI-DIV-0181}
    \caption{BGO detector layout and size}
    \label{fig:bgo_techdraw}
\end{figure}

\begin{figure}[h]
	\centering
	\includegraphics[page=1,width=1\linewidth]{media/athena_ahepam_c8_2671_chkv-det}
    \caption{Aerogel detector layout and size}
    \label{fig:aerogel_techdraw}
\end{figure}

\begin{figure}[h]
\begin{subfigure}{.5\textwidth}
  \centering
  \includegraphics[width=1\linewidth]{media/ahepam15_ebox-explosion}
  \caption{E-Box overview}
  \label{fig:ebox1}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
  \centering
  \includegraphics[width=1\linewidth]{media/ahepam16_preamp-frame}
  \caption{Preamp frame}
  \label{fig:ebox2}
\end{subfigure}%
\newline
\begin{subfigure}{.5\textwidth}
  \centering
  \includegraphics[width=1\linewidth]{media/ahepam17_shaper-frame}
  \caption{Shaper frame}
  \label{fig:ebox3}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
  \centering
  \includegraphics[width=1\linewidth]{media/ahepam18_backend-frame}
  \caption{Backend frame}
  \label{fig:ebox4}
\end{subfigure}%
  \caption{E-Box}
  \label{fig:ebox}
\end{figure}




\end{document}