source: trunk/MagicSoft/TDAS-Extractor/Pedestal.tex@ 5532

Last change on this file since 5532 was 5370, checked in by gaug, 20 years ago
*** empty log message ***
File size: 5.3 KB
Line 
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
6to the extracted signal fluctuations (later used in the calibration)
7\item Defining the Pedestal Mean and RMS as the result of distributions obtained by
8applying 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
22We all know how it is defined. It can be completely
23described by the matrix
24
25\begin{equation}
26 < (P_i - <P_i>) * (P_j - <P_j>) >
27\end{equation}
28
29where $i$ and $j$ denote the $i^{th}$ and $j^{th}$ FADC slice,
30$P_i$ is the pedestal
31value in slice $i$ for an event and the average $<>$ is over many events.
32\par
33
34By definition, the pedestal RMS is independent of the signal extractor.
35Therefore no signal extractor is needed for the pedestals.
36
37\subsubsection{Bias and Error}
38
39Consider a large number of signals (FADC spectra), all with the same
40integrated charge $ST$ (true signal). By applying some signal extractor
41we obtain a distribution of extracted signals $SE$ (for fixed $ST$ and
42fixed background fluctuations). The distribution of the quantity
43
44\begin{equation}
45X = SE-ST
46\end{equation}
47
48has the mean $B$ and the RMS $R$
49
50\begin{eqnarray}
51 B &=& <X> \\
52 R^2 &=& <(X-B)^2>
53\end{eqnarray}
54
55One 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
62like the (asymmetric) error of $SE$. It is the distribution of $X$ (or its
63parameters $B$ and $R$) which we are eventually interested in. The distribution
64of $X$, and thus the parameters $B$ and $R$, depend on $ST$ and the size of the
65background fluctuations.
66\par
67
68By applying the signal extractor to pedestal events you want to
69determine these parameters, I guess.
70
71\par
72By applying it with max. peak search you get information about the bias $B$
73for very low signals, not for high signals. By applying it to a fixed window,
74without max.peak search, you may get something like $R$ for high signals (but
75I am not sure).
76
77\par
78For the normal image cleaning, knowledge of $B$ is sufficient, because the
79error $R$ is not used anyway. You only want to cut off the low signals.
80
81\par
82For the model analysis you need both, $B$ and $R$, because you want to keep small
83signals. Unfortunately $B$ and $R$ depend on the size of the signal ($ST$) and on
84the size of the background fluctuations (BG). However, applying the signal
85extractor to pedestal events gives you only 1 number, dependent on BG but
86independent of $ST$.
87
88\par
89
90Where do we get the missing information from ? I have no simple solution or
91answer, 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
98The question is 'How do we determine the $R$ ?'. A proposal which
99has been discussed in various messages is to apply the signal extractor to
100pedestal events. One can do that, however, this will give you information
101about the bias and the error of the extracted signal only for signals
102whose size is in the order of the pedestal fluctuations. This is certainly
103useful for defining the right level for the image cleaning.
104\par
105
106However, because the bias $B$ and the error of the extracted signal $R$ depend on
107the size of the signal, applying the signal extractor to pedestal events
108won't give you the right answer for larger signals, for example for the
109calibration signals.
110
111The 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
117Here $sig$ is the fluctuation of the extracted signal $Q$ due to the
118fluctuation of the number of photo electrons. $sig$ is obtained from the
119measured fluctuations of $Q$ ($RMS_Q$) by subtracting the fluctuation of the
120extracted 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
127obtained by applying the signal extractor to pedestal events, because
128the calibration signal is usually large.
129
130In the case of the optimum filter, $R$ may be obtained from the
131fitted error of the extracted signal ($dQ_{fitted}$), which one can calculate
132for every event. Whether this statemebt is true should be checked by MC.
133For large signals I would expect the bias of the extracted to be small and
134negligible.
135
136A way to check whether the right RMS has been subtracted is to make the
137Razmick plot
138
139\begin{equation}
140 \frac{sig^2}{<Q>^2} \quad \textit{vs.} \quad \frac{1}{<Q>}
141\end{equation}
142
143This should give a straight line passing through the origin. The slope of
144the line is equal to
145
146\begin{equation}
147 c * F^2
148\end{equation}
149
150where $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:
Note: See TracBrowser for help on using the repository browser.