\documentclass[12pt]{article}
\bibliographystyle{elsevier}
\input epsf
\usepackage{epsfig,graphicx,subfigure}
\usepackage[dvips]{color}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{amsmath}
\textwidth  6.0 in
\textheight 8.5 in
\oddsidemargin 0.15in
%%\usepackage{natbib}
\input epsf
%
\def\beqn{\begin{eqnarray}}
\def\eeqn{\end{eqnarray}}
\def\beq{\begin{equation}}
\def\eeq{\end{equation}}
\def\Vec#1{{\bf #1}}
%
\textwidth  6.5in
\textheight 9.in
\topmargin -0.15 in
\headheight 0.2in
\headsep 0.2in
\oddsidemargin 0in
\evensidemargin 0in
\parsep 0 in
\pagenumbering{arabic}
\newcommand{\de}{d}
\newcommand{\st}{T}
%
\newcommand{\la}{\langle}
\newcommand{\ra}{\rangle}
\newcommand{\zh}{z}
\newcommand{\xbj}{x_{\scriptscriptstyle B}}
%%\newcommand{\bm}{\boldsymbol}
%
\newcommand{\Epgb}{$\vec ep~\rightarrow~ep(p,\Delta, N^*)\gamma~$}
\newcommand{\Epgl}{$\vec e\vec p~\rightarrow~ep(p,\Delta, N^*)\gamma~$}
\newcommand{\Eppiz}{$ep~\rightarrow~ep\pi^0~$}
\newcommand{\Enpip}{$ep~\rightarrow~en\pi^+~$}
\newcommand{\EppiD}{$ep~\rightarrow~e\pi \Delta~$}
\newcommand{\Epeta}{$ep~\rightarrow~ep\eta~$}
\newcommand{\Epr}{$ep~\rightarrow~ep\rho~$}
\newcommand{\EpX}{$ep\rightarrow epX~$}
\newcommand{\EpKY}{$ep~\rightarrow~eKY~$}
\newcommand{\vEpg}{$\vec ep~\rightarrow~ep\gamma~$}
\newcommand{\xidef}{$\xi=x_B\frac{1+\frac{Delta^2}{2Q^2}}{2-x_B+x_B\frac{Delta^2}{2Q^2}}$}
\def\gevc2{(GeV/c)$^2$}
\newcommand{\EpgX}{$ep~\rightarrow~ep\gamma X~$}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand{\topfraction}{0.75}
\renewcommand{\bottomfraction}{0.75}
\renewcommand{\textfraction}{0.2}
\renewcommand{\floatpagefraction}{0.7}
%===================  NEW COMMANDS  ==================================
\newcommand{\lf}{\left}
\newcommand{\rg}{\right}
\newcommand{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
\newcommand{\ba}{\begin{eqnarray}}
\newcommand{\ea}{\end{eqnarray}}
\newcommand{\di}{ {\rm d} }

%------ mark comments / ToDo
\newcommand{\dha}[1]{{\sf{\color{red} #1}}}
%
%
\begin{document}
%
\title{ 
Commissioning document of the CLAS12 RICH
}
\author{M. Contalbrigo, V. Kubarovsky, M. Mirazita}
\maketitle
%

\abstract{
This is an integration to the CLAS12 Commissioning Document describing the Commissioning procedure for the RICH detector.
}


\vspace{20mm}

\tableofcontents

%\baselineskip=14pt
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Quality Assurance and System Checkout}
 

%-------------------------------------------
\subsection{Quality Assurance Phase}

The quality assurance phase includes tests of the various components of the RICH detector: the RICH box, the Aerogel, the Mirrors, the MultiAnode PMTs and the Front End electronics.

An assembly test of the RICH module box will be performed before its delivery to JLab.
For this operation, it has been designed a special assembly structure, that will be used also during the assembly and installation at JLab.
A detailed survey of the the dimensions of the box, the position of the RICH mounting points and of the attaching points of the inner elements will be performed by using optical methodes (for example laser tracker).
Markers will be placed on the RICH module in order to be sure that the assembly and installation at JLab will match the design tolerances.

Each aerogel tile is accompanied by a passport reporting all the optical and geometrical characteristics as measured by the producer before the shipment. 
These characteristics are: side lengths, thickness, density, scattering length, absorption coefficient $A_0$.
Acceptance tests will be performed on each tile by measuring the transparency and the scattering lenght.
Same tests will be repeated over the time in order to continuously monitor the quality of the aerogel.
For a subsample of $10 \%$ of the delivery, the full set of measurements will be performed before acceptance.

The quality of the mirrors will be checked via optical and mechanical measurements of the shape of the surface.
For the spherical mirror, a measurement of the size of the spot produced by the mirror when illuminated by a point-like source ($D_0$ measurement) will also be performed.

The Multi-Anode PMTs (MAPMTs) have been tested using a setup made of a laser source emitting a photon beam in the blue light wavelength region at a few photon intensity level.
A dedicated DAQ system based on FADCs will be used to record the spectrum measured by each pixel of the MAPMTs. 
The analysis of these spectra include extraction of the gain and efficiency.
These data will be stored in the CLAS12 database.

The Front-End electronic is based on the MAROC3 chip for the readout of the MAPMT channels and on an FPGA for the communication, via optical link, to the CLAS12 DAQ.
The total number of readout channels is about 25000.
This electronics is organized in tiles feeding groups of 2 and 3 MAPMTs.
A tile has one HV and one LV connection and is composed by an adapter board, an ASIC or MAROC board and a FPGA board.
There is one MAROC chip per MAPMT and one FPGA chip per tile.
The correct functionality of each board will be verified by performing electric checks on well defined test points.




%-------------------------------------------
\subsection{System Checkout}

The assembly of the RICH box will run in parallel with the assembly of the main inner elements, such as the electronic panel, the mirrors and the aerogel.

The assembly of the readout electronics will be performed by pairing the adapter board with the MAPMTs on the inner side of the panel and the ASIC and FPGA boards on the outer side.
After completion of the assembly on the supporting panel, the correct functionality of the system will be verified by switching on the HV of the MAPMTs and the LV of the FE cards.
Acquisition tests with cosmic rays will be performed.
A test of the cooling system, including the slow controls for temperature, humidity and air flow readout, will be also done.

The sub-mirrors composing the various RICH mirror panels (the frontal and lateral planar ones and the spherical one) will be assembled on their supports and aligned by using optical methodes.
Then, the panels will be installed in the RICH box and the relative alignment and the position with respect to the reference markers will be checked.
Possible misalignments will be compensated by adjusting the mounting screws of the various panels.

As last assembly step before sealing the RICH module, the aerogel tiles will be installed on the frontal panel.
A special closing box will be used during this operation in order to prevent any possible damage due to the humidity absorption and to be able to flux dry nitrogen on the aerogel.

The assembly of the RICH box will be performed following the procedure established in the assembly test before the shipment.
Once completed, the inner elements will be installed inside the RICH.
Since, when the RICH has been sealed, the position of any inner element cannot be directly verified, it will be important in this phase to check the reliability of the mirror mounting points.
This will be done by repeating the mirror installation procedure more than once.
Finally, the precise verification of the markers attached externally to the box will be done.




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Commissioning Without Beam}

\subsection{RICH Calibration}

The calibration and equalization of the RICH readout system is done in three steps.
The first step is the measurement of the MAPMT gains in the single photoelectron regime performed during the quality assurance phase.
These results will be used to select groups of two or three MAPMTs with similar average gains to be mounted on the same readout tile.

The second step is the setting of the preamplifier gain (one value per channel) and of the digital threshold (one value per MAPMT) of the MAROC3 chip.
The calibration of the MAROC3 chip will be done with dedicated runs in self-trigger mode or with a charge injector.
These runs will be periodically repeated for stability verification.

In the last step, the MAPMT and FE calibration data will be merged in order to equalize the response of all the readout channels, so that, ideally, one threshold value, common for all the channels, at a level of a fraction of one p.e. signal, could be set.

Cosmic ray measurements will also be performed.
In a first phase, they will be performed using the electronic panel only to verify the correct functionality of the system. 
In a second phase, after completion of the RICH assembly and before installation in CLAS12, they will be used to verify the RICH performances.
During these measurements, the RICH will be rotated in horizontal position using the assembly structure, with the front panel and the aerogel on the bottom.
Cosmic rays will produce Cherenkov photons on the aerogel, then will be reflected by the planar mirrors to the photodetector plane.
Cherenkov photons produced on the MAPMT window can also be used to study the capability of the reconstruction software in distinguishing rings with different radius.



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Commissioning With Beam}
 

%-------------------------------------------
\subsection{Commissioning Phase}

After good beam is established, the RICH is turned on and data with electron trigger will be accumulated to check the correct operation of the RICH detector.
For these studies, good reconstructed tracks from the CLAS12 tracking system must be available.

The first phase of the commissioning will check the ring reconstruction software.
Data with magnetic field off will be used to verify the alignment of the photodector plane by comparing the particle trajectory projection with the cluster hit position on the MAPMTs.
Events without reconstructed tracks in the RICH sector will be used to study the background level.

Then, the torus magnetic field will be turned on and electron tracks will be used to study the alignment of the mirror system.
Data with torus configuration different from the nominal one, in particular with lower or reversed field, and various beam energies will be accumulated to establish the RICH acceptance limits in the largest kinematic range possible.
Data at various beam current will be used to study the reconstruction algorithm at different background levels.




%-------------------------------------------
\subsection{Performances Studies}

The collected data will be used to verify the RICH KPP, which is the capability to distinguish between pions, kaons and protons at small angles, when the Cherenkov photons are detected directly by the photodetectors, without reflections on the mirrors.
The Particle IDentification (PID) software compares the measured hit pattern to the one produced by a given particle hypothesis through a likelihood function.
The calculation of the likelihood for every particle hypothesis will be tuned by using narrow resonances produced in exclusive events, as for example $K_S$ for pions, $\phi$ for kaons and $\Lambda$ for protons.
Then, the PID capabilities will be analyzed by studying the $\pi / K$ and $K / p$ rejection factors versus the likelihood cuts.
The cuts will be optimized in order to maximize the particle detection efficiency and minimize the contamination due to wrong identification.



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Appendix: RICH Commissioning Information}
 

