Index: trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc	(revision 4067)
+++ trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc	(revision 4068)
@@ -60,4 +60,6 @@
 #include "MExtractTime.h"
 #include "MExtractTimeFastSpline.h"
+#include "MFCosmics.h"
+#include "MContinue.h"
 #include "MFillH.h"
 #include "MCalibrate.h"
@@ -263,5 +265,7 @@
   fillcam.SetNameTab("Test");
 
-
+  MFCosmics cosmics;
+  MContinue cont(&cosmics);
+  
   tlist.AddToList(&read);
   tlist.AddToList(&apply);
@@ -269,12 +273,13 @@
   if (fExtractor)
     tlist.AddToList(fExtractor);
-    else
-    {
+  else
+  {
       *fLog << warn << GetDescriptor() 
             << ": No extractor has been chosen, take default MExtractSlidingWindow " << endl;
       tlist.AddToList(&extract2);
-    }
+  }
 
   //  if (TestBit(kEnableGraphicalOutput))
+  tlist.AddToList(&cont);
   tlist.AddToList(&fill);
   tlist.AddToList(&photcalc);
@@ -337,5 +342,5 @@
   *fLog << endl;
   
-  MArrivalTime  arrtime;
+  MArrivalTime     arrtime;
 
   // Setup Lists
@@ -357,5 +362,8 @@
   MGeomApply             apply; // Only necessary to craete geometry
   MExtractTimeFastSpline extract;
+  MExtractSlidingWindow  extcharge; // Only for the cosmics filter
   MCalibrateRelTimes     timecalc;
+  MFCosmics              cosmics;
+  MContinue              cont(&cosmics);
 
   MHCamEvent evt("ExtTimes");
@@ -371,12 +379,13 @@
   if (fTimeExtractor)
     tlist.AddToList(fTimeExtractor);
-    else
-    {
+  else
+  {
       *fLog << warn << GetDescriptor() 
             << ": No extractor has been chosen, take default MExtractTimeFastSpline " << endl;
       tlist.AddToList(&extract);
-    }
-
-  //  if (TestBit(kEnableGraphicalOutput))
+  }
+
+  tlist.AddToList(&extcharge);
+  tlist.AddToList(&cont);
   tlist.AddToList(&fill);
   tlist.AddToList(&timecalc);
