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

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