\documentclass[12pt]{report}
\usepackage{graphicx}
%\usepackage{geometry} % see geometry.pdf on how to lay out the page. There's lots.
%\geometry{letterpaper} % or letter or a5paper or ... etc
% \geometry{landscape} % rotated page geometry

% See the ``Article customise'' template for come common customisations

\title{HPS Operations Manual v0.1}
\author{}
%\date{} % delete this line to display the current date

%%% BEGIN DOCUMENT
\begin{document}

\maketitle
\tableofcontents

\chapter{Description of the HPS Experiment}

\section{The Beamline}

\section{The SVT}
The SVT uses 6 layers of silicon extending from 10 cm to 90 cm downstream of the target inside of the PS vacuum chamber to measure charged particle trajectories.  To accommodate the passage of the beam, the SVT is built in two halves, top and bottom, so that each layer consists of a pair of modules, one above and one below the beam plane.  Each module uses silicon microstrip sensors placed back-to-back with a small stereo angle between sides to provide 3-d space points for the hits in a module.  Modules for layer 1-3 have a single sensor on each side with readout at one end, while those for layers 4-6 are longer, with a pair of sensors on each side and readout at both ends.

Modules are supported in groups of three by a set of four support plates. The top and bottom support plates for the back half of the SVT (layers 4-6) are stationary.  However, the supports for layers 1-3 can be opened and closed vertically around the beam, rotating around hinges behind layer 3 and moved by levers extending upstream to a pair of linear shifts outside of the magnet. The support plates are kinematically mounted inside a support box that installs into the PS vacuum chamber.

The first stage of readout electronics is located on a hybrid circuit board at the end of each sensor.  Multiplexed analog signals from these boards are digitized by a set of 10 Front End Boards (FEBs) mounted to a separate cooling plate inside the SVT support box. Each FEB can control 4 hybrid/sensor units: a single module in layers 4-6 and either one or two modules in layers 1-3. The FEBs also control the hybrids, provide regulated low-voltage power from a single input, and pass externally generated bias voltages (HV) through to the sensors.   The FEBs communicate with a set of 4 Signal Flange Boards (SFB), up to three per SFB, which transmit digital signals through the vacuum penetration.  The exterior side of each flange board converts digital to optical signals for communication with the RCE DAQ.  Power to the FEB are routed through a pair of Power Flange Boards, one for LV and one for HV, supplied by a Wiener Mpod power supply modules in a pair of crates on the pie-tower.

Cooling for the SVT is provided by a pair of chillers; one for the hybrids and sensors that operates at -10 $^\circ$C and one for the FEBs that operates at room temperature.  The FEBs have a single cooling loop, while the hybrids and sensors have two loops, one for the top and one for the bottom half of the SVT, where each of these loops runs first through the support structure for layers 1-3 and then through the structure for layers 4-6.  There are temperature sensors on every hybrid as well as sensors in the FEBs.

The linear shifts, the cooling penetrations, and the signal/power penetrations are all located on a set of flanges on an extension vacuum box mounted to the upstream end of the PS vacuum chamber and which connects to the upstream beam line.


\section{The ECal}

\section{The DAQ and Trigger}

%==============

\chapter{Instructions for Shift Takers}
\section{Starting a Run}
\section{During Normal Running}
\section{Ending a Run}
\section{Between Runs}

%==============

\chapter{Instructions for Experts}
\section{Beamline Expert Operations}
\section{SVT Expert Operations}
\section{ECal Expert Operations}
\section{DAQ and Trigger Expert Operations}

%==============

\chapter{Instructions for Shift Leaders}
\section{Beamline Responsibilities}
\section{SVT Responsibilities}
\section{Ecal Responsibilities}
\section{DAQ and Trigger Responsibilities}

%==============

\appendix

\chapter{Beamline Controls, Monitoring and Alarms}
\section{Magnets}
\section{Target}
\section{Beam Position}
\section{???}

\chapter{SVT Controls, Monitoring and Alarms}
\section{SVT Power Supplies}
\subsection{System Description}
Pelle
\subsection{Control}
Pelle, Omar
\subsection{Monitoring, Alarms and Interlocks}
Pelle, Omar
\section{SVT Cooling}
\subsection{System Description}
Marco
\subsection{Control}
Marco, Takashi
\subsection{Monitoring, Alarms and Interlocks}
As described above, the following parameters are monitored through the EPICS slow controls system:

\begin{itemize}
	\item Flow, inlet temperature, and outlet temperature for both cooling loops (read through Allen-Bradley PLC)
	\item On-board temperatures for SVT modules and front end boards (read through SVT DAQ)
	\item Chiller status and setpoints (read through RS-232 interfaces of chillers)
\end{itemize}

These are displayed on a monitoring GUI (Figure \ref{fig:cooling_display}). The SVT alarm handler has alarms defined for the temperatures: see the SVT monitoring section.

The solenoid valves are interlocked to mitigate any leaks in the cooling system. 
If the flow meter in either cooling loop detects low flow, the valve at that chiller's outlet closes to prevent coolant from being pumped out of a possible leak in that loop. 
If the vacuum gauge detects a loss of vacuum, both solenoid valves close in case the vacuum loss is due to a coolant leak inside vacuum.

Other systems use the cooling system's flow and temperature sensors as inputs to their interlocks; see the slow controls section.

\begin{figure*}[t]
	\begin{center}
		\includegraphics[width=0.8\textwidth]{Epics_svt_temps}
		\caption{SVT temperature GUI from 2012 test run. An updated GUI (work in progress) will show flow and temperature readings from the cooling loop, and chiller status.}
		\label{fig:cooling_display}
	\end{center}
\end{figure*}

\section{SVT Position}
\subsection{System Description}
Takashi
\subsection{Control}
Takashi
\subsection{Monitoring, Alarms and Interlocks}
Takashi, Sho
\section{SVT Beam Conditions}
\subsection{System Description}
Takashi
\subsection{Monitoring, Alarms, and Interlocks}
Takashi, Sho

\chapter{ECal Controls, Monitoring and Alarms}
\section{ECal Power Supplies}
\section{ECal Cooling}
\section{???}

\chapter{DAQ Controls, Monitoring and Alarms}
\section{The DAQ GUI}
\section{The Monitoring Application}
\section{???}

\chapter{Contact Information}
\section{Expert Phone List}

\end{document}