%======================================================
\subsection{Contact Persons}


\begin{tabular}{||c|c|c|c||} 
\hline
\hline
\multicolumn{4}{||l||}{\bf RICH contac persons}\\
\hline
\hline
Name & Affiliation & email  & Area of responsibility\\
\hline
\hline
V. Kubarovsky & JLab & vpk@jlab.org & Hardware/Software \\ 
\hline
M. Contalbrigo & INFN-Fe & mcontalb@fe.infn.it & Hardware/Software  \\
\hline
M. Mirazita & INFN-LNF & mirazita@lnf.infn.it &  Hardware/Software \\
\hline
\hline
\end{tabular} 

%============================================================
\subsection{Quality Assurance and System Checkout}


%-------------------------------------------------------
\subsubsection{Quality Assurance}


%---------------
% MECHANICS


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Mechanic structure survey: EEL124}\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 
Check of the relative position of the panels forming the RICH structure.\\
The target points installed on the RICH mechanics will be used for the survey.\\
The measured positions must match the ones measured during the assembly test performed at the company.\\
\end{minipage} \\
\hline
Special equipments & 
\begin{minipage}[t]{9.5cm} 
Laser tracker.\\
Faro-arm.\\
\end{minipage} \\
\hline
Softwares &  NA \\
\hline
Manpower and time needed & \\
\hline
Information to be saved in database &  \\
\hline
\hline
\end{tabular} 

