source: trunk/MagicSoft/TDAS-Extractor/Pedestal.tex@ 6382

Last change on this file since 6382 was 6382, checked in by gaug, 20 years ago
*** empty log message ***
File size: 24.0 KB
Line 
1\section{Pedestal Extraction \label{sec:pedestals}}
2
3\subsection{Pedestal RMS}
4
5The background $BG$ (Pedestal)
6can be completely described by the noise-autocorrelation matrix $\boldsymbol{B}$
7(eq.~\ref{eq:autocorr}),
8where the diagonal elements give what is usually denoted as the ``Pedestal RMS''.
9\par
10
11By definition, the $\boldsymbol{B}$ and thus the ``pedestal RMS''
12is independent from the signal extractor.
13
14\subsection{Bias and Mean-squared Error}
15
16Consider a large number of same signals $S$. By applying a signal extractor
17we obtain a distribution of estimated signals $\widehat{S}$ (for fixed $S$ and
18fixed background fluctuations $BG$). The distribution of the quantity
19
20\begin{equation}
21X = \widehat{S}-S
22\end{equation}
23
24has the mean $B$ and the Variance $MSE$ defined as:
25
26\begin{eqnarray}
27 B \ \ \ \ = \ \ \ \ \ \ <X> \ \ \ \ \ &=& \ \ <\widehat{S}> \ -\ S\\
28 R \ \ \ \ = \ <(X-B)^2> &=& \ Var[\widehat{S}]\\
29 MSE \ = \ \ \ \ \ <X^2> \ \ \ \ &=& \ Var[\widehat{S}] +\ B^2
30\end{eqnarray}
31
32The parameter $B$ is also called the {\textit{\bf BIAS}} of the estimator and $MSE$
33the {\textit{\bf MEAN-SQUARED ERROR}} which combines the variance of $\widehat{S}$ and
34the bias. Both depend generally on the size of $S$ and the background fluctuations $BG$,
35thus: $B = B(S,BG)$ and $MSE = MSE(S,BG)$.
36
37\par
38Usually, one measures easily the parameter $R$, but needs the $MSE$ for statistical analysis (e.g.
39in the image cleaning).
40However, only in case of a vanishing bias $B$, the two numbers are equal. Otherwise,
41the bias $B$ has to be known beforehand. Note that every sliding window extractor has a
42bias, especially at low or vanishing signals $S$.
43
44\subsection{Pedestal Fluctuations as Contribution to the Signal Fluctuations}
45
46A photo-multiplier signal yields, to a very good approximation, the
47following relation:
48
49\begin{equation}
50\frac{Var[Q]}{<Q>^2} = \frac{1}{<n_{phe}>} * F^2
51\end{equation}
52
53Here, $Q$ is the signal fluctuation due to the number of signal photo-electrons
54(equiv. to the signal $S$), and $Var[Q]$ the fluctuations of the true signal $Q$
55due to the Poisson fluctuations of the number of photo-electrons. Because of:
56
57\begin{eqnarray}
58\widehat{Q} &=& Q + X \\
59Var(\widehat{Q}) &=& Var(Q) + Var(X) \\
60Var(Q) &=& Var(\widehat{Q}) - Var(X)
61\end{eqnarray}
62
63$Var[Q]$ can be obtained from:
64
65\begin{eqnarray}
66Var(Q) &\approx& Var(\widehat{Q}) - Var(\widehat{Q}=0)
67\label{eq:rmssubtraction}
68\end{eqnarray}
69
70In the last line of eq.~\ref{eq:rmssubtraction}, it is assumed that $R$ does not dependent
71on the signal height\footnote{%
72A way to check whether the right RMS has been subtracted is to make the
73``Razmick''-plot
74
75\begin{equation}
76 \frac{Var[\widehat{Q}]}{<\widehat{Q}>^2} \quad \textit{vs.} \quad \frac{1}{<\widehat{Q}>}
77\end{equation}
78
79This should give a straight line passing through the origin. The slope of
80the line is equal to
81
82\begin{equation}
83 c * F^2
84\end{equation}
85
86where $c$ is the photon/ADC conversion factor $<Q>/<m_{pe}>$.}
87(as is the case
88for the digital filter, eq.~\ref{eq:of_noise}). One can then retrieve $R$
89by applying the signal extractor to a {\textit{\bf fixed window}} of pedestal events, where the
90bias vanishes and measure $Var[\widehat{Q}=0]$.
91
92\subsection{Methods to Retrieve Bias and Mean-Squared Error}
93
94In general, the extracted signal variance $R$ is different from the pedestal RMS.
95It cannot be obtained by applying the signal extractor to pedestal events, because of the
96(unknown) bias.
97\par
98In the case of the digital filter, $R$ is expected to be independent from the
99signal amplitude $S$ and depends only on the background $BG$ (eq.~\ref{eq:of_noise}).
100It can then be obtained from the calculation of the variance $Var[\widehat{Q}]$
101by applying the extractor to a fixed window of pure background events (``pedestal events'')
102and get rid of the bias in that way.
103\par
104
105In order to calculate bias and Mean-squared error, we proceeded in the following ways:
106\begin{enumerate}
107\item Determine $R$ by applying the signal extractor to a fixed window
108 of pedestal events. The background fluctuations can be simulated with different
109 levels of night sky background and the continuous light source, but no signal size
110 dependency can be retrieved with this method.
111\item Determine $B$ and $MSE$ from MC events with and without added noise.
112 Assuming that $MSE$ and $B$ are negligible for the events without noise, one can
113 get a dependency of both values from the size of the signal.
114\item Determine $MSE$ from the fitted error of $\widehat{S}$, which is possible for the
115 fit and the digital filter (eq.~\ref{eq:of_noise}).
116 In prinicple, all dependencies can be retrieved with this method.
117\end{enumerate}
118
119
120\begin{figure}[htp]
121\centering
122\vspace{\floatsep}
123\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38993_RelMean.eps}
124\vspace{\floatsep}
125\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38995_RelMean.eps}
126\vspace{\floatsep}
127\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38996_RelMean.eps}
128\caption{MExtractTimeAndChargeSpline with amplitude extraction:
129Difference in mean pedestal (per FADC slice) between extraction algorithm
130applied on a fixed window of 1 FADC slice (``extractor random'') and a simple addition of
1312 FADC slices (``fundamental''). On the left, a run with closed camera has been taken, in the center
132 an opened camera observing an extra-galactic star field and on the right, an open camera being
133illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
134pixel.}
135\label{fig:amp:relmean}
136\end{figure}
137
138\begin{figure}[htp]
139\centering
140\vspace{-\floatsep}
141\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38993_RelMean.eps}
142\vspace{\floatsep}
143\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RelMean.eps}
144\vspace{\floatsep}
145\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38996_RelMean.eps}
146\caption{MExtractTimeAndChargeSpline with integral over 2 slices:
147Difference in mean pedestal (per FADC slice) between extraction algorithm
148applied on a fixed window of 2 FADC slices (``extractor random'') and a simple addition of
1492 FADC slices (``fundamental''). On the left, a run with closed camera has been taken, in the center
150 an opened camera observing an extra-galactic star field and on the right, an open camera being
151illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
152pixel.}
153\label{fig:int:relmean}
154\end{figure}
155
156\begin{figure}[htp]
157\centering
158\vspace{-\floatsep}
159\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38993_RelMean.eps}
160\vspace{\floatsep}
161\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RelMean.eps}
162\vspace{\floatsep}
163\includegraphics[width=0.3\linewidth]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38996_RelMean.eps}
164\caption{MExtractTimeAndChargeDigitalFilter:
165Difference in mean pedestal (per FADC slice) between extraction algorithm
166applied on a fixed window of 6 FADC slices and time-randomized weights (``extractor random'')
167and a simple addition of
1686 FADC slices (``fundamental''). On the left, a run with closed camera has been taken, in the center
169 an opened camera observing an extra-galactic star field and on the right, an open camera being
170illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
171pixel.}
172\label{fig:df:relmean}
173\end{figure}
174
175%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
176
177\subsubsection{ \label{sec:determiner} Application of the Signal Extractor to a Fixed Window
178of Pedestal Events}
179
180By applying the signal extractor to a fixed window of pedestal events, we
181determine the parameter $R$ for the case of no signal ($Q = 0$). In the case of
182extractors using a fixed window (extractors nr. \#1 to \#22
183in section~\ref{sec:algorithms}), the results are the same by construction
184as calculating the pedestal RMS.
185\par
186In MARS, this functionality is implemented with a function-call to: \\
187
188{\textit{\bf MJPedestal::SetExtractionWithExtractorRndm()}} and/or \\
189{\textit{\bf MExtractPedestal::SetRandomCalculation()}}\\
190
191Besides fixing the global extraction window, additionally the following steps are undertaken
192in order to assure that the bias vanishes:
193
194\begin{description}
195\item[\textit{MExtractTimeAndChargeSpline}:\xspace] The spline
196maximum position -- which determines the exact extraction window -- is placed arbitrarily
197at a random place within the digitizing binning resolution of one central FADC slice.
198\item[\textit{MExtractTimeAndChargeDigitalFilter}:\xspace] The second step timing
199offset $\tau$ (eq.~\ref{eq:offsettau}) gets randomized for each event.
200\end{description}
201
202Figures~\ref{fig:amp:relmean} through~\ref{fig:df:relmean}
203show the calculated means obtained with this method for all pixels in the camera
204and for different levels of night-sky background.
205One can see that the bias vanishes to an accuracy of better than 1\%
206for the extractors which are used in this TDAS.
207
208\par
209
210The following plots~\ref{fig:sw:distped} through~\ref{fig:amp:relrms} show results
211obtained with the second method for three background intensities:
212
213\begin{enumerate}
214\item Closed camera and no (Poissonian) fluctuation due to photons from the night sky background
215\item The camera pointing to an extra-galactic region with stars in the field of view
216\item The camera illuminated by a continuous light source of high intensity causing much higher pedestal
217fluctuations than in usual observation conditions.
218\end{enumerate}
219
220%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
221
222\begin{figure}[htp]
223\centering
224\includegraphics[height=0.43\textheight]{PedestalSpectrum-18-Run38993.eps}
225\vspace{\floatsep}
226\includegraphics[height=0.43\textheight]{PedestalSpectrum-18-Run38995.eps}
227\caption{MExtractTimeAndChargeSlidingWindow with extraction window of 4 FADC slices:
228Distribution of extracted "pedestals" from pedestal run with
229closed camera (top) and open camera observing an extra-galactic star field (bottom) for one channel
230(pixel 100). The result obtained from a simple addition of 4 FADC
231slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application of
232the algorithm on
233a fixed window of 4 FADC slices as blue histogram (``extractor random'') and the one obtained from the
234full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
235RMSs have been converted to equiv. photo-electrons.}
236\label{fig:sw:distped}
237\end{figure}
238
239
240\begin{figure}[htp]
241\centering
242\includegraphics[height=0.43\textheight]{PedestalSpectrum-23-Run38993.eps}
243\vspace{\floatsep}
244\includegraphics[height=0.43\textheight]{PedestalSpectrum-23-Run38995.eps}
245\caption{MExtractTimeAndChargeSpline with amplitude extraction:
246Spectrum of extracted "pedestals" from pedestal run with
247closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
248(pixel 100). The result obtained from a simple addition of 2 FADC
249slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
250of the algorithm on a fixed window of 1 FADC slice as blue histogram (``extractor random'')
251and the one obtained from the
252full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
253RMSs have been converted to equiv. photo-electrons.}
254\label{fig:amp:distped}
255\end{figure}
256
257\begin{figure}[htp]
258\centering
259\includegraphics[height=0.43\textheight]{PedestalSpectrum-25-Run38993.eps}
260\vspace{\floatsep}
261\includegraphics[height=0.43\textheight]{PedestalSpectrum-25-Run38995.eps}
262\caption{MExtractTimeAndChargeSpline with integral extraction over 2 FADC slices:
263Distribution of extracted "pedestals" from pedestal run with
264closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
265(pixel 100). The result obtained from a simple addition of 2 FADC
266slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
267of time-randomized weigths on a fixed window of 2 FADC slices as blue histogram and the one obtained from the
268full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
269RMSs have been converted to equiv. photo-electrons.}
270\label{fig:int:distped}
271\end{figure}
272
273\begin{figure}[htp]
274\centering
275\includegraphics[height=0.43\textheight]{PedestalSpectrum-28-Run38993.eps}
276\vspace{\floatsep}
277\includegraphics[height=0.43\textheight]{PedestalSpectrum-28-Run38995.eps}
278\caption{MExtractTimeAndChargeDigitalFilter: Spectrum of extracted "pedestals" from pedestal run with
279closed camera lids (top) and open lids observing an extra-galactic star field (bottom) for one channel
280(pixel 100). The result obtained from a simple addition of 6 FADC
281slice contents (``fundamental'') is displayed as red histogram, the one obtained from the application
282of time-randomized weigths on a fixed window of 6 slices as blue histogram and the one obtained from the
283full algorithm allowed to slide within a global window of 12 slices. The obtained histogram means and
284RMSs have been converted to equiv. photo-electrons.}
285\label{fig:df:distped}
286\end{figure}
287
288
289%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
290
291
292%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1
293
294\begin{figure}[htp]
295\centering
296\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38993_RMSDiff.eps}
297\vspace{\floatsep}
298\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38995_RMSDiff.eps}
299\vspace{\floatsep}
300\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Amplitude_Amplitude_Range_01_09_01_10_Run_38996_RMSDiff.eps}
301\caption{MExtractTimeAndChargeSpline with amplitude:
302Difference in pedestal RMS (per FADC slice) between extraction algorithm
303applied on a fixed window of 1 FADC slice (``extractor random'') and a simple addition of
3042 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
305 an opened camera observing an extra-galactic star field and on the bottom, an open camera being
306illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
307pixel.}
308\label{fig:amp:relrms}
309\end{figure}
310
311
312\begin{figure}[htp]
313\centering
314\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38993_RMSDiff.eps}
315\vspace{\floatsep}
316\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RMSDiff.eps}
317\vspace{\floatsep}
318\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38996_RMSDiff.eps}
319\caption{MExtractTimeAndChargeSpline with integral over 2 slices:
320Difference in pedestal RMS (per FADC slice) between extraction algorithm
321applied on a fixed window of 2 FADC slices (``extractor random'') and a simple addition of
3222 FADC slices (``fundamental''). On the top, a run with closed camera has been taken, in the center
323 an opened camera observing an extra-galactic star field and on the bottom, an open camera being
324illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
325pixel.}
326\label{fig:amp:relrms}
327\end{figure}
328
329
330\begin{figure}[htp]
331\centering
332\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38993_RMSDiff.eps}
333\vspace{\floatsep}
334\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RMSDiff.eps}
335\vspace{\floatsep}
336\includegraphics[height=0.3\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38996_RMSDiff.eps}
337\caption{MExtractTimeAndChargeDigitalFilter:
338Difference in pedestal RMS (per FADC slice) between extraction algorithm
339applied on a fixed window of 6 FADC slices and time-randomized weights (``extractor random'')
340and a simple addition of 6 FADC slices (``fundamental''). On the top, a run with closed camera
341has been taken, in the center
342 an opened camera observing an extra-galactic star field and on the bottom, an open camera being
343illuminated by the continuous light of the calibration (level: 100). Every entry corresponds to one
344pixel.}
345\label{fig:df:relrms}
346\end{figure}
347
348
349%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
350
351Figures~\ref{fig:df:distped},~\ref{fig:amp:distped}
352and~\ref{fig:amp:distped} show the
353extracted pedestal distributions for the digital filter with cosmics weights (extractor~\#28) and the
354spline amplitude (extractor~\#27), respectively for one examplary channel (corresponding to pixel 200).
355One can see the (asymmetric) Poisson behaviour of the
356night sky background photons for the distributions with open camera and the cutoff at the lower egde
357for the distribution with high-intensity continuous light due to a limited pedestal offset and the cutoff
358to negative fluctuations.
359\par
360Figures~\ref{fig:df:relmean}
361and~\ref{fig:amp:relmean} show the
362relative difference between the calculated pedestal mean and
363the one obtained by applying the extractor for
364all channels of the MAGIC camera. One can see that in all cases, the distribution is centered around zero,
365while its width is never larger than 0.01 which corresponds about to the precision of the extracted mean for
366the number of used events. (A very similar distribution is obtained by comparing the results
367of the same pedestal calculator applied to different ranges of FADC slices.)
368\par
369Figures~\ref{fig:df:relrms}
370and~\ref{fig:amp:relrms} show the
371relative difference between the calculated pedestal RMS, normalized to an equivalent number of slices
372(2.5 for the digital filter and 1. for the amplitude of the spline) and
373the one obtained by applying the extractor for all channels of the MAGIC camera.
374One can see that in all cases, the distribution is not centered around zero, but shows an offset depending
375on the light intensity. The difference can be 10\% in the case of the digital filter and even 25\% for the
376spline. This big difference for the spline is partly explained by the fact that the pedestals have to be
377calculated from an even number of slices to account for the clock-noise. However, the (normalized) pedestal
378RMS depends critically on the number of summed FADC slices, especially at very low numbers. In general,
379the higher the number of summed FADC slices, the higher the (to the square root of the number of slices)
380normalized pedestal RMS.
381
382
383\subsubsection{ \label{sec:determiner} Application of the Signal Extractor to a Sliding Window
384of Pedestal Events}
385
386In this section, we apply the signal extractor to a sliding window of pedestal events.
387\par
388In MARS, this possibility can be used with a call to
389{\textit{\bf MJPedestal::SetExtractionWithExtractor()}}.
390\par
391Because the background is determined by the single photo-electrons from the night-sky background,
392the following possibilities can occur:
393
394\begin{enumerate}
395\item There is no ``signal'' (photo-electron) in the extraction window and the extractor
396finds only electronic noise.
397Usually, the returned signal charge is then negative.
398\item The extractor finds the signal from one photo-electron
399\item The extractor finds an overlap of two or more photo-electrons.
400\end{enumerate}
401
402Although the probability to find a certain number of photo-electrons in a fixed window follows a
403Poisson distribution, the one for employing the sliding window is {\textit{not}} Poissonian. The extractor
404will usually find one photo-electron even if more are present in the global search window, i.e. the
405probability for two or more photo-electrons to occur in the global search window is much higher than
406the probability for these photo-electrons to overlap in time such as to be recognized as a double
407or triple photo-electron pulse by the extractor. This is especially true for small extraction windows
408and for the digital filter.
409
410\par
411
412Given a global extraction window of size $WS$ and an average rate of photo-electrons from the night-sky
413background $R$, we will now calculate the probability for the extractor to find zero photo-electrons in the
414$WS$. The probability to find $k$ photo-electrons can be written as:
415
416\begin{equation}
417P(k) = \frac{e^{-R\cdot WS} (R \cdot WS)^k}{k!}
418\end{equation}
419
420and thus:
421
422\begin{equation}
423P(0) = e^{-R\cdot WS}
424\end{equation}
425
426The probability to find more than one photo-electron is then:
427
428\begin{equation}
429P(>0) = 1 - e^{-R\cdot WS}
430\end{equation}
431
432Figures~\ref{fig:sphe:sphespectrum} show spectra
433obtained with the digital filter applied on two different global search windows.
434One can clearly distinguish a pedestal peak (fitted to Gaussian with index 0),
435corresponding to the case of  $P(0)$ and further
436contributions of $P(1)$ and $P(2)$ (fitted to Gaussians with index 1 and 2).
437One can also see that the contribution of $P(0)$ dimishes
438with increasing global search window size.
439
440\begin{figure}
441\centering
442\includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS2.5.eps}
443\vspace{\floatsep}
444\includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS4.5.eps}
445\vspace{\floatsep}
446\includegraphics[height=0.3\textheight]{SinglePheSpectrum-28-Run38995-WS8.5.eps}
447\caption{MExtractTimeAndChargeDigitalFilter: Spectrum obtained from the extraction
448of a pedestal run using a sliding window of 6 FADC slices allowed to move within a window of
4497 (top), 9 (center) and 13 slices.
450A pedestal run with galactic star background has been taken and one exemplary pixel (Nr. 100).
451One can clearly see the pedestal contribution and a further part corresponding to one or more
452photo-electrons.}
453\label{fig:df:sphespectrum}
454\end{figure}
455
456In the following, we will make a short consistency test: Assuming that the spectral peaks are
457attributed correctly, one would expect the following relation:
458
459\begin{equation}
460P(0) / P(>0) = \frac{e^{-R\cdot WS}}{1-e^{-R\cdot WS}}
461\end{equation}
462
463We tested this relation assuming that the fitted area underneath the pedestal peak $Area_0$ is
464proportional to $P(0)$ and the sum of the fitted areas underneath the single photo-electron peak
465$Area_1$ and the double photo-electron peak $Area_2$ proportional to $P(>0)$. Thus, one expects:
466
467\begin{equation}
468Area_0 / (Area_1 + Area+2 ) = \frac{e^{-R\cdot WS}}{1-e^{-R\cdot WS}}
469\end{equation}
470
471We estimated the effective window size $WS$ as the sum of the range in which the digital filter
472amplitude weights are greater than 0.5 (1.6 FADC slices) and the global search window minus the
473size of the window size of the weights (which is 6 FADC slices). Figures~\ref{fig::df:ratiofit}
474show the result for two different levels of night-sky background.
475
476\par
477
478\begin{figure}[htp]
479\centering
480\includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run38995.eps}
481\vspace{\floatsep}
482\includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run39258.eps}
483\caption{MExtractTimeAndChargeDigitalFilter: Fit to the ratio of the area beneath the pedestal peak and
484the single and double photo-electron(s) peak(s) with the extraction algorithm
485applied on a sliding window of different sizes.
486In the top plot, a pedestal run with extra-galactic star background has been taken and in the bottom,
487a galatic star background. An exemplary pixel (Nr. 100) has been used.
488Above, a rate of 0.8 phe/ns and below, a rate of 1.0 phe/ns has been obtained.}
489\label{fig:df:ratiofit}
490\end{figure}
491
492
493
494%%% Local Variables:
495%%% mode: latex
496%%% TeX-master: "MAGIC_signal_reco"
497%%% TeX-master: "MAGIC_signal_reco"
498%%% End:
Note: See TracBrowser for help on using the repository browser.