Index: fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
===================================================================
--- fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C	(revision 13540)
+++ fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C	(revision 13541)
@@ -191,5 +191,5 @@
         const char*     drsfilename         = "/fact/raw/2011/11/09/20111109_003.drs.fits.gz",
         const char*     OutRootFileName     = "test.root",
-        bool            ProduceGraphic      = true,
+        bool            ProduceGraphic      = false,
         bool            spikeDebug          = false,
         bool            debugPixel          = false,
@@ -200,5 +200,5 @@
         int             nevents             = 100,
         int             firstpixel          = 0,
-        int             npixel              = 1000,
+        int             npixel              = -1,
         int             sampleSetSize       = 40,
         int             maxPulseOrder       = 3,
@@ -878,8 +878,7 @@
             }
             for ( int pos = EdgeLeft; pos < EdgeRight; pos++){
-//                cout << endl << "###filling edge histo###" << endl;
                 CurrentPixel->hEdgeOverlay[order_of_pulse]->Fill( pos - (reg->halfRisingEdgePos), Ameas[pos]) ;
                 CurrentPixel->hEdgeProfile[order_of_pulse]->Fill( pos - (reg->halfRisingEdgePos), Ameas[pos]) ;
-//                cout << endl << "######" << endl;
+
             }
             if (verbosityLevel > 2) cout << "...done" << endl;