\vspace{10mm}



%---------------
% MIRRORS 


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Mirrors: EEL-121}\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 
Check of the accuracy of the spherical mirror surface with spot size and Shack-Hartmann measurements.
\begin{enumerate}
\item{Alignment of the Shack-Hartmann sensor axis.}
\item{Alignment of the mirror axis with respect to the Shack-Hartmann axis.}
\item{Alignment of the light source and photocamera for the spot size measurement.}
\item{Measure the spot size as a function of the distance from the mirror.}
\item{Wave-front measurement with the Shack-Hartmann sensor at the minimum spot size distance.}
\end{enumerate}
\end{minipage} \\
\hline
Special equipments & 
\begin{minipage}[t]{9.5cm} 
Two optical tables.\\
Shack-Hartmann sensor.\\
Point-like source with LED and optical fiber.\\
CCD photocamera.\\
Remotely controlled motors for the alignment of the system.\\
\end{minipage} \\
\hline
Softwares & 
\begin{minipage}[t]{9.5cm} 
Linux software for the remote control of the motors and CCD.\\
Root analysis software for the spot size measurements.\\
Shack-Hartmann reconstruction software.\\
\end{minipage} \\
\hline
Manpower and time needed & About 2 days per mirror, based on previous experience\\
\hline
Information to be saved in database &  \\
\hline
\hline
\end{tabular} 

