Index: trunk/MagicSoft/Mars/macros/pedphotcalc.C
===================================================================
--- trunk/MagicSoft/Mars/macros/pedphotcalc.C	(revision 3187)
+++ trunk/MagicSoft/Mars/macros/pedphotcalc.C	(revision 3188)
@@ -124,4 +124,11 @@
   MCalibrationCalc     calcalc;
   
+  // 
+  // Apply a filter against cosmics
+  // (was directly in MCalibrationCalc in earlier versions)
+  //
+  MFCosmics            cosmics;
+  MContinue            cont(&cosmics);
+
   //
   // As long as we don't have digital modules, 
@@ -133,4 +140,10 @@
   tlist2.AddToList(&geomapl);
   tlist2.AddToList(&sigcalc);
+  //
+  // In case, you want to skip the cosmics rejection, 
+  // uncomment the next line
+  //
+  tlist2.AddToList(&cont);
+  //
   tlist2.AddToList(&calcalc);
   
