| 1 | \section{Criteria for an optimal pedestal extraction}
|
|---|
| 2 |
|
|---|
| 3 | \ldots {\it In this section, the distinction is made between:
|
|---|
| 4 | \begin{itemize}
|
|---|
| 5 | \item Defining the pedestal RMS as contribution
|
|---|
| 6 | to the extracted signal fluctuations (later used in the calibration)
|
|---|
| 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).
|
|---|
| 9 | \item Deriving the correct probability for background fluctuations based on the extracted signal height.
|
|---|
| 10 | ( including biases and modified widths).
|
|---|
| 11 | \end{itemize}
|
|---|
| 12 | \ldots Florian + ???
|
|---|
| 13 | \newline
|
|---|
| 14 | \newline
|
|---|
| 15 | }
|
|---|
| 16 |
|
|---|
| 17 | \subsection{Copy of email by W. Wittek from 25 Oct 2004 and 10 Nov 2004}
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | \subsubsection{Pedestal RMS}
|
|---|
| 21 |
|
|---|
| 22 | We all know how it is defined. It can be completely
|
|---|
| 23 | described by the matrix
|
|---|
| 24 |
|
|---|
| 25 | \begin{equation}
|
|---|
| 26 | < (P_i - <P_i>) * (P_j - <P_j>) >
|
|---|
| 27 | \end{equation}
|
|---|
| 28 |
|
|---|
| 29 | where $i$ and $j$ denote the $i^{th}$ and $j^{th}$ FADC slice,
|
|---|
| 30 | $P_i$ is the pedestal
|
|---|
| 31 | value in slice $i$ for an event and the average $<>$ is over many events.
|
|---|
| 32 | \par
|
|---|
| 33 |
|
|---|
| 34 | By definition, the pedestal RMS is independent of the signal extractor.
|
|---|
| 35 | Therefore no signal extractor is needed for the pedestals.
|
|---|
| 36 |
|
|---|
| 37 | \subsubsection{Bias and Error}
|
|---|
| 38 |
|
|---|
| 39 | Consider a large number of signals (FADC spectra), all with the same
|
|---|
| 40 | integrated charge $ST$ (true signal). By applying some signal extractor
|
|---|
| 41 | we obtain a distribution of extracted signals $SE$ (for fixed $ST$ and
|
|---|
| 42 | fixed background fluctuations). The distribution of the quantity
|
|---|
| 43 |
|
|---|
| 44 | \begin{equation}
|
|---|
| 45 | X = SE-ST
|
|---|
| 46 | \end{equation}
|
|---|
| 47 |
|
|---|
| 48 | has the mean $B$ and the RMS $R$
|
|---|
| 49 |
|
|---|
| 50 | \begin{eqnarray}
|
|---|
| 51 | B &=& <X> \\
|
|---|
| 52 | R^2 &=& <(X-B)^2>
|
|---|
| 53 | \end{eqnarray}
|
|---|
| 54 |
|
|---|
| 55 | One may also define
|
|---|
| 56 |
|
|---|
| 57 | \begin{equation}
|
|---|
| 58 | D^2 = <(SE-ST)^2> = <(SE-ST-B + B)^2> = B^2 + R^2
|
|---|
| 59 | \end{equation}
|
|---|
| 60 |
|
|---|
| 61 | $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$.
|
|---|
| 87 |
|
|---|
| 88 | \par
|
|---|
| 89 |
|
|---|
| 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.
|
|---|
| 104 | \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
|
|---|
| 112 |
|
|---|
| 113 | \begin{equation}
|
|---|
| 114 | \frac{sig^2}{<Q>^2} = \frac{1}{<m_{pe}>} * F^2
|
|---|
| 115 | \end{equation}
|
|---|
| 116 |
|
|---|
| 117 | Here $sig$ is the fluctuation of the extracted signal $Q$ due to the
|
|---|
| 118 | fluctuation of the number of photo electrons. $sig$ is obtained from the
|
|---|
| 119 | measured fluctuations of $Q$ ($RMS_Q$) by subtracting the fluctuation of the
|
|---|
| 120 | extracted signal ($R$) due to the fluctuation of the pedestal RMS :
|
|---|
| 121 |
|
|---|
| 122 | \begin{equation}
|
|---|
| 123 | sig^2 = RMS_Q^2 - R^2
|
|---|
| 124 | \end{equation}
|
|---|
| 125 |
|
|---|
| 126 | $R$ is in general different from the pedestal RMS. It cannot be
|
|---|
| 127 | obtained by applying the signal extractor to pedestal events, because
|
|---|
| 128 | the calibration signal is usually large.
|
|---|
| 129 |
|
|---|
| 130 | In the case of the optimum filter, $R$ may be obtained from the
|
|---|
| 131 | fitted error of the extracted signal ($dQ_{fitted}$), which one can calculate
|
|---|
| 132 | 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 and
|
|---|
| 134 | negligible.
|
|---|
| 135 |
|
|---|
| 136 | A way to check whether the right RMS has been subtracted is to make the
|
|---|
| 137 | Razmick plot
|
|---|
| 138 |
|
|---|
| 139 | \begin{equation}
|
|---|
| 140 | \frac{sig^2}{<Q>^2} \quad \textit{vs.} \quad \frac{1}{<Q>}
|
|---|
| 141 | \end{equation}
|
|---|
| 142 |
|
|---|
| 143 | This should give a straight line passing through the origin. The slope of
|
|---|
| 144 | the line is equal to
|
|---|
| 145 |
|
|---|
| 146 | \begin{equation}
|
|---|
| 147 | c * F^2
|
|---|
| 148 | \end{equation}
|
|---|
| 149 |
|
|---|
| 150 | where $c$ is the photon/ADC conversion factor $<Q>/<m_{pe}>$.
|
|---|
| 151 |
|
|---|
| 152 | %%% Local Variables:
|
|---|
| 153 | %%% mode: latex
|
|---|
| 154 | %%% TeX-master: "MAGIC_signal_reco"
|
|---|
| 155 | %%% TeX-master: "MAGIC_signal_reco"
|
|---|
| 156 | %%% TeX-master: "MAGIC_signal_reco"
|
|---|
| 157 | %%% End:
|
|---|