Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 2477)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 2478)
@@ -1,3 +1,9 @@
                                                  -*-*- END OF LINE -*-*-
+
+  2003/11/06: Antonio Stamerra
+
+   * manalysis/MMcTriggerLvl2.cc
+     - Removed annoying warning message and put it in the Print method.
+
 
   2003/11/05: Wolfgang Wittek
Index: /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc	(revision 2477)
+++ /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc	(revision 2478)
@@ -165,4 +165,8 @@
 //     all the pixels in all the trigger cells
 //
+// "check"
+//     Print a warning message when no starting pixel is found in the 
+//     CalcPseudoSize method.
+//
 //  no option:
 //     Print the value of the selection parameters
@@ -197,4 +201,10 @@
 	  *fLog << endl;
 	}
+    }
+  else if (str.Contains("check", TString::kIgnoreCase)) 
+    {
+      // check when no starting pixels was found (<<--to be fixed)
+      if (fPseudoSize < 0)
+	*fLog << "  Warning: starting pixel not found. Pseudosize set to -1." << endl;
     }
   else 
@@ -663,6 +673,6 @@
       if (check > 36)
 	{   
-	   *fLog <<"Error: a starting pixels was not found! - PseudoSize = "<< fPseudoSize << endl;
-	  fPseudoSize=0;
+	  //	   *fLog <<"Warning: a starting pixel was not found! - PseudoSize = "<< fPseudoSize << endl;
+	  fPseudoSize=-1;
 	  return;
 	}
@@ -766,5 +776,5 @@
 void MMcTriggerLvl2::GetEnergy(MMcEvt *fMcEvt)
 {
-  const MMcEvt &h = *(MMcEvt *)fMcEvt;
+  const MMcEvt &h = *(MMcEvt *)fMcEvt; 
   fEnergy = h.GetEnergy();
 }
@@ -777,5 +787,7 @@
 //   x-1 triggered neighbor pixels.  
 //   The variable fTriggerPattern = x is computed
-//   (x= 3,4,5,6,7)  
+//   (x= 2,3,4,5,6,7)  
+//
+//   x=2   * *
 //
 //   x=3   * *
@@ -807,5 +819,6 @@
       // If a x-NN pattern exists then a pixel must have 
       // at least x-1 adjacent neighbors (look at patterns)
-      // For each triggered pixel the number of adjacent triggered pixels is counted.
+      // For each triggered pixel the number of adjacent triggered pixels 
+      // is counted.
       //
       int j=1;
