source: trunk/MagicSoft/TDAS-Extractor/Algorithms.tex@ 5259

Last change on this file since 5259 was 5252, checked in by gaug, 21 years ago
*** empty log message ***
File size: 7.6 KB
Line 
1\section{Signal Reconstruction Algorithms}
2
3\ldots {\it In this section, the extractors are described, especially w.r.t. which free parameters are left to play,
4how they subtract the pedestal, how they compare between calibration and cosmics pulses and how an
5extraction in case of a pure pedestal event takes place. }
6\newline
7\newline
8{\it Missing coding:
9\begin{itemize}
10\item Implementing a low-gain extraction based on the high-gain information \ldots Arnau
11\item Real fit to the expected pulse shape \ldots Hendrik, Wolfgang ???
12\end{itemize}
13}
14
15\subsection{Pure signal extractors}
16
17The pure signal extractors have in common that they compute only the
18signal, but no arrival time. All treated extractors here derive from the MARS-base
19class {\textit{MExtractor}} which provides the following facilities:
20
21\begin{itemize}
22\item The global extraction limits can be set from outside
23\item FADC saturation is kept track off
24\end{itemize}
25
26The following free adjustable parameters have to be set from outside:
27\begin{description}
28\item[Global extraction limits:\xspace] Limits in between the extractor is allowed
29to search.
30\end{description}
31
32\subsubsection{Fixed Window}
33
34This extractor is implemented in the MARS-class {\textit{MExtractFixedWindow}}.
35It simply adds the FADC contents in the allowed ranges.
36As it does not correct for the clock-noise, only an even number of samples is allowed.
37
38\subsubsection{Fixed Window with global Peak Search}
39
40This extractor is implemented in the MARS-class {\textit{MExtractFixedWindowPeakSearch}}.
41It first fixes a reference point defined as the highest sum of
42consecutive non-saturating FADC slices in a (smaller) peak-search window. This reference
43point removes the coherent movement of the arrival times over whole camera due to the trigger jitter.
44
45Then, simply adds the FADC contents around the reference point in a fixed window manner.
46It loops twice over the all pixels every event, because it first has to find the reference point.
47As it does not correct for the clock-noise, only an even number of samples is allowed.
48
49The following free adjustable parameters have to be set from outside:
50\begin{description}
51\item[Peak Search Window:\xspace] Defines the ``sliding window'' in which the peaking sum is
52searched for (default: 4 slices)
53\item[Offset from Window:\xspace] Defines the offset from the found reference point to start
54extracting the fixed window (default: 1 slice)
55\item[Low-Gain Peak shift:\xspace] Defines the shift in the low-gain with respect to the peak found
56in the high-gain (default: 1 slice)
57\end{description}
58
59\subsubsection{Fixed Window with integrated cubic spline}
60
61This extractor is implemented in the MARS-class {\textit{MExtractFixedWindowSpline}}.
62It uses a cubic spline algorithm, adapted from \cite{NumRec}. It integrated the
63spline interpolated FADC slice values, counting the edge slices as half.
64As it does not correct for the clock-noise, only an odd number of samples is allowed.
65
66\subsection{Combined extractors}
67
68The combined extractors have in common that they compute the arrival time and
69the signal in one step. All treated combined extractors here derive from the MARS-base
70class {\textit{MExtractTimeAndCharge}} which provides the following facilities:
71
72\begin{itemize}
73\item Only one loop over all pixels is performed
74\item The individual FADC slice values get the clock-noise-corrected pedestals immediately subtracted.
75\item The low-gain extraction range is adapted dynamically, based on the computed arrival time
76 from the high-gain samples
77\item Extracted times from the low-gain samples get corrected for the intrinsic time delay of the low-gain
78 pulse
79\item The global extraction limits can be set from outside
80\item FADC saturation is kept track off
81\end{itemize}
82
83The following free adjustable parameters have to be set from outside:
84\begin{description}
85\item[Global extraction limits:\xspace] Limits in between the extractor is allowed
86to search. They are fixed by the extractor for the high-gain, but re-adjusted for
87every event in the low-gain, depending on the arrival time found in the low-gain.
88However, the dynamically adjusted window is not allowed to pass beyond the global
89limits.
90\item[Low-gain start shift:\xspace] Global shift between the computed high-gain arrival
91time and the start of the low-gain extraction limit (corrected for the intrinsic time offset).
92This variable tells where the extractor is allowed to start searching for the low-gain signal
93if the high-gain arrival time is known. It avoids that the extractor gets confused by possible high-gain
94signals leaking into the ``low-gain'' region.
95\end{description}
96
97\ldots {\it Note for the usage of this class together with {\textit{MJCalibration}}: In order to access the
98arrival times computed by these classes, the option: MJCalibration::SetTimeAndCharge() has to
99be chosen} \ldots
100
101\subsubsection{Sliding Window with amplitude-weighted time}
102
103This extractor is implemented in the MARS-class {\textit{MExtractTimeAndChargeSlidingWindow}}.
104It extracts the signal from a sliding window of an adjustable size, for high-gain and low-gain
105individually (default: 6 and 6) The signal is the one which maximizes the summed
106(clock-noise and pedestal-corrected) FADC signal over the window.
107\par
108The amplitude-weighted arrival time is calculated from the window with
109the highest integral using the following formula:
110
111\begin{equation}
112 t = \frac{\sum_{i=0}^{windowsize} s_i \cdot i}{\sum_{i=0}^{windowsize} i}
113\end{equation}
114where $i$ denotes the FADC slice index, starting from the beginning of the derived
115window and running over the window and $s_i$ the clock-noise and
116pedestal-corrected FADC value at slice index i.
117\par
118The following free adjustable parameters have to be set from outside:
119\begin{description}
120\item[Window sizes:\xspace] Independenty for high-gain and low-gain (default: 6,6)
121\end{description}
122
123\subsubsection{Cubic Spline with Sliding Window or Amplitude extraction}
124
125This extractor is implemented in the MARS-class {\textit{MExtractTimeAndChargeSpline}}.
126It uses a cubic spline algorithm, adapted from \cite{NumRec}.
127The following free adjustable parameters have to be set from outside:
128
129\begin{description}
130\item[Time Extraction Type:\xspace] The position of the maximum can be chosen (default) or the
131position of the half maximum at the rising edge of the pulse
132\item[Charge Extraction Type:\xspace] The amplitude of the maximum can be chosen (default) or the
133integrated spline between maximum position minus rise time (default: 1.5 slices) and maximum position plus
134fall time (default: 4.5 slices). The low-gain signal integrates one slice more at the falling part of the
135signal.
136\item[Rise Time and Fall Time:\xspace] Can be adjusted for the integration charge extraction type.
137\item[Resolution:\xspace] Defined as the maximum allowed difference between the calculated half maximum value and
138the computed spline value at the arrival time position. Can be adjusted for the half-maximum time extraction
139type.
140\end{description}
141
142\subsubsection{Digital Filter}
143
144This extractor is implemented in the MARS-class {\textit{MExtractTimeAndChargeDigitalFilter}}.
145
146\ldots {\it Hendrik ... }
147
148The following free adjustable parameters have to be set from outside:
149
150\begin{description}
151\item[Weights File:\xspace]
152\item[Window Sizes:\xspace]
153\item[Binning Resolution:\xspace]
154\end{description}
155
156\subsubsection{Real fit to the expected pulse shape }
157
158This extractor is not yet implemented as MARS-class...
159\par
160It fit the pulse shape to a Landau convoluted with a Gaussian using the following
161parameters:...
162
163\ldots {\it Hendrik, Wolfgang ... }
164
165%References: \cite{OF77} \cite{OF94} \cite{NumRec}.
166
167
168%%% Local Variables:
169%%% mode: latex
170%%% TeX-master: "MAGIC_signal_reco"
171%%% End:
Note: See TracBrowser for help on using the repository browser.