Changeset 5623 for trunk/MagicSoft
- Timestamp:
- 12/18/04 22:25:05 (20 years ago)
- Location:
- trunk/MagicSoft/TDAS-Extractor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/TDAS-Extractor/Algorithms.tex
r5614 r5623 248 248 where $\Delta T_{\mathrm{FADC}} = 3.33$ ns is the sampling intervall of the MAGIC FADCs. 249 249 250 In the current implementation a two step procedure is applied to reconstruct the signal. The weight functions $w_{\mathrm{amp}}(t)$ and $w_{\mathrm{time}}(t)$ are computed numerically with a resolution of $1/10$ of an FADC slice. In the first step the quantities $e_{i_0}$ and $e\tau_{i_0}$ are computed: 251 252 \begin{equation} 253 e_{i_0}=\sum_{i=i_0}^{i=i_0+5} w_{\mathrm{amp}(t_i)}y(t_{i+i_0}) \qquad e\tau_{i_0}=\sum_{i=i_0}^{i=i_0+5} w(t_i)_{\mathrm{time}(t_i)}y(t_{i+i_0}) 254 \end{equation} 255 256 for all possible signal start samples $i_0$. Let $i_0^*$ be the signal start sample with the largest $e_{i_0}$. Then in a seconst step the timing offset $\tau$ is calculated: 257 258 \begin{equation} 259 \tau=\frac{e\tau_{i_0^*}}{e_{i_0^*}} 260 \end{equation} 261 262 and the weigths iterated: 263 264 \begin{equation} 265 E_{i_0^*}=\sum_{i=i_0^*}^{i=i_0^*+5} w_{\mathrm{amp}(t_i - \tau)}y(t_{i+i_0^*}) \qquad E \tau_{i_0^*}=\sum_{i=i_0^*}^{i=i_0^*+5} w(t_i - \tau)_{\mathrm{time}(t_i)}y(t_{i+i_0^*}) \ . 266 \end{equation} 267 268 The reconstructed signal is then taken to be $E_{i_0^*}$ and the reconstructed arrival time $t_{\text{arrival}}$ is 269 270 \begin{equation} 271 t_{\text{arrival}} = i_0^* + \tau_{i_0^*} + \tau \ . 272 \end{equation} 273 274 275 276 % This does not apply for MAGIC as the LONs are giving always a correlated noise (in addition to the artificial shaping) 277 278 %In the case of an uncorrelated noise with zero mean the noise autocorrelation matrix is: 279 280 %\begin{equation} 281 %\boldsymbol{B}_{ij}= \langle b_i b_j \rangle \delta_{ij} = \sigma^2(b_i) \ , 282 %\end{equation} 283 284 %where $\sigma(b_i)$ is the standard deviation of the noise of the discrete measurements. Equation (\ref{of_noise}) than becomes: 285 286 287 %\begin{equation} 288 %\frac{\sigma^2(b_i)}{\sigma_E^2} = \sum_{i=1}^{n}{g_i^2} - \frac{\sum_{i=1}^{n}{g_i \dot{g}_i}}{\sum_{i=1}^{n}{\dot{g}_i^2}} \ . 289 %\end{equation} 250 251 For an IACT there are two types of background noise. On the one hand there is the constantly present electronics noise, on the other hand the light of the night sky introduces a sizeable background noise to the measurement of Cherenkov photons from air showers. 252 253 The electronics noise is largely white, uncorrelated in time. The noise from the night sky background photons is the superposition of the detector response to single photo electrons arriving randomly distributed in time. Figure \ref{fig:noise_autocorr_AB_36038_TDAS} shows the noise autocorrelation matrix for an open camera. The large noise autocorrelation in time of the current FADC system is due to the pulse shaping with a shaping constant of 6 ns. 290 254 291 255 \begin{figure}[h!] … … 296 260 \end{figure} 297 261 262 263 264 Using the average reconstructed pulpo pulse shape, see figure \ref{fig:pulpo_shape_low}, and the reconstructed noise autocorrelation matrix from a pedestal run with random triggers, the digital filter weights are computed. Figures \ref{fig:w_time_MC_input_TDAS} and \ref{fig:w_amp_MC_input_TDAS} show the parameterization of the amplitude and timing weights for the MC pulse shape as a fuction of the ... 265 266 298 267 \begin{figure}[h!] 299 268 \begin{center} … … 310 279 \end{figure} 311 280 312 \begin{figure}[h!] 313 \begin{center} 314 \includegraphics[totalheight=7cm]{shape_fit_TDAS.eps} 315 \end{center} 316 \caption[Shape fit.]{Full fit to the MC pulse shape with the MC input shape and a numerical fit using the digital filter.} \label{fig:shape_fit_TDAS} 317 \end{figure} 281 282 283 In the current implementation a two step procedure is applied to reconstruct the signal. The weight functions $w_{\mathrm{amp}}(t)$ and $w_{\mathrm{time}}(t)$ are computed numerically with a resolution of $1/10$ of an FADC slice. In the first step the quantities $e_{i_0}$ and $e\tau_{i_0}$ are computed: 284 285 \begin{equation} 286 e_{i_0}=\sum_{i=i_0}^{i=i_0+5} w_{\mathrm{amp}(t_i)}y(t_{i+i_0}) \qquad e\tau_{i_0}=\sum_{i=i_0}^{i=i_0+5} w(t_i)_{\mathrm{time}(t_i)}y(t_{i+i_0}) 287 \end{equation} 288 289 for all possible signal start samples $i_0$. Let $i_0^*$ be the signal start sample with the largest $e_{i_0}$. Then in a seconst step the timing offset $\tau$ is calculated: 290 291 \begin{equation} 292 \tau=\frac{e\tau_{i_0^*}}{e_{i_0^*}} 293 \end{equation} 294 295 and the weigths iterated: 296 297 \begin{equation} 298 E_{i_0^*}=\sum_{i=i_0^*}^{i=i_0^*+5} w_{\mathrm{amp}(t_i - \tau)}y(t_{i+i_0^*}) \qquad E \tau_{i_0^*}=\sum_{i=i_0^*}^{i=i_0^*+5} w(t_i - \tau)_{\mathrm{time}(t_i)}y(t_{i+i_0^*}) \ . 299 \end{equation} 300 301 The reconstructed signal is then taken to be $E_{i_0^*}$ and the reconstructed arrival time $t_{\text{arrival}}$ is 302 303 \begin{equation} 304 t_{\text{arrival}} = i_0^* + \tau_{i_0^*} + \tau \ . 305 \end{equation} 306 307 308 309 % This does not apply for MAGIC as the LONs are giving always a correlated noise (in addition to the artificial shaping) 310 311 %In the case of an uncorrelated noise with zero mean the noise autocorrelation matrix is: 312 313 %\begin{equation} 314 %\boldsymbol{B}_{ij}= \langle b_i b_j \rangle \delta_{ij} = \sigma^2(b_i) \ , 315 %\end{equation} 316 317 %where $\sigma(b_i)$ is the standard deviation of the noise of the discrete measurements. Equation (\ref{of_noise}) than becomes: 318 319 320 %\begin{equation} 321 %\frac{\sigma^2(b_i)}{\sigma_E^2} = \sum_{i=1}^{n}{g_i^2} - \frac{\sum_{i=1}^{n}{g_i \dot{g}_i}}{\sum_{i=1}^{n}{\dot{g}_i^2}} \ . 322 %\end{equation} 323 324 325 326 327 318 328 319 329 … … 325 335 \caption[Digital filter weights applied.]{Digital filter weights applied.} \label{fig:amp_sliding} 326 336 \end{figure} 337 338 339 Figure \ref{fig:shape_fit_TDAS} shows the FADC samples of a single MC event together with the result of a full fit of the input MC pulse shape to the simulated FADC samples together with the result of the numerical fit using the digital filter. 340 341 342 \begin{figure}[h!] 343 \begin{center} 344 \includegraphics[totalheight=7cm]{shape_fit_TDAS.eps} 345 \end{center} 346 \caption[Shape fit.]{Full fit to the MC pulse shape with the MC input shape and a numerical fit using the digital filter.} \label{fig:shape_fit_TDAS} 347 \end{figure} 348 349 350 351 327 352 328 353 -
trunk/MagicSoft/TDAS-Extractor/Introduction.tex
r5612 r5623 8 8 9 9 %an analog optical link \ci 10 te{MAGIC-analog-link-2} to the counting house.10 %te{MAGIC-analog-link-2} to the counting house. 11 11 12 12 -
trunk/MagicSoft/TDAS-Extractor/Reconstruction.tex
r5598 r5623 26 26 \end{figure} 27 27 28 Figure \ref{fig:shape_green_high} shows the normalized average reconstructed pulse shape for green and UV calibration LED pulses \cite{MAGIC-calibration} as well as the normalized average reconstructed pulse shape for cosmics events. The pulse shape of the UV calibration pulses is quite similar to the reconstructed pulse shape for cosmics events, both have a FWHM of about 6.5ns. As air showers due to hadronic cosmic rays trigger the telescope much more frequently than gamma showers the reconstructed pulse shape of the cosmics events corresponds mainly to hadron induced showers. The pulse shape due to electromagnetic air showers might be slightly different. The pulse shape for green calibration LED pulses is wider and has a pronounced tail.28 Figure \ref{fig:shape_green_high} shows the normalized average reconstructed pulse shapes for green and UV calibration LED pulses \cite{MAGIC-calibration} as well as the normalized average reconstructed pulse shape for cosmics events. The pulse shape of the UV calibration pulses is quite similar to the reconstructed pulse shape for cosmics events, both have a FWHM of about 6.3 ns. As air showers due to hadronic cosmic rays trigger the telescope much more frequently than gamma showers the reconstructed pulse shape of the cosmics events corresponds mainly to hadron induced showers. The pulse shape due to electromagnetic air showers might be slightly different. The pulse shape for green calibration LED pulses is wider and has a pronounced tail. 29 29 30 30
Note:
See TracChangeset
for help on using the changeset viewer.