Changeset 5536 for trunk/MagicSoft
- Timestamp:
- 12/01/04 14:01:40 (20 years ago)
- Location:
- trunk/MagicSoft/TDAS-Extractor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/TDAS-Extractor/Changelog
r5376 r5536 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/12/01: Markus Gaug 23 * Pedestals.tex: Modified writing a bit, added subsection about applying 24 extractor to pedestals 21 25 22 26 2004/11/10: Hendrik Bartko -
trunk/MagicSoft/TDAS-Extractor/Pedestal.tex
r5370 r5536 4 4 \begin{itemize} 5 5 \item Defining the pedestal RMS as contribution 6 to the extracted signal fluctuations (later used in the calibration)6 to the extracted signal fluctuations (later used in the calibration) 7 7 \item Defining the Pedestal Mean and RMS as the result of distributions obtained by 8 applying the extractor to pedestal runs (yielding biases and modified widths).8 applying the extractor to pedestal runs (yielding biases and modified widths). 9 9 \item Deriving the correct probability for background fluctuations based on the extracted signal height. 10 10 ( including biases and modified widths). 11 11 \end{itemize} 12 \ldots Florian + ???13 \newline14 \newline15 12 } 16 13 17 \subsection{ Copy of email by W. Wittek from 25 Oct 2004 and 10 Nov 2004}14 \subsection{Pedestal RMS} 18 15 19 16 20 \subsubsection{Pedestal RMS} 17 \vspace{1cm} 18 \ldots {\it Modified email by W. Wittek from 25 Oct 2004 and 10 Nov 2004} 19 \vspace{1cm} 21 20 22 We all know how it is defined. It can be completely 23 described by the matrix 21 The Pedestal RMS can be completely described by the matrix 24 22 25 23 \begin{equation} … … 27 25 \end{equation} 28 26 29 where $i$ and $j$ denote the $i^{th}$ and $j^{th}$ FADC slice ,27 where $i$ and $j$ denote the $i^{th}$ and $j^{th}$ FADC slice and 30 28 $P_i$ is the pedestal 31 value in slice $i$ for an event and the average $<>$ is over many events .29 value in slice $i$ for an event and the average $<>$ is over many events (usually 1000). 32 30 \par 33 31 34 By definition, the pedestal RMS is independent ofthe signal extractor.35 Therefore no signal extractor is needed forthe pedestals.32 By definition, the pedestal RMS is independent from the signal extractor. 33 Therefore, no signal extractor is needed to calculate the pedestals. 36 34 37 \subs ubsection{Bias and Error}35 \subsection{Bias and Error} 38 36 39 37 Consider a large number of signals (FADC spectra), all with the same 40 38 integrated charge $ST$ (true signal). By applying some signal extractor 41 39 we obtain a distribution of extracted signals $SE$ (for fixed $ST$ and 42 fixed background fluctuations ). The distribution of the quantity40 fixed background fluctuations $BG$). The distribution of the quantity 43 41 44 42 \begin{equation} … … 60 58 61 59 $B$ is the bias, $R$ is the RMS of the distribution of $X$ and $D$ is something 62 like the (asymmetric) error of $SE$. It is the distribution of $X$ (or its 63 parameters $B$ and $R$) which we are eventually interested in. The distribution 64 of $X$, and thus the parameters $B$ and $R$, depend on $ST$ and the size of the 65 background fluctuations. 66 \par 67 68 By applying the signal extractor to pedestal events you want to 69 determine these parameters, I guess. 70 71 \par 72 By applying it with max. peak search you get information about the bias $B$ 73 for very low signals, not for high signals. By applying it to a fixed window, 74 without max.peak search, you may get something like $R$ for high signals (but 75 I am not sure). 76 77 \par 78 For the normal image cleaning, knowledge of $B$ is sufficient, because the 79 error $R$ is not used anyway. You only want to cut off the low signals. 80 81 \par 82 For the model analysis you need both, $B$ and $R$, because you want to keep small 83 signals. Unfortunately $B$ and $R$ depend on the size of the signal ($ST$) and on 84 the size of the background fluctuations (BG). However, applying the signal 85 extractor to pedestal events gives you only 1 number, dependent on BG but 86 independent of $ST$. 60 like the (asymmetric) error of $SE$. 61 The distribution of $X$, and thus the parameters $B$ and $R$, 62 depend on the size of $ST$ and the size of the background fluctuations $BG$. 87 63 88 64 \par 89 65 90 Where do we get the missing information from ? I have no simple solution or 91 answer, but I would think 92 \begin{itemize} 93 \item that you have to determine the bias from MC 94 \item and you may gain information about $R$ from the fitted error of $SE$, which is 95 known for every pixel and event 96 \end{itemize} 97 98 The question is 'How do we determine the $R$ ?'. A proposal which 99 has been discussed in various messages is to apply the signal extractor to 100 pedestal events. One can do that, however, this will give you information 101 about the bias and the error of the extracted signal only for signals 102 whose size is in the order of the pedestal fluctuations. This is certainly 103 useful for defining the right level for the image cleaning. 66 For the normal image cleaning, knowledge of $B$ is sufficient and the 67 error $R$ should be know in order to calculate a correct background probability. 104 68 \par 105 106 However, because the bias $B$ and the error of the extracted signal $R$ depend on 107 the size of the signal, applying the signal extractor to pedestal events 108 won't give you the right answer for larger signals, for example for the 109 calibration signals. 110 111 The basic relation of the F-method is 69 Also for the model analysis $B$ and $R$ are needed, because you want to keep small 70 signals. 71 \par 72 In the case of the calibration with the F-Factor methoid, 73 the basic relation is: 112 74 113 75 \begin{equation} 114 \frac{ sig^2}{<Q>^2} = \frac{1}{<m_{pe}>} * F^276 \frac{(\Delta ST)^2}{<ST>^2} = \frac{1}{<m_{pe}>} * F^2 115 77 \end{equation} 116 78 117 Here $ sig$ is the fluctuation of the extracted signal $Q$ due to the118 fluctuation of the number of photo electrons. $ sig$ is obtained from the119 measured fluctuations of $ Q$ ($RMS_Q$) by subtracting the fluctuation of the120 extracted signal ($R$) due to the fluctuation of the pedestal RMS :79 Here $\Delta ST$ is the fluctuation of the true signal $ST$ due to the 80 fluctuation of the number of photo electrons. $ST$ is obtained from the 81 measured fluctuations of $SE$ ($RMS_{SE}$) by subtracting the fluctuation of the 82 extracted signal ($R$) due to the fluctuation of the pedestal. 121 83 122 84 \begin{equation} 123 sig^2 = RMS_Q^2 - R^285 (\Delta ST)^2 = RMS_{SE}^2 - R^2 124 86 \end{equation} 125 126 $R$ is in general different from the pedestal RMS. It cannot be127 obtained by applying the signal extractor to pedestal events, because128 the calibration signal is usually large.129 130 In the case of the optimum filter, $R$ may be obtained from the131 fitted error of the extracted signal ($dQ_{fitted}$), which one can calculate132 for every event. Whether this statemebt is true should be checked by MC.133 For large signals I would expect the bias of the extracted to be small and134 negligible.135 87 136 88 A way to check whether the right RMS has been subtracted is to make the … … 138 90 139 91 \begin{equation} 140 \frac{ sig^2}{<Q>^2} \quad \textit{vs.} \quad \frac{1}{<Q>}92 \frac{(\Delta ST)^2}{<ST>^2} \quad \textit{vs.} \quad \frac{1}{<ST>} 141 93 \end{equation} 142 94 … … 148 100 \end{equation} 149 101 150 where $c$ is the photon/ADC conversion factor $<Q>/<m_{pe}>$. 102 where $c$ is the photon/ADC conversion factor $<ST>/<m_{pe}>$. 103 104 \subsection{How to retrieve Bias $B$ and Error $R$} 105 106 $R$ is in general different from the pedestal RMS. It cannot be 107 obtained by applying the signal extractor to pedestal events, especially 108 for large signals (e.g. calibration signals). 109 \par 110 In the case of the optimum filter, $R$ can be obtained from the 111 fitted error of the extracted signal ($\Delta(SE)_{fitted}$), 112 which one can calculate for every event. 113 114 \vspace{1cm} 115 \ldots {\it Whether this statemebt is true should be checked by MC.} 116 \vspace{1cm} 117 118 For large signals, one would expect the bias of the extracted signal 119 to be small and negligible (i.e. $<ST> \approx <SE>$). 120 \par 121 122 In order to get the missing information, we did the following investigations: 123 \begin{enumerate} 124 \item Determine bias $B$ and resolution $R$ from MC events with and without added noise. 125 Assuming that $R$ and $B$ are negligible for the events without noise, one can 126 get a dependency of both values from the size of the signal. 127 \item Determine $R$ from the fitted error of $SE$, which is possible for the 128 fit and the digital filter. In prinicple, all dependencies can be retrieved with this 129 method. 130 \item Determine $R$ for low signals by applying the signal extractor to a fixed window 131 of pedestal events. The background fluctuations can be simulated with different 132 levels of night sky background and the continuous light, but no signal size 133 dependency can be retrieved with the method. Its results are only valid for small 134 signals. 135 \end{enumerate} 136 137 \par 138 139 \subsubsection{Determine error $R$ by applying the signal extractor to a fixed window 140 of pedestal events} 141 142 By applying the signal extractor to pedestal events we want to 143 determine these parameters. There are the following possibilities: 144 145 \begin{enumerate} 146 \item Applying the signal extractor allowing for a possible sliding window 147 to get information about the bias $B$ (valid for low signals). 148 \item Applying the signal extractor to a fixed window, to get something like 149 $R$. In the case of the digital filter, this has to be done by randomizing 150 the time slice indices. 151 \end{enumerate} 152 153 \vspace{1cm} 154 \ldots {\it This assumptions still have to proven, best mathematically!!! Wolfgang, Thomas???} 155 \vspace{1cm} 156 \par 157 158 159 \vspace{1cm} 160 \ldots{\it More test plots can be found under: 161 http://magic.ifae.es/$\sim$markus/ExtractorPedestals/ } 162 \vspace{1cm} 151 163 152 164 %%% Local Variables: … … 155 167 %%% TeX-master: "MAGIC_signal_reco" 156 168 %%% TeX-master: "MAGIC_signal_reco" 169 %%% TeX-master: "MAGIC_signal_reco." 157 170 %%% End:
Note:
See TracChangeset
for help on using the changeset viewer.