\vspace{10mm}


%---------------
% MIRROR ALIGNMENT


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Mirror alignment: EEL124}\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 
Verify the relative alignment of the RICH mirrors.\\
Four mirror systems must be aligned:
\begin{enumerate}
\item{the frontal planar panel.}
\item{the lateral planar panel.}
\item{the bottom planar panel.}
\item{the spherical panel.}
\end{enumerate}
The relative alignment of the mirrors composing each panel will be checked first.
Then the panel will be installed in the RICH and its alignment with respect to the others will be checked with optical methods.
The position of the panel can be optimized by acting on the adjusting screws of the three attaching points on the RICH structure.
\end{minipage} \\
\hline
Special equipments & 
\begin{minipage}[t]{9.5cm} 
Laser tracker.\\
Faro-arm.
\end{minipage} \\
\hline
Softwares &  NA \\
\hline
Manpower and time needed & \\
\hline
Information to be saved in database &  \\
\hline
\hline
\end{tabular} 

\vspace{10mm}


%----------------------
% Aerogel at Washington



\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Aerogel: Catholic University (Washington) }\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 
Check of the optical quality of the aerogel tiles \end{minipage}\\
\hline
Special equipments & Spectrophotometer\\
\hline
Manpower and time needed & 
\begin{minipage}[t]{9.5cm} 
About 1 day per 10 tiles, based on previous experience\\
The work is performed at the Catholic University (Washington).\\
\end{minipage}\\
\hline
Information to be saved in database & Average transparency and refractive index of the tiles \\
\hline
\hline
\end{tabular} 

\vspace{10mm}

%--------------------
% Aerogel at Ferrara



\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Aerogel: Ferrara }\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 
Check of the optical quality of the aerogel on a subsample of tiles
\end{minipage}\\
\hline
Special equipments & 
\begin{minipage}[t]{9.5cm} 
Laser.\\
CCD photocamera.\\
Remotely controlled motors to scan the surface of the tile.\\
\end{minipage} \\
\hline
Manpower and time needed & 
\begin{minipage}[t]{9.5cm} 
About 1 day per tile, based on previous experience\\
The work is performed in Ferrara.\\
\end{minipage}\\
\hline
Information to be saved in database &  \\
\hline
\hline
\end{tabular} 

\vspace{10mm}

%--------------
% MAPMT



\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Multi-Anode PMT }\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 
Characterization of the MAPMT
\end{minipage} \\
\hline
Special equipments & 
\begin{minipage}[t]{9.5cm} 
Laser source.\\
Flash-ADC.\\
Remote-controlled motors to scan the MAPMT entrance window.\\
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Information to be saved in database & Gain and single photon resolution of each channel \\
\hline
\hline
\end{tabular} 


\vspace{10mm}

%--------------
% Electronics



\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH Electronics: EEL-121 }\\
\hline
\hline
Description  & 
\begin{minipage}[t]{9.5cm} 

\end{minipage} \\
\hline
Special equipments & \\
\hline
Manpower and time needed & \\
\hline
Information to be saved in database &  \\
\hline
\hline
\end{tabular} 


