Index: /trunk/MagicDoku/strategy_mc_ana.tex
===================================================================
--- /trunk/MagicDoku/strategy_mc_ana.tex	(revision 770)
+++ /trunk/MagicDoku/strategy_mc_ana.tex	(revision 771)
@@ -2,4 +2,6 @@
 
 \usepackage{magic-tdas} 
+
+\setlength{\unitlength}{1.0cm}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %% BEGIN DOCUMENT
@@ -42,4 +44,109 @@
 \section{MC work}
 
+\subsection{Overview of the MC and analysis chain}
+
+After a few iterations to improve the programs in speed, 
+reliability, ... there is a sample of available programs 
+to simulate the behaviour of the MAGIC telescope. 
+Due to the big amount of diskspace needed for this simulation
+it was decided, that not only one program will generate 
+the MAGIC telescope, but a subsequent chain of different 
+programs. In figure \ref{MC_progs} you can see a overview of 
+the existing programs and their connections. 
+\begin{figure}[h]
+\setlength{\unitlength}{1.cm}
+  \begin{picture}(18.,12.)
+	\put (0., 0.){\framebox(18.,12.){}}
+
+	\put (1, 11.5){{\sl Air shower programs}}
+	\put (1., 10.){\framebox(3.,1.){MMCS}}
+	\put (2., 10.){\vector(0.,-1.){.9} }
+	\put (1., 8.){\framebox(3.,1.){reflector}}
+	\put (2., 8.){\vector(0.,-1.){.9}}
+
+	\put (6, 10.){{\sl star background programs}}
+	\put (6.,8.){\framebox(3.,1.){starfieldadder}}
+	\put (6., 8.){\line(0., -1.){1.5}}
+	\put (10.,8.){\framebox(3.,1.){starresponse}}
+	\put (10., 8.){\line(0., -1.){1.5}}
+	\put (10., 6.5){\vector(-1.,0.){6.} }
+
+	\put (1., 6.){\framebox(3.,1.){camera}}
+	\put (2., 6.){\vector(3.,-1.){5.} }
+
+	
+	
+	\put (14, 11.5){{\sl real data programs}}
+	\put (14, 8.){\framebox(3.,1.){MAGIC DAQ}}	
+	\put (15, 8.){\vector(0.,-1.){.9} }
+	\put (14, 6.){\framebox(3.,1.){MERPP}}	
+	\put (15., 6.){\vector(-3.,-1.){5.} }
+	
+	\put (8.75, 3.7){\oval(4.,1.)}	
+	\put (7., 3.5){MAGIC root file}	
+	\put (8., 3.2){\vector(0., -1.){1.0}}
+
+	\put (7, 1.){\framebox(3.,1.){MARS}}
+
+	\thicklines
+	\put (5., 11.){\line(0., -1.){6.5}}	
+	\put (13., 12.){\line(0., -1.){7.5}}	
+
+  \end{picture}  
+\caption{Overview of the existing programs in the MC of
+MAGIC.}
+\label{MC_progs} 
+\end{figure} 
+A detailed description of the properties of the different programs can be found
+in section \ref{sec_exist_progs}. 
+From that diagram you can see the following features of the simulation and
+analysis chain of MAGIC.  
+\begin{enumerate} 
+  \item The simulation of Air showers and the simulation of the night sky 
+	background (NSB) is seperated.  
+
+  \item The NSB is seperated in two parts, the contribution from the starfield
+	and from a diffuse part. 
+
+  \item To speed up the production the starresponse program creates a databases 
+	for stars of different magnitude. 
+
+  \item The join of air showers and NSB is done in the camera program. 
+
+  \item The analysis of MC \underline{and} real data will be done with only one program. 
+	This program is called MARS (Magic Analysis and Reconstruction Software). 
+	The output of the camera program from Monte Carlo data and the output of 
+	the MERPP (MERging and PreProcessing) program for the real data are the same. 
+	So there is no need to use different programs for the analysis. The file 
+	generated by this program used the root package from CERN for data storage. 
+\end{enumerate} 
+In this section we will only describe the usage of the Monte Carlo programs. The 
+descriptions of the MERPP and MARS can be found somewhere else\footnote{Look on the 
+MAGIC home page for more information.}. 
+
+\subsection{Existing programs} 
+\label{sec_exist_progs}
+\subsubsection{MMCS - Magic Monte Carlo Simulation} 
+\subsubsection{reflector                          } 
+\subsubsection{camera} 
+\subsubsection{starfieldadder}
+\subsubsection{starresponse}
+
+
+
+\subsection{What to do} 
+
+\begin{itemize} 
+  \item pedestal fluctuations
+  \item trigger
+  \item rates (1st level, 2nd level, .... ) 
+  \item discriminator thresholds
+  \item Xmax
+  \item collection area
+  \item $\gamma$/h-Seperation
+  \item magnetic field studies ($\phi$-dependence) 
+  \item rotating star field
+\end{itemize} 
+
 \end{document}
 %
