Ignore:
Timestamp:
12/19/04 22:34:38 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/TDAS-Extractor/Performance.tex

    r5625 r5632  
    11\section{Performance}
    2 \ldots {\textit This section will be written after the previous one}
    32
    43\subsection{Calibration}
     
    4443
    4544\begin{enumerate}
    46 \item Stability tests: These include numbers of excluded pixels by the calibration software,
    47 numbers of reconstructed photo-electrons and counts of the numbers of outliers from the expected Gaussian
    48 distributions of reconstructed charges.
     45\item Un-calibrated pixels and events: These tests measure the percentage of failures of the extractor
     46resulting either in a pixel declared as un-calibrated or in an event which produces a signal ouside
     47of the expected Gaussian distribution.
     48\item Number of photo-electrons: These tests measure the reconstructed numbers of photo-electrons, their
     49spread over the camera and the ratio of the obtained mean value for outer and inner pixels.
    4950\item Linearity tests: These test the linearity of the extractor with respect to pulses of different intensity
    5051and colour.
     
    5455
    5556We used data taken on the 7$^{th}$ of June, 2004 with different pulser LED combinations, each taken with
    56 16384 events. The corresponding run numbers range from nr. 31741 to 31772.
    57 \par
    58 Although, we looked at and tested all colour and extractor combinations resulting from these data,
    59 we will refrain ourselves to show here only exemplary behaviour and results of extractors. All taken 
    60 ``control'' plots including those which are not displayed here, can be retrieved from the following
     5716384 events. The corresponding run numbers range from nr. 31741 to 31772. This data was taken before the
     58latest camera repair access which replaced about 2\% of the pixels known to be mal-functionning at that time.
     59Thus, there is a lower limit to the number of un-calibrated pixels of about 1.5--2\%.
     60\par
     61Although, we had looked at and tested all colour and extractor combinations resulting from these data,
     62we refrain ourselves to show here only exemplary behaviour and results of extractors.
     63All plots, including those which are not displayed in this TDAS, can be retrieved from the following
    6164locations:
    6265
     
    6669\end{verbatim}
    6770
    68 \subsubsection{Stability tests}
     71%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     72
     73\subsubsection{Un-calibrated pixels and events}
     74
     75The MAGIC calibration software incorporates a series of checks to sort out mal-functionning pixels.
     76Except for the software bug searching criteria, the following exclusion reasons can apply:
     77
     78\begin{enumerate}
     79\item The reconstructed mean signal is less than 2.5 times the extractor resolution $R$ from zero.
     80(2.5 Pedestal RMS in the case of the simple fixed window extractors). This criterium cuts out
     81dead pixels.
     82\item The reconstructed mean signal error is smaller than its value. This criterium cuts out
     83signal distributions which fluctuate so much that their RMS is bigger than its mean value. This
     84criterium cuts out ``ringing'' pixels or mal-functionning extractors.
     85\item The reconstructed mean number of photo-electrons lies 4.5 sigma outside
     86the distribution of photo-electrons obtained with the inner or outer pixels in the camera.
     87\item All reconstructed negative mean signal, signal sigma's and mean numbers of photo-electrons
     88smaller than one.
     89\end{enumerate}
     90
     91Moreover, the number of events are counted which have been reconstructed outside a 5 sigma region
     92from the mean signal. These events are called ``outliers''. Figure~\ref{fig:outlier} shows a typical
     93outlier obtained with the digital filter.
     94
     95\begin{figure}[htp]
     96\centering
     97\includegraphics[width=0.95\linewidth]{Outlier.eps}
     98\caption{Example of an event classified as ``un-calibrated''. The histogram has been obtained
     99using the digital filter (extractor \#32) applied to a high-intensity blue pulse (run 31772).
     100The event marked as ``outlier'' clearly has been mis-reconstructed. It lies outside the 5 sigma
     101region from the fitted mean.}
     102\label{fig:outlier}
     103\end{figure}
     104
     105The following figures~\ref{fig:unsuited:5ledsuv},~\ref{fig:unsuited:1leduv},~\ref{fig:unsuited:2ledsgreen}
     106and~\ref{fig:unsuited:23ledsblue} show the resulting numbers of un-calibrated pixels and events for
     107different colours and intensities.
     108
     109\par
     110
     111\begin{figure}[htp]
     112\centering
     113\includegraphics[height=0.95\textheight]{UnsuitVsExtractor-5LedsUV-Colour-13.eps}
     114\caption{Uncalibrated pixels and pixels outside of the Gaussian distribution for a typical calibration 
     115pulse of UV-light which does not saturate the high-gain readout.}
     116\label{fig:unsuited:5ledsuv}
     117\end{figure}
    69118
    70119\begin{figure}[htp]
     
    73122\caption{Uncalibrated pixels and pixels outside of the Gaussian distribution for a very low
    74123intensity pulse.}
    75 \end{figure}
     124\label{fig:unsuited:1leduv}
     125\end{figure}
     126
     127\begin{figure}[htp]
     128\centering
     129\includegraphics[height=0.95\textheight]{UnsuitVsExtractor-2LedsGreen-Colour-02.eps}
     130\caption{Uncalibrated pixels and pixels outside of the Gaussian distribution for a typical green pulse.}
     131\label{fig:unsuited:2ledsgreen}
     132\end{figure}
     133
     134One can see that in general, big extraction windows raise the
     135number of un-calibrated pixels and are thus less stable. Especially for the very low-intensity
     136$1LedUV$-pulse, the big extraction windows summing 8 or more slices, cannot calibrate more than 50\%
     137of the inner pixels (fig.~\ref{fig:unsuited:1leduv}). This is an expected behavior since big windows
     138add up more noise which in turn makes the for the small signal more difficult.
     139\par
     140In general, one can also say that all ``sliding window''-algorithms (extractors \#17-32) discard
     141less pixels than the ``fixed window''-ones (extractors \#1--16). The digital filter with
     142the correct weights (extractor \#32) discards the least number of pixels, but is also robust against
     143slight modifications of its weights (extractors \#28--31). Also the ``spline'' algorithms on small 
     144windows (extractors \#23--25) discard less pixels than the previous extractors, although slightly more
     145then the digital filter.
     146\par
     147Concerning the numbers of outliers, one can conclude that in general, the numbers are very low never exceeding
     1480.25\%. There seems to be the opposite trend of larger windows producing less
     149outliers. However, one has to take into account that already more ``unsuited'' pixels have
     150been excluded thus cleaning up the sample somewhat. It seems that the ``digital filter'' and a
     151medium-sized ``spline'' (extractors \#25--26) yield the best result except for the outer pixels
     152in fig~\ref{fig:unsuited:5ledsuv} where the digital filter produces a worse result than the rest
     153of the extractors.
     154\par
     155In conclusion, one can say that this test excludes all extractors with too big window sizes because
     156they are not able to extract small signals produced by about 4 photo-electrons. The excluded extractors
     157are:
     158\begin{itemize}
     159\item: MExtractFixedWindow Nr. 3--5
     160\item: MExtractFixedWindowSpline Nr. 6--11
     161\item: MExtractFixedWindowPeakSearch Nr. 14--16
     162\item: MExtractTimeAndChargeSlidingWindow Nr. 21--22
     163\item: MExtractTimeAndChargeSpline Nr. 27
     164\end{itemize}
     165
     166The best extractors after this test are:
     167\begin{itemize}
     168\item: MExtractFixedWindow Nr. 1--2
     169\item: MExtractFixedWindowPeakSearch Nr. 13
     170\item: MExtractTimeAndChargeSlidingWindow Nr. 17--19
     171\item: MExtractTimeAndChargeSpline Nr. 24--25
     172\item: MExtractTimeAndChargeDigitalFilter Nr. 28--32
     173\end{itemize}
     174
     175%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     176
     177\subsubsection{Number of photo-electrons}
     178
     179Assuming that the readout chain is clean and adds only negligible noise with respect to the one
     180introduced by the photo-multiplier itself, one can make the assumption that variance of the
     181true (non-extracted) signal $ST$ is the amplified Poisson variance on the number of photo-electrons,
     182multiplied with the excess noise of the photo-multiplier, characterized by the excess-noise factor $F$.
     183
     184\begin{equation}
     185Var(ST) = F^2 \cdot Var(N_{phe}) \cdot \frac{<ST>^2}{<N_{phe}>^2}
     186\label{eq:excessnoise}
     187\end{equation}
     188
     189After introducing the effect of the night-sky background (eq.~\ref{eq:rmssubtraction})
     190in formula~\ref{eq:excessnoise} and assuming that the number of photo-electrons per event follows a
     191Poisson distribution, one can
     192get an expression to retrieve the mean number of photo-electrons impinging on the pixel from the
     193mean extracted signal $<SE>$, its variance $Var(SE)$ and the RMS of the extracted signal obtained from
     194pure pedestal runs $R$ (see section~\ref{sec:determiner}):
     195
     196\begin{equation}
     197<N_{phe}> \approx F^2 \cdot \frac{Var(SE) - R^2}{<SE>^2}
     198\label{eq:pheffactor}
     199\end{equation}
     200
     201Equation~\ref{eq:pheffactor} must not depend on the extractor! Effectively, we will use it to test the
     202quality of our extractors by requiring that a valid extractor yields the same number of photo-electrons
     203for all pixels of a same type and does not deviate from the number obtained with other extractors.
     204As the camera is flat-fielded, but the number of photo-electrons impinging on an inner and an outer pixel is
     205different, we also use the ratio of the mean numbers of photo-electrons from the outer pixels to the one
     206obtained from the inner pixels as a test variable. In the ideal case, it should always yield its central
     207value of about 2.4--2.8.
     208\par
     209In our case, there is an additional complication due to the fact that the green and blue coloured pulses
     210show secondary pulses which destroy the Poisson behaviour of the number of photo-electrons. We will thus
     211have to split our sample of extractors into those being affected by the secondary pulses and those without
     212showing any effect.
     213\par
     214Figures~\ref{fig:phe:5ledsuv},~\ref{fig:phe:1leduv},~\ref{fig:phe:23ledsblue}~and~\ref{fig:phe:2ledsgreen} show
     215some of the obtained results. Although one can see an amazing stability for the standard 5Leds UV pulse, there
     216is a considerable difference for all shown non-standard pulses. Especially the pulses from green and blue LEDs
     217show a clear dependency on the extraction window of the number of photo-electrons. Only the largest
     218extraction windows seem to catch the entire range of (jittering) secondary pulses and get also the ratio
     219of outer vs. inner pixels right.
     220
     221\begin{figure}[htp]
     222\centering
     223\includegraphics[height=0.92\textheight]{PheVsExtractor-5LedsUV-Colour-13.eps}
     224\caption{Number of photo-electrons from a typical, not saturating calibration pulse of colour UV,
     225reconstructed with each of the tested signal extractors.
     226The first plots shows the number of photo-electrons obtained for the inner pixels, the second one
     227for the outer pixels and the third shows the ratio of the mean number of photo-electrons for the
     228outer pixels divided by the mean number of photo-electrons for the inner pixels. Points
     229denote the mean of all not-excluded pixels, the error bars their RMS.}
     230\label{fig:phe:5ledsuv}
     231\end{figure}
     232
     233\begin{figure}[htp]
     234\centering
     235\includegraphics[height=0.92\textheight]{PheVsExtractor-1LedUV-Colour-04.eps}
     236\caption{Number of photo-electrons from a typical, very low-intensity calibration pulse of colour UV,
     237reconstructed with each of the tested signal extractors.
     238The first plots shows the number of photo-electrons obtained for the inner pixels, the second one
     239for the outer pixels and the third shows the ratio of the mean number of photo-electrons for the
     240outer pixels divided by the mean number of photo-electrons for the inner pixels. Points
     241denote the mean of all not-excluded pixels, the error bars their RMS.}
     242\label{fig:phe:1leduv}
     243\end{figure}
     244
     245\begin{figure}[htp]
     246\centering
     247\includegraphics[height=0.92\textheight]{PheVsExtractor-2LedsGreen-Colour-02.eps}
     248\caption{Number of photo-electrons from a typical, not saturating calibration pulse of colour green,
     249reconstructed with each of the tested signal extractors.
     250The first plots shows the number of photo-electrons obtained for the inner pixels, the second one
     251for the outer pixels and the third shows the ratio of the mean number of photo-electrons for the
     252outer pixels divided by the mean number of photo-electrons for the inner pixels. Points
     253denote the mean of all not-excluded pixels, the error bars their RMS.}
     254\label{fig:phe:2ledsgreen}
     255\end{figure}
     256
     257
     258One can see that all extractor using a large window belong to the class of extractors being affected
     259by the secondary pulses. The only exception to this rule is the digital filter which - despite of its
     2606 slices extraction window - seems to filter out all the secondary pulses.
     261\par
     262Moreover, one can see in fig.~\ref{fig:phe:1leduv} that all peak searching extractors show the influence of
     263the bias at low numbers of photo-electrons.
     264\par
     265The extractor MExtractFixedWindowPeakSearch at low extraction windows apparently yields chronically low
     266numbers of photo-electrons. This is due to the fact that the decision to fix the extraction window is
     267made sometimes by an inner pixel and sometimes by an outer one since the camera is flat-fielded and the
     268pixel carrying the largest non-saturated peak-search window is more or found by a random signal
     269fluctuation. However, inner and outer pixels have a systematic offset of about 0.5 to 1 FADC slices.
     270Thus, the extraction fluctuates artificially for one given channel which results in a systematically
     271large variance and thus in a systematically low reconstructed number of photo-electrons. This test thus
     272excludes the extractors \#11--13.
     273\par
     274Moreover, one can see that the extractors applying a small fixed window do not get the ratio of
     275photo-electrons from outer to inner pixels correctly for the green and blue pulses.
     276\par
     277The extractor MExtractTimeAndChargeDigitalFilter seems to be veryu stable against modifications in the
     278exact form of the weights since all applied weights yield about the same number of photo-electrons and the
     279same ratio of outer vs. inner pixels. The last is also true for the extractor MExtractTimeAndChargeSpline,
     280although the number of photo-electrons depends on the extraction window for green and blue pulses, 
     281(as with the other extractors).
    76282
    77283\subsubsection{Linearity tests}
     284
     285In this section, we test the lineary of the extractors. As the photo-multiplier is a linear device over a
     286wide dynamic range, the number of photo-electrons per charge has to remain constant over the tested
     287linearity region. We will show here only examples of extractors which were not already excluded in the
     288previous section.
     289\par
     290A first test concerns the stability of the conversion factor photo-electrons per FADC counts over the
     291tested intensity region.
    78292
    79293
Note: See TracChangeset for help on using the changeset viewer.