\vspace{10mm}



%--------------------------------------------------------
\subsubsection{System Checkout}



%--------------
% High Voltage


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Checkout of High Voltage system }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Connect the detector to HV supply, verify cable map, switch on, check of current monitor.
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Software & CLAS12 slow control\\
\hline
Computing resources & NA \\
\hline
Dependencies from other systems &  
\begin{minipage}[t]{9.5cm} 
Cooling system must be checked out prior to HV system.
\end{minipage}\\
\hline
Information to be saved in database & HV distribution map \\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%--------------
% Low Voltage


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Checkout of Low Voltage system }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Connect the detector to LV supply, verify cable map, switch on, check of current and voltage monitor.
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Software & CLAS12 slow control\\
\hline
Computing resources & NA \\
\hline
Dependencies from other systems &  
\begin{minipage}[t]{9.5cm} 
Cooling system must be checked out prior to HV system.
\end{minipage}\\
\hline
Information to be saved in database & LV distribution map \\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%----------------------
% Front-end electronics


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Checkout of the Front-End electronics }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
ASIC and FPGA configuration, calibration, channel mapping, noise level, etc
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Software & CLAS12 DAQ and slow control, calibration software\\
\hline
Computing resources &  \\
\hline
Dependencies from other systems &  
\begin{minipage}[t]{9.5cm} 
Cooling system, HV and LV must be checked out prior to HV system.
\end{minipage}\\
\hline
Information to be saved in database & Channel map, calibration data \\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%----------------------
% Gas systems


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Checkout of the Gas systems }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
\begin{enumerate}
\item{Nitrogen lines: gas flow, humidity, leak tests.}
\item{Cooling air lines: gas flow, temperature, humidity, leak tests.}
\end{enumerate}
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Software & CLAS12 slow control\\
\hline
Computing resources &  NA \\
\hline
Dependencies from other systems &  
\begin{minipage}[t]{9.5cm} 
Cooling system, HV and LV must be checked out prior to HV system.
\end{minipage}\\
\hline
Information to be saved in database & Flow, pressure, humidity and temperature data \\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%----------------------
% DAQ and trigger


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Checkout of the DAQ and trigger }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Test of different DAQ and trigger configurations
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Software & CLAS12 slow control and DAQ\\
\hline
Computing resources & Computer farm \\
\hline
Dependencies from other systems & Need DC information\\
\hline
Information to be saved in database &  \\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%----------------------
% Safety


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Checkout of the Safety System }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Checkout and test of the interlocks between HV, LV, cooling, gas systems
\end{minipage}\\
\hline
Manpower and time needed & \\
\hline
Software & CLAS12 slow control and safety system\\
\hline
Computing resources & None \\
\hline
Dependencies from other systems & All interlocked systems \\
\hline
Information to be saved in database &  None\\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%=======================================================
\subsection{Commissioning Without Beam}

%--------------------------------------------------------
\subsubsection{Special Calibration Procedures}


%----------------------
% Pedestal runs


\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Pedestal runs }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Determine the baseline of the Front-End electronics
\end{minipage}\\
\hline
DAQ configuration and trigger & Clock trigger\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results &  \\
\hline
Computing resources &  \\
\hline
Dependencies from other systems & HV on/off to compare noise levels \\
\hline
Information to be saved in database & Pedestals\\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%----------------------
% Dark runs

\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Dark runs }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Calibration of the Front-End electronics using thermal noise.
\end{minipage}\\
\hline
DAQ configuration and trigger & Internal trigger\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results &  \\
\hline
Computing resources &  \\
\hline
Dependencies from other systems &  \\
\hline
Information to be saved in database & Single p.e. level and resolution\\
\hline
\hline
\end{tabular} 


\vspace{10mm}



%----------------------
% Charge injector runs

\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Charge injector runs }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Calibration of the Front-End electronics using the internal charge injector
\end{minipage}\\
\hline
DAQ configuration and trigger & Internal trigger\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results &  \\
\hline
Computing resources &  \\
\hline
Dependencies from other systems &  \\
\hline
Information to be saved in database &  Single p.e. level and resolution\\
\hline
\hline
\end{tabular} 


