source: trunk/MagicSoft/TDAS-Extractor/MonteCarlo.tex@ 8699

Last change on this file since 8699 was 6748, checked in by gaug, 20 years ago
*** empty log message ***
File size: 20.6 KB
Line 
1\section{Monte Carlo \label{sec:mc}}
2
3\subsection{Introduction \label{sec:mc:intro}}
4
5Many characteristics of the extractor can only be investigated with the use of Monte-Carlo simulations~\cite{MC-Camera}
6of signal pulses and noise for the following reasons:
7
8\begin{itemize}
9\item While in real conditions, the signal can only be obtained in a Poisson distribution, simulated pulses of a specific
10number of photo-electrons can be generated.
11\item The intrinsic arrival time spread can be chosen within the simulation.
12\item The noise auto-correlation in the low-gain channel cannot be determined from data,
13but instead has to be retrieved from Monte-Carlo studies.
14\item The same pulse can be studied with and without added noise, where the noise level can be deliberately adjusted.
15\item The photo-multiplier and optical link gain fluctuations can be tuned or switched off completely.
16\end{itemize}
17
18Nevertheless, there are always systematic differences between the simulation and the real detector. In our case, especially the
19following short-comings are of concern:
20
21\begin{itemize}
22\item The low-gain pulse is not yet simulated with the correct pulse width, but instead the same pulse shape as the one of the
23high-gain channel has been used.
24\item The low-gain pulse starts to saturate at already about 200 photo-electrons while in reality,
25this limit lies at more than 500 photo-electrons for an inner pixel. This is due to the wider low-gain pulse in real conditions.
26\item The low-gain pulse is delayed by only 15 FADC slices in the Monte-Carlo simulations, while it arrives about 16.5 FADC slices
27after the high-gain pulse in real conditions.
28\item No switching noise due to the low-gain switch has been simulated.
29\item The intrinsic transit time spread of the photo-multipliers has not been simulated.
30\item The pulses have been simulated in steps of 0.2\,ns before digitization. There is thus an artificial numerical time resolution
31limit of $0.2\,\mathrm{ns}/\sqrt{12} \approx 0.06\,\mathrm{ns}$.
32\item The total dynamic range of the entire signal transmission chain was set to infinite, thus the detector has been simulated
33to be completely linear.
34\end{itemize}
35
36For the subsequent studies, the following settings have been used:
37
38\begin{itemize}
39\item The gain fluctuations for signal pulses were switched off.
40\item The gain fluctuations for the background noise of the light of night sky were instead fully simulated, i.e. very close to
41real conditions.
42\item The intrinsic arrival time spread of the photons was set to be 1\,ns, as expected for gamma showers.
43\item The conversion of total integrated charge to photo-electrons was set to be 7.8~FADC~counts
44per photo-electron, independent of the signal strength.
45\item The trigger jitter was set to be uniformly distributed over 1~FADC slice only.
46\item Only one inner pixel has been simulated.
47\end{itemize}
48
49The last point had the consequence that the extractor {\textit {\bf MExtractFixedWindowPeakSearch}} could not be tested since
50it was equivalent to the sliding window.
51In the following, we used the Monte-Carlo to determine especially the following quantities for each of the tested extractors:
52
53\begin{itemize}
54\item The charge resolution as a function of the input signal strength.
55\item The charge extraction bias as a function of the input signal strength.
56\item The time resolution as a function of the input signal strength.
57\item The effect of adding or removing noise for the above quantities.
58\end{itemize}
59
60\subsection{Conversion Factors \label{sec:mc:convfactors}}
61
62The following figures~\ref{fig:mc:ChargeDivNphe_FixW} through~\ref{fig:mc:ChargeDivNphe_DFSpline} show the conversion factors
63between reconstructed charge and the number of input photo-electrons for each of the tested extractors, with and without added noise
64and for the high-gain and low-gain channels, respectively. One can see that the conversion factors depend on the extraction window size and
65that the addition of noise raises the conversion factors uniformly for all fixed window extractors in the high-gain channel,
66while the sliding window extractors show a bias a low signal intensities.
67
68\begin{figure}[htp]%%[t!]
69\centering
70 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_FixW_NoNoise_HiGain.eps}
71 \vspace{\floatsep}
72 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_FixW_WithNoise_HiGain.eps}
73 \vspace{\floatsep}
74 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_FixW_NoNoise_LoGain.eps}
75 \vspace{\floatsep}
76 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_FixW_WithNoise_LoGain.eps}
77\caption[Charge per Number of photo-electrons Fixed Windows]{Extracted charge per photoelectron versus number of photoelectrons,
78for fixed window extractors in different window sizes. The top plots show the high-gain and the bottom ones
79low-gain regions. Left: without noise, right: with simulated noise.}
80\label{fig:mc:ChargeDivNphe_FixW}
81\end{figure}
82
83\begin{figure}[htp]
84\centering
85 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_SlidW_NoNoise_HiGain.eps}
86 \vspace{\floatsep}
87 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_SlidW_WithNoise_HiGain.eps}
88 \vspace{\floatsep}
89 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_SlidW_NoNoise_LoGain.eps}
90 \vspace{\floatsep}
91 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_SlidW_WithNoise_LoGain.eps}
92\caption[Charge per Number of photo-electrons Sliding Windows]{Extracted charge per photoelectron versus number of photoelectrons,
93for sliding window extractors in different window sizes. The top plots show the high-gain and the bottom ones
94low-gain regions. Left: without noise, right: with simulated noise.}
95\label{fig:mc:ChargeDivNphe_SlidW}
96\end{figure}
97
98\begin{figure}[htp]
99\centering
100 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_DFSpline_NoNoise_HiGain.eps}
101 \vspace{\floatsep}
102 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_DFSpline_WithNoise_HiGain.eps}
103 \vspace{\floatsep}
104 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_DFSpline_NoNoise_LoGain.eps}
105 \vspace{\floatsep}
106 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeDivNphevsNphe_DFSpline_WithNoise_LoGain.eps}
107\caption[Charge per Number of photo-electrons Spline and Digital Filter]{Extracted charge per photoelectron versus number of photoelectrons,
108for spline and digital filter extractors in different window sizes. The top plots show the high-gain and the bottom ones
109low-gain regions. Left: without noise, right: with simulated noise.}
110\label{fig:mc:ChargeDivNphe_DFSpline}
111\end{figure}
112
113\clearpage
114
115%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
116
117\subsection{Measurement of the Biases \label{sec:mc:baises}}
118
119We fitted the conversion factors obtained from the previous section in the constant region (above 10\,phe) and used
120them to convert the extracted charge back to equivalent photo-electrons. After subtracting the simulated number of photo-electrons,
121the bias (in units of photo-electrons) is obtained.
122\par
123Figure~\ref{fig:mc:ConversionvsNphe_FixW} through~\ref{fig:mc:ChargeRes_DFSpline} show the results for the tested extractors, with and
124without added noise and for the high and low-gain regions separately.
125\par
126As expected, the fixed window extractor do not show any bias up to statistical precision. All sliding window extractor, however, do show
127a bias. Usually, the bias vanishes for signals above 5--10~photo-electrons, except for the sliding windows with window sizes above
1288~FADC slices. There, the bias only vanishes for signals above 20~photo-electrons. The size of the bias as well as the minimum signal
129strength above which the bias vanishes are clearly correlated with the extraction window size. Therefore, smaller window sizes yield
130smaller biases and extend their linear range further downwards. The best extractors have a negligible bias above about 5 photo-electrons.
131This corresponds to the results found in section~\ref{sec:pedestals} where the lowest image cleaning threshold for extra-galactic
132noise levels yielded about 5 photo-electrons as well.
133\par
134All integrating spline extractors and all sliding window extractors with extraction windows above or equal 6 FADC slices
135 yield the comparably smallest biases. The rest results to be about a factor 1.5 higher. The spline and digital filter biases fall
136down very steeply.
137
138
139\begin{figure}[htp]%%[t!]
140\centering
141 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_FixW_NoNoise_HiGain.eps}
142 \vspace{\floatsep}
143 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_FixW_WithNoise_HiGain.eps}
144 \vspace{\floatsep}
145 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_FixW_NoNoise_LoGain.eps}
146 \vspace{\floatsep}
147 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_FixW_WithNoise_LoGain.eps}
148\caption[Bias Fixed Windows]{The measured bias (extracted charge divided by the conversion factor minus the number of photoelectrons)
149versus number of photoelectrons,
150for fixed window extractors in different window sizes. The top plots show the high-gain and the bottom ones
151low-gain regions. Left: without noise, right: with simulated noise.}
152\label{fig:mc:ConversionvsNphe_FixW}
153\end{figure}
154
155\begin{figure}[htp]
156\centering
157 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_SlidW_NoNoise_HiGain.eps}
158 \vspace{\floatsep}
159 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_SlidW_WithNoise_HiGain.eps}
160 \vspace{\floatsep}
161 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_SlidW_NoNoise_LoGain.eps}
162 \vspace{\floatsep}
163 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_SlidW_WithNoise_LoGain.eps}
164\caption[Bias Sliding Windows]{The measured bias (extracted charge divided by the conversion factor minus the number of photoelectrons)
165versus number of photoelectrons,
166for sliding window extractors in different window sizes. The top plots show the high-gain and the bottom ones
167low-gain regions. Left: without noise, right: with simulated noise.}
168\label{fig:mc:ConversionvsNphe_SlidW}
169\end{figure}
170
171\begin{figure}[htp]
172\centering
173 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_DFSpline_NoNoise_HiGain.eps}
174 \vspace{\floatsep}
175 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_DFSpline_WithNoise_HiGain.eps}
176 \vspace{\floatsep}
177 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_DFSpline_NoNoise_LoGain.eps}
178 \vspace{\floatsep}
179 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ConversionvsNphe_DFSpline_WithNoise_LoGain.eps}
180\caption[Bias Spline and Digital Filter]{The measured bias (extracted charge divided by the conversion factor minus the number of photoelectrons)
181versus number of photoelectrons,
182for spline and digital filter extractors in different window sizes. The top plots show the high-gain and the bottom ones
183low-gain regions. Left: without noise, right: with simulated noise.}
184\label{fig:mc:ConversionvsNphe_DFSpline}
185\end{figure}
186
187\clearpage
188
189%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
190
191\subsection{Measurement of the Resolutions \label{sec:mc:resolutions}}
192
193In order to obtain the resolution of a given extractor, we calculated the RMS of the distribution:
194
195\begin{equation}
196R_{\mathrm{MC}} \approx RMS(\widehat{Q}_{rec} - Q_{sim})
197\end{equation}
198
199where $\widehat{Q}_{rec}$ is the reconstructed charge, calibrated to photo-electrons with the conversion factors obtained in
200section~\ref{sec:mc:convfactors}.
201\par
202One can see that for small signals, small extraction windows yield better resolutions, but extractors which do not
203entirely cover the whole pulse, show a clear dependency of the resolution with the signal strength. In the high-gain region,
204this is valid for all fixed window extractors up to 6~FADC slices integration region, all sliding window extractors up to 4~FADC
205slices and for all spline extractors and the digital filter. Among those extractors with a signal dependent resolution, the
206digital filter with 6~FADC slices extraction window shows the smallest dependency, namely 80\% per 50 photo-electrons. This
207finding is at first sight in contradiction with eq.~\ref{eq:of_noise} where the (theoretical) resolution depends only on the
208noise intensity, but not on the signal strength. Here, the input light distribution of the simulated light pulse introduces the
209amplitude dependency (the constancy is recovered for photon signals with no intrinsic input time spread). Here, the main
210difference between the spline and digital filter extractors is found: At all intensities, but especially very low intensities, the
211resolution of the digital filter is much better than the one for the spline.
212
213\begin{figure}[htp]
214\centering
215 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_FixW_NoNoise_HiGain.eps}
216 \vspace{\floatsep}
217 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_FixW_WithNoise_HiGain.eps}
218 \vspace{\floatsep}
219 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_FixW_NoNoise_LoGain.eps}
220 \vspace{\floatsep}
221 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_FixW_WithNoise_LoGain.eps}
222\caption[Charge Resolution Fixed Windows]{The measured resolution (RMS of extracted charge divided by the conversion factor minus the number of photoelectrons) versus number of photoelectrons,
223for fixed window extractors in different window sizes. The top plots show the high-gain and the bottom ones
224low-gain regions. Left: without noise, right: with simulated noise.}
225\label{fig:mc:ChargeRes_FixW}
226\end{figure}
227
228\begin{figure}[htp]
229\centering
230 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_SlidW_NoNoise_HiGain.eps}
231 \vspace{\floatsep}
232 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_SlidW_WithNoise_HiGain.eps}
233 \vspace{\floatsep}
234 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_SlidW_NoNoise_LoGain.eps}
235 \vspace{\floatsep}
236 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_SlidW_WithNoise_LoGain.eps}
237\caption[Charge Resolution Sliding Windows]{The measured resolution (RMS of extracted charge divided by the conversion factor minus the number of photoelectrons) versus number of photoelectrons,
238for sliding window extractors in different window sizes. The top plots show the high-gain and the bottom ones
239low-gain regions. Left: without noise, right: with simulated noise.}
240\label{fig:mc:ChargeRes_SlidW}
241\end{figure}
242
243\begin{figure}[htp]
244\centering
245 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_DFSpline_NoNoise_HiGain.eps}
246 \vspace{\floatsep}
247 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_DFSpline_WithNoise_HiGain.eps}
248 \vspace{\floatsep}
249 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_DFSpline_NoNoise_LoGain.eps}
250 \vspace{\floatsep}
251 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_ChargeRes_DFSpline_WithNoise_LoGain.eps}
252\caption[Charge Resolution Spline and Digital Filter]{The measured resolution
253(RMS of extracted charge divided by the conversion factor minus the number of photoelectrons) versus number of photoelectrons,
254for spline and digital filter extractors in different window sizes. The top plots show the high-gain and the bottom ones
255low-gain regions. Left: without noise, right: with simulated noise.}
256\label{fig:mc:ChargeRes_DFSpline}
257\end{figure}
258
259\clearpage
260
261%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
262
263\subsection{Arrival Times \label{sec:mc:times}}
264
265Like in the case of the charge resolution, we calculated the RMS of the distribution of the deviation of the
266reconstructed arrival time with respect to the simulated time:
267
268\begin{equation}
269\Delta T_{\mathrm{MC}} \approx RMS(\widehat{T}_{rec} - T_{sim})
270\end{equation}
271
272where $\widehat{T}_{rec}$ is the reconstructed arrival time and $T_{sim}$ the simulated one.
273\par
274Generally, the time resolutions $\Delta T_{\mathrm{MC}}$ are about a factor 1.5 better than those obtained
275from the calibration (section~\ref{sec:cal:timeres}, figure~\ref{fig:time:dep}). This
276 is understandable since the Monte-Carlo pulses are smaller and
277further the intrinsic time spread of the photo-multiplier has not been simulated. Moreover, no time resolution offset was
278simulated, thus the reconstructed time resolutions follow about a $1/\sqrt{N_{\mathrm{phe}}}$\,--\,behaviour over the whole low-gain range.
279The spline extractors level off in contradiction to what has been found with the calibration pulses.
280\par
281In figure~\ref{fig:mc:TimeRes_SlidW}, one can see nicely the effect of the addition of noise to the reconstructed time
282resolution: While without noise all sliding window extractors with a window size of at least 4~FADC slices show the same time
283resolution, with added noise, the resolution degrades with larger extraction window sizes. This can be understood by the fact that
284an extractor covers the whole pulse if integrating at least 4~FADC slices and each additional slice can only be affected by the noise.
285
286\begin{figure}[htp]
287\centering
288 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_SlidW_NoNoise_HiGain.eps}
289\vspace{\floatsep}
290 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_SlidW_WithNoise_HiGain.eps}
291\vspace{\floatsep}
292 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_SlidW_NoNoise_LoGain.eps}
293\vspace{\floatsep}
294 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_SlidW_WithNoise_LoGain.eps}
295\caption[Time Resolution Sliding Windows]{The measured time resolution (RMS of extracted time minus simulated time)
296versus number of photoelectrons,
297for sliding window extractors in different window sizes. The top plots show the high-gain and the bottom ones
298low-gain regions. Left: without noise, right: with simulated noise.}
299\label{fig:mc:TimeRes_SlidW}
300\end{figure}
301
302\begin{figure}[htp]
303\centering
304 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_DFSpline_NoNoise_HiGain.eps}
305\vspace{\floatsep}
306 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_DFSpline_WithNoise_HiGain.eps}
307\vspace{\floatsep}
308 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_DFSpline_NoNoise_LoGain.eps}
309\vspace{\floatsep}
310 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_TimeRes_DFSpline_WithNoise_LoGain.eps}
311\caption[Time Resolution Spline and Digital Filter]{The measured time resolution (RMS of extracted time minus simulated time)
312versus number of photoelectrons,
313for spline and digital filter window extractors in different window sizes. The top plots show the high-gain and the bottom ones
314low-gain regions. Left: without noise, right: with simulated noise.}
315\label{fig:mc:TimeRes_DFSpline}
316\end{figure}
317
318
319%%% Local Variables:
320%%% mode: latex
321%%% TeX-master: "MAGIC_signal_reco"
322%%% TeX-master: "MAGIC_signal_reco"
323%%% End:
324
325
326
327
328
329
330
331
332%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
333
334\clearpage
335
336\subsection{Charge Signals with and without Simulated Noise \label{fig:mc:sec:mc:chargenoise}}
337
338
339\begin{figure}[htp]
340\centering
341 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_Bias_SlidW_HiGain.eps}
342 \vspace{\floatsep}
343 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_Bias_FixW_HiGain.eps}
344 \vspace{\floatsep}
345 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_Bias_DFSpline_HiGain.eps}
346\caption[Bias due to noise high-gain]{Bias due to noise: Difference of extracted charge of same events, with and without simulated noise,
347for different extractor methods in the high-gain region.}
348\label{fig:mc:Bias_HiGain}
349\end{figure}
350
351\begin{figure}[htp]
352\centering
353 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_Bias_SlidW_LoGain.eps}
354 \vspace{\floatsep}
355 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_Bias_FixW_LoGain.eps}
356 \vspace{\floatsep}
357 \includegraphics[width=0.49\linewidth]{TimeAndChargePlots/TDAS_Bias_DFSpline_LoGain.eps}
358\caption[Bias due to noise low-gain]{Bias due to noise: Difference of extracted charge of same events, with and without simulated noise,
359for different extractor methods in the low-gain region.}
360\label{fig:mc:Bias_LoGain}
361\end{figure}
Note: See TracBrowser for help on using the repository browser.