Index: trunk/MagicSoft/Mars/macros/dohtml.C
===================================================================
--- trunk/MagicSoft/Mars/macros/dohtml.C	(revision 749)
+++ trunk/MagicSoft/Mars/macros/dohtml.C	(revision 753)
@@ -8,8 +8,8 @@
   //   create the html document class
   //
-  THtml html;
+  MHtml html;
 
   html.SetOutputDir("htmldoc");
-  html.SetSourceDir(".:mbase:mraw:mgui:manalysis:mdatacheck:meventdisp:mmc");
+  html.SetSourceDir(".:mbase:mraw:mgui:manalysis:mdatacheck:mmain:meventdisp:mmc:mmontecarlo:mhist");
   html.SetXwho("http://hegra1.mppmu.mpg.de/MAGICWeb/collaborators.html?");
 
@@ -17,6 +17,11 @@
 
   html.SetSourceDir("macros");
-  html.Convert("merpp.C", "MARS - Merging and Preprocessing");
-  html.Convert("readraw.C", "MARS - How To Read A Raw");
-  html.Convert("rootlogon.C", "MARS - rootlogon.C");
+  html.Convert("merpp.C",       "MARS - Merging and Preprocessing");
+  html.Convert("readraw.C",     "MARS - How To Read A Raw");
+  html.Convert("rootlogon.C",   "MARS - rootlogon.C");
+  html.Convert("readCT1.C",     "MARS - Read and display CT1 Events");
+  html.Convert("readMagic.C",   "MARS - Read and display Magic Events");
+  html.Convert("CT1Hillas.C",   "MARS - Calculate CT1 Hillas");
+  html.Convert("MagicHillas.C", "MARS - Calculate Magic Hillas");
+  html.Convert("getCollArea.C", "MARS - Calculate Collection Area from a MC root file");
 }
Index: trunk/MagicSoft/Mars/macros/getCollArea.C
===================================================================
--- trunk/MagicSoft/Mars/macros/getCollArea.C	(revision 749)
+++ trunk/MagicSoft/Mars/macros/getCollArea.C	(revision 753)
@@ -1,37 +1,53 @@
 void getCollArea(char *filename = "/big0/Maggi/CamData/Gamma/gamma_15_on.root" ) 
 { 
-  
-  MParList  *parlist  = new MParList() ; 
-  MTaskList *tasklist = new MTaskList() ; 
-  
-  MMcEvt *mcEvt = new MMcEvt() ; 
-  parlist->AddToList( mcEvt ) ; 
+    // FIXME: Harald, you should tell the people what the result of
+    // this macro really is.
 
-  MMcTrig *McTrig = new MMcTrig() ; 
-  parlist->AddToList( McTrig ) ;
+    //
+    // first we have to create our empty lists
+    //
+    MParList  parlist;
+    MTaskList tasklist;
 
-  MCollArea *collArea = new MCollArea() ; 
-  parlist->AddToList( collArea ) ; 
+    //
+    // Setup the parameter list.
+    //  - we need to create MCollArea only. The other containers
+    //    are created automatically without loss - we don't have to
+    //    access them-
+    //  - MCollArea must be created by us because we need the pointer
+    //    to it and if it would get created automatically it would also be
+    //    deleted automatically
+    //
+    parlist.AddToList(&tasklist);
 
+    MCollArea *collArea = new MCollArea();
+    parlist.AddToList(collArea);
 
-  MReadTree reader( "Events", filename) ;
-  tasklist->AddToList( &reader ) ; 
+    //
+    // Setup out tasks:
+    //  - First we have to read the events
+    //  - Then we can fill the efficiency histograms
+    //
+    MReadTree reader("Events", filename);
+    tasklist.AddToList(&reader);
 
-  MCollAreaTrigger  effi ; 
-  tasklist->AddToList( &effi) ; 
-  
-  parlist.AddToList( tasklist);
+    MCollAreaTrigger effi;
+    tasklist.AddToList(&effi);
 
-  tasklist->Print() ; 
+    //
+    // set up the loop for the processing
+    //
+    MEvtLoop magic;
+    magic.SetParList(&parlist);
 
-  //    set up the loop for the processing 
-  
-  MEvtLoop magic;
-  magic.SetParList( parlist );
+    //
+    // Start to loop over all events
+    //
+    magic.Eventloop();
 
-
-  magic.Eventloop() ; 
-
-  collArea->Draw() ; 
-  
+    //
+    // Now the histogram we wanted to get out of the data is
+    // filled and can be displayd
+    //
+    collArea->Draw();
 }
Index: trunk/MagicSoft/Mars/macros/readCT1.C
===================================================================
--- trunk/MagicSoft/Mars/macros/readCT1.C	(revision 749)
+++ trunk/MagicSoft/Mars/macros/readCT1.C	(revision 753)
@@ -34,5 +34,5 @@
     while (read.Process())
     {
-        cout << "Event: " << icount++  << endl  ;
+        cout << "Event: " << icount++  << endl;
 
         display.DrawPhotNum(&phevt);