\vspace{10mm}

%--------------------------------------------------------
\subsubsection{Calibration with Cosmic Rays}


%----------------------
% Cosmic runs for the E-panel

\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Cosmic runs with the electronic panel (EEL121 and EEL124) }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Check of the full electronic system.\\
Data will be acquired with the electronic panel put in horizontal position, with the MAPMT entrance window up.\\
A simple tracking system could be setup for determining the cosmic trajectories.\\
\end{minipage}\\
\hline
DAQ configuration and trigger & RICH DAQ software\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results &  RICH analsys software\\
\hline
Computing resources & Computer farm \\
\hline
Dependencies from other systems & Cooling system and interlocks must be on. \\
\hline
Information to be saved in database & \\
\hline
\hline
\end{tabular} 


\vspace{10mm}


%----------------------
% Cosmic runs for the RICH

\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf Cosmic runs with the whole RICH (EEL-124) }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Check of the RICH with cosmics.\\
Data will be acquired with the RICH put in horizontal position on its transportation trolley, with the aerogel panel down. 
Cherenkov photons will be produced in the aerogel, then reflected back by the frontal mirror toward the photodetectors.
A simple tracking system could be setup for determining the cosmic trajectories.\\
\end{minipage}\\
\hline
DAQ configuration and trigger &  RICH DAQ software\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results &  RICH analsys software\\
\hline
Computing resources & Computer farm \\
\hline
Dependencies from other systems & Cooling system and interlocks must be on. \\
\hline
Information to be saved in database & \\
\hline
\hline
\end{tabular} 


\vspace{10mm}




%==============================================================
\subsection{Commissioning With Beam}




%---------------------------
% RICH calibration with beam

\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH detector reconstruction calibration }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
After initial system checkout, a series of runs with different conditions will be performed.
\begin{enumerate}
\item{Runs at different beam current to study the noise level.}
\item{Runs with torus off to check the detector geometry.}
\item{Runs with different torus magnetic field, including reverse field, to study the performance of the detector.}
\end{enumerate}
\end{minipage}\\
\hline
DAQ configuration and trigger & CLAS12 electron trigger\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results & CLAS12 tracking and RICH reconstruction software\\
\hline
Computing resources & Computer farm \\
\hline
Dependencies from other systems & All the CLAS12 detector on \\
\hline
Information to be saved in database & 
\begin{minipage}[t]{9.5cm} 
Several tuning parameters for the RICH reconstruction (background level, tracking resolution, single photon resolution, etc.).
\end{minipage}\\
\hline
\hline
\end{tabular} 


\vspace{10mm}




%---------------------------
% RICH PID with direct light

\begin{tabular}{||l|l||} 
\hline
\hline
\multicolumn{2}{||l||}{\bf RICH detector PID in the direct light case }\\
\hline
\hline
Description  &  
\begin{minipage}[t]{9.5cm} 
Study the Kaon/Pion and Kaon/Proton rejection powers in the case of direct detection of the Cherenkov photons.\\
Production data taken with liquid hydrogen target.\\
Narrow resonances will be used to verify the RICH PID, for example:
\begin{enumerate}
\item{$K_S$ for pions.}
\item{$\phi$ for kaons.}
\item{$\Lambda$ for protons.}
\end{enumerate}
\end{minipage}\\
\hline
DAQ configuration and trigger & CLAS12 electron trigger\\
\hline
Manpower and time needed & \\
\hline
Software for analysis of results & CLAS12 and RICH reconstruction and PID software\\
\hline
Computing resources & Computer farm \\
\hline
Dependencies from other systems & All the CLAS12 detector calibrated \\
\hline
Information to be saved in database & 
\begin{minipage}[t]{9.5cm} 
Kaon detection efficiency vs pion and proton contamination.
\end{minipage}\\
\hline
\hline
\end{tabular} 


\vspace{10mm}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%

%
\end{document}
