Index: trunk/Mars/manalysis/MSoftwareTrigger.cc
===================================================================
--- trunk/Mars/manalysis/MSoftwareTrigger.cc	(revision 18477)
+++ trunk/Mars/manalysis/MSoftwareTrigger.cc	(revision 18478)
@@ -90,4 +90,5 @@
 Bool_t MSoftwareTrigger::ReInit(MParList *pList)
 {
+    // FIXME: Check number of samples!
     return kTRUE;
 }
@@ -133,5 +134,5 @@
     // apply correction factor for patches
     // 927/9, 80/9, 873/9, 863/9, 297/9, 868/9
-
+/*
     const int excl[] = { 8, 33, 95, 96, 97, 103, -1};
     for (const int *e=excl; *e>=0; e++)
@@ -151,5 +152,5 @@
             *ptr *= 2.25;  // 9/4 // 4 channels left
     }
-
+*/
 
     Float_t max = 0;
@@ -157,5 +158,5 @@
 
     const UInt_t nsum = buf.GetSize();
-    for (Float_t *sum=buf.GetArray(); sum<sum+nsum; sum+=num)
+    for (Float_t *sum=buf.GetArray(); sum<buf.GetArray()+nsum; sum+=num)
     {
         int idx = 0;
