Index: trunk/MagicSoft/TDAS-Extractor/Pedestal.tex
===================================================================
--- trunk/MagicSoft/TDAS-Extractor/Pedestal.tex	(revision 6285)
+++ trunk/MagicSoft/TDAS-Extractor/Pedestal.tex	(revision 6286)
@@ -1,3 +1,3 @@
-\section{Criteria for an Optimal Pedestal Extraction \label{sec:pedestals}}
+\section{Pedestal Extraction \label{sec:pedestals}}
 
 \ldots {\it In this section, the distinction is made between: 
@@ -23,5 +23,4 @@
 (eq.~\ref{eq:autocorr}), 
 where the diagonal elements give what is usually denoted as the ``Pedestal RMS''. 
-
 \par
 
@@ -63,7 +62,4 @@
 For the normal image cleaning, knowledge of $B$ is sufficient and the 
 error $R$ should be known in order to calculate a correct background probability.
-
-\par
-\ldots {\textit{\bf THOMAS SCHWEIZER ???}}
 \par
 Also for the model analysis $B$ and $R$ are needed if one wants to keep small
@@ -131,14 +127,16 @@
 \end{enumerate}
 
-\subsubsection{ \label{sec:determiner} Determine $R$ by Applying the Signal Extractor to a Fixed Window
+\subsubsection{ \label{sec:determiner} Application of the Signal Extractor to a Fixed Window
 of Pedestal Events}
 
 By applying the signal extractor to a fixed window of pedestal events, we 
-determined the parameter $R$ for the case of no signal ($ST = 0$). In the case of 
+determine the parameter $R$ for the case of no signal ($ST = 0$). In the case of 
 all extractors using a fixed window from the beginning (extractors nr. \#1 to \#22 
-in section~\ref{sec:algorithms}), the results are thus by construction the same as calculating 
+in section~\ref{sec:algorithms}), the results are thus the same by construction as calculating 
 the mean and the RMS of a same (fixed) number of FADC slices (the conventional ``Pedestal 
 Calculation'').
-
+\par
+In MARS, this possibility is implemented with a function-call to 
+{\textit{\bf MJPedestal::SetExtractionWithExtractorRndm()}}. 
 \par
 In the case of the amplitude extracting spline (extractor nr. \#23), we placed the 
@@ -155,5 +153,5 @@
 \begin{enumerate}
 \item Closed camera and no (Poissonian) fluctuation due to photons from the night sky background
-\item The camera pointing to a galactic region with stars in the field of view
+\item The camera pointing to an extra-galactic region with stars in the field of view
 \item The camera illuminated by a continuous light source of high intensity causing much higher pedestal 
 fluctuations than in usual observation conditions.
@@ -199,5 +197,6 @@
 \vspace{\floatsep}
 \includegraphics[height=0.29\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_00_18_02_14_Run_38995_Signal_Pixel200.eps}
-\caption{MExtractTimeAndChargeDigitalFilter: Distribution of extracted "pedestals"  from pedestal run with galactic star background for one channel.}
+\caption{MExtractTimeAndChargeDigitalFilter: Distribution of extracted "pedestals"  from pedestal run with 
+extra-galactic star background for one channel.}
 \label{fig:df:distped:run38995}
 \vspace{\floatsep}
@@ -217,5 +216,5 @@
 \includegraphics[height=0.27\textheight]{MExtractTimeAndChargeDigitalFilter_Weights_cosmics_weights.dat_Range_01_14_02_14_Run_38995_RelMean.eps}
 \caption{MExtractTimeAndChargeDigitalFilter: Difference in mean pedestal (per FADC slice) from pedestal 
-run with galactic star background (in photo-electrons)}
+run with extra-galactic star background (in photo-electrons)}
 \label{fig:df:relmean:run38995}
 \vspace{\floatsep}
@@ -239,5 +238,5 @@
 \caption{MExtractTimeAndChargeDigitalFilter:  Difference pedestal RMS (per FADC slice)  with extraction algorithm
 appied on a fixed window, and simply summing up the same number of FADC slices. 
- from pedestal run with galactic star background for inner (left) 
+ from pedestal run with extra-galactic star background for inner (left) 
 and outer (right) pixels. }
 \label{fig:df:relrms:run38995}
@@ -261,5 +260,5 @@
 \includegraphics[height=0.29\textheight]{MExtractTimeAndChargeSpline_Amplitude_Range_00_10_04_11_Run_38995_Signal_Pixel200.eps}
 \caption{MExtractTimeAndChargeSpline with amplitude: Distribution of extracted "pedestals"  from pedestal run 
-with galactic star background for one channel.}
+with extra-galactic star background for one channel.}
 \label{fig:amp:distped:run38995}
 \vspace{\floatsep}
