Index: trunk/MagicSoft/Mars/macros/readCT1.C
===================================================================
--- trunk/MagicSoft/Mars/macros/readCT1.C	(revision 1058)
+++ trunk/MagicSoft/Mars/macros/readCT1.C	(revision 1076)
@@ -37,8 +37,10 @@
 
     MCT1ReadAscii read("/home/tbretz/data/CT1_97_off1.dat");
+    MClone        clone("MCerPhotEvt");
     MImgCleanStd  clean;
     MHillasCalc   hcalc;
 
     tlist.AddToList(&read);
+    tlist.AddToList(&clone);
     tlist.AddToList(&clean);
     tlist.AddToList(&hcalc);
@@ -50,32 +52,20 @@
         return;
 
-    MCerPhotEvt &phevt = *(MCerPhotEvt*)plist->FindObject("MCerPhotEvt");
-
     Int_t icount = 0;
     MCamDisplay display(&geomcam);
     display.Draw();
 
-    while (read.Process())
+    while (tlist.Process())
     {
-        cout << "Event: " << icount++  << endl;
-        hillas.Reset();
+        cout << "Event #" << icount++ << endl;
 
-        display.DrawPhotNum(&phevt);
+        display.DrawPhotNum((MCerPhotEvt*)clone.GetClone());
         gClient->HandleInput();
         if(getchar()=='q')
             break;
 
-        clean.Process();
-
-        if (hcalc.Process()==kCONTINUE)
-        {
-            cout << "skipped." << endl;
-            continue;
-        }
-
         hillas.Print();
         hillas.Draw();
-
-        display.DrawPhotNum(&phevt);
+        display.DrawPhotNum((MCerPhotEvt*)plist.FindObject("MCerPhotEvt"));
 
         gClient->HandleInput();
Index: trunk/MagicSoft/Mars/macros/readMagic.C
===================================================================
--- trunk/MagicSoft/Mars/macros/readMagic.C	(revision 1058)
+++ trunk/MagicSoft/Mars/macros/readMagic.C	(revision 1076)
@@ -40,4 +40,5 @@
     MReadTree    read("Events", "~/data/camera.root");
     MCerPhotCalc ncalc;
+    MClone       clone("MCerPhotEvt");
     MImgCleanStd clean;
     MHillasCalc  hcalc;
@@ -45,4 +46,5 @@
     tlist.AddToList(&read);
     tlist.AddToList(&ncalc);
+    tlist.AddToList(&clone);
     tlist.AddToList(&clean);
     tlist.AddToList(&hcalc);
@@ -54,29 +56,19 @@
         return;
 
-    MCerPhotEvt &phevt = *(MCerPhotEvt*)plist.FindObject("MCerPhotEvt");
-
     MCamDisplay display(&geomcam);
     display.Draw();
 
-    while (read.Process())
+    while (tlist.Process())
     {
-        cout << "Event #" << read.GetEventNum() ":" << endl;
-        hillas.Reset();
-        phevt.Reset();
+        cout << "Event #" << read.GetEventNum() << endl;
 
-        ncalc.Process();
-
-        display.DrawPhotNum(&phevt);
+        display.DrawPhotNum((MCerPhotEvt*)clone.GetClone());
         gClient->HandleInput();
         if(getchar()=='q')
             break;
 
-        clean.Process();
-        hcalc.Process();
-
         hillas.Print();
         hillas.Draw();
-
-        display.DrawPhotNum(&phevt);
+        display.DrawPhotNum((MCerPhotEvt*)plist.FindObject("MCerPhotEvt"));
 
         gClient->HandleInput();
