%AMPLIARE / RISCRIVERE QUESTA INTRODUZIONE\\
%
The GPU rejection algorithm for $K^+ \rightarrow \pi^+ \pi^0$ events would add to the hardware-implemented L0 trigger described in Section~\ref{sect:na62l0}.\\

As a first step, I had to verify:
\begin{itemize}
\item the resolution of the process of reconstructing the particle kinematic variables by fitting a \v{C}erenkov ring to the hits on the photomultiplier flanges;
\item the background rejection and signal acceptance: these quantities have a strong dependence on the reconstruction resolution;
\item whether the data flow and algorithm execution chain speed can be optimized in order to match the latency of the L0 trigger (1 \si{\milli\second}).
\end{itemize}

Since positive results from such feasibility studies were a prerequisite for the conception of the actual GPU algorithm, a thorough analysis was performed by means of the NA62 software framework. The NA62 detector is still being commissioned, therefore I have used Montecarlo simulations in order to define the design of a RICH-based trigger. The results of this study are reported in \chaptername~\ref{ch:mc}.\\

%``NA62FW'', i.e. the NA62 software suite, is still being actively developed. It includes a Montecarlo event generator, featuring Geant4\footnote{Geant4 is a toolkit to simulate the passage of particles through matter. \url{http://geant4.cern.ch/}} modelling and event reconstruction routines for most NA62 detectors. While this thesis was being developed, hardly any Physics analysis algorithm was implemented in NA62FW. The author designed the reconstruction and track propagation methods described in Chapter~\ref{ch:reco}.