@@ -281,5 +280,5 @@
 \caption{MExtractTimeAndChargeSpline with amplitude: Difference in mean pedestal (per FADC slice)  with extraction algorithm
 appied on a fixed window, and simply summing up the same number of FADC slices
-Pedestal run with galactic star background.}
+Pedestal run with extra-galactic star background.}
 \label{fig:amp:relmean:run38995}
 \vspace{\floatsep}
@@ -304,5 +303,5 @@
 \caption{MExtractTimeAndChargeSpline with amplitude:  Difference pedestal RMS (per FADC slice)  with extraction 
 algorithm appied on a fixed window, and simply summing up the same number of FADC slices.
-Pedestal run with galactic star background for inner (left) 
+Pedestal run with extra-galactic star background for inner (left) 
 and outer (right) pixels.}
 \label{fig:amp:relrms:run38995}
@@ -327,5 +326,5 @@
 \includegraphics[height=0.27\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RelMean.eps}
 \caption{MExtractTimeAndChargeSpline with integral over 2 slices: Difference in mean pedestal (per FADC slice) 
-Pedestal run with galactic star background.}
+Pedestal run with extra-galactic star background.}
 \label{fig:int:relmean:run38995}
 \vspace{\floatsep}
@@ -346,5 +345,5 @@
 \includegraphics[height=0.25\textheight]{MExtractTimeAndChargeSpline_Rise-and-Fall-Time_0.5_1.5_Range_01_10_02_12_Run_38995_RMSDiff.eps}
 \caption{MExtractTimeAndChargeSpline with integral over 2 slices:  Difference pedestal RMS (per FADC slice) 
-  from pedestal run with galactic star background for inner (left) 
+  from pedestal run with extra-galactic star background for inner (left) 
 and outer (right) pixels  (in photo-electrons).}
 \label{fig:amp:relrms:run38995}
@@ -358,15 +357,36 @@
 
 
+\subsubsection{ \label{sec:determiner} Application of the Signal Extractor to a Sliding Window
+of Pedestal Events}
+
+By applying the signal extractor to a sliding window of pedestal events, we 
+determine the bias $B$ and the error $R$. 
+\par
+In MARS, this possibility is implemented with a function-call to 
+{\textit{\bf MJPedestal::SetExtractionWithExtractor()}}. 
+
+\begin{figure}[htp]
+\centering
+\includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run38995.eps}
+\caption{MExtractTimeAndChargeDigitalFilter: Fit to the ratio of the area beneath the pedestal peak and 
+the single photo-electron(s) peak(s) with extraction algorithm
+applied on a sliding window of different sizes.
+A pedestal run with extra-galactic star background has been taken and one exemplary pixel (Nr. 100).
+A rate of 0.07 phe/ns has been obtained.}
+\label{fig:df:ratiofit:run38995}
+\vspace{\floatsep}
+\includegraphics[height=0.4\textheight]{SinglePheRatio-28-Run39258.eps}
+\caption{MExtractTimeAndChargeDigitalFilter: Fit to the ratio of the area beneath the pedestal peak and 
+the single photo-electron(s) peak(s) with extraction algorithm
+applied on a sliding window of different sizes.
+A pedestal run with galactic star background has been taken and one exemplary pixel (Nr. 100).
+A rate of 0.09 phe/ns has been obtained.}
+\label{fig:df:ratiofit:run39258}
+\end{figure}
+
+
 
 %%% Local Variables: 
 %%% mode: latex
 %%% TeX-master: "MAGIC_signal_reco"
-%%% TeX-master: "MAGIC_signal_reco"
-%%% TeX-master: "MAGIC_signal_reco"
-%%% TeX-master: "MAGIC_signal_reco."
-%%% TeX-master: "MAGIC_signal_reco"
-%%% TeX-master: "Pedestal"
-%%% TeX-master: "MAGIC_signal_reco"
-%%% TeX-master: "MAGIC_signal_reco."
-%%% TeX-master: "MAGIC_signal_reco"
 %%% End: 
