Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 4217)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 4342)
@@ -171,75 +171,197 @@
 void MBadPixelsCam::Print(Option_t *o) const
 {
-    *fLog << all << GetDescriptor() << ":" << endl;
+  *fLog << all << GetDescriptor() << ":" << endl;
+  
+  *fLog << "Pixels without problems:" << endl;
+  *fLog << endl;
     
-    *fLog << "Pixels without problems:" << endl;
-    *fLog << endl;
-
-    Int_t count = 0;
-
-    for (Int_t i=0; i<GetSize(); i++)
-    {
-        if (!(*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun))
-        {
-            *fLog << i << " ";
-            count ++;
-        }
-
-        if (count == 0)
-            continue;
-
-        if (!(count % 25))
-            *fLog << endl;
-    }
-    *fLog << endl;
-    *fLog << count << " normal pixels :-))" << endl;
-    *fLog << endl;
-    count = 0;
-
-
-    *fLog << "Pixels unsuited for the whole run:" << endl;
-    *fLog << endl;
-
-    for (Int_t i=0; i<GetSize(); i++)
-    {
-        if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun))
-        {
-            *fLog << i << " ";
-            count ++;
-        }
-
-        if (count == 0)
-            continue;
-
-        if (!(count % 25))
-            *fLog << endl;
-    }
-    *fLog << endl;
-    *fLog << count << " unsuited pixels :-(" << endl;
-    *fLog << endl;
-
-    count = 0;
-
-    *fLog << all << "Pixels unreliable for the whole run:" << endl;
-    *fLog << all << endl;
-
-    for (Int_t i=0; i<GetSize(); i++)
-    {
-        if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnreliableRun))
-        {
-            *fLog << i << " ";
-            count ++;
-        }
-
-        if (count == 0)
-            continue;
-
-        if (!(count % 25))
-          *fLog << endl;
-    }
-
-    *fLog << endl;
-    *fLog << count << " unreliable pixels :-(" << endl;
-    *fLog << endl;
+  Int_t count = 0;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if (!(*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  *fLog << endl;
+  *fLog << count << " normal pixels :-))" << endl;
+  *fLog << endl;
+  count = 0;
+  
+  
+  *fLog << "Pixels unsuited for the whole run:" << endl;
+  *fLog << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  *fLog << endl;
+  *fLog << count << " unsuited pixels :-(" << endl;
+  *fLog << endl;
+  
+  count = 0;
+  
+  *fLog << all << "Pixels unreliable for the whole run:" << endl;
+  *fLog << all << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnreliableRun))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  
+  *fLog << endl;
+  *fLog << count << " unreliable pixels :-(" << endl;
+  *fLog << endl;
+
+  count = 0;
+  
+  *fLog << all << "Charge is Pedestal:" << endl;
+  *fLog << all << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUncalibrated(MBadPixelsPix::kChargeIsPedestal))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  
+  *fLog << endl;
+  *fLog << count << " ChargeIsPedestal :-(" << endl;
+  *fLog << endl;
+
+  count = 0;
+  
+  *fLog << all << "Charge Sigma not valid:" << endl;
+  *fLog << all << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  
+  *fLog << endl;
+  *fLog << count << " ChargeSigmaNotValid :-(" << endl;
+  *fLog << endl;
+
+  count = 0;
+  
+  *fLog << all << "Rel. Error Charge not valid:" << endl;
+  *fLog << all << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  
+  *fLog << endl;
+  *fLog << count << " ChargeRelErrNotValid :-(" << endl;
+  *fLog << endl;
+
+
+  count = 0;
+  
+  *fLog << all << " Deviating number photo-electrons:" << endl;
+  *fLog << all << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  
+  *fLog << endl;
+  *fLog << count << " DeviatingNumPhes :-(" << endl;
+  *fLog << endl;
+
+  count = 0;
+  
+  *fLog << all << " Deviating F-Factor:" << endl;
+  *fLog << all << endl;
+  
+  for (Int_t i=0; i<GetSize(); i++)
+    {
+      if ((*this)[i].IsUncalibrated(MBadPixelsPix::kDeviatingFFactor))
+        {
+          *fLog << i << " ";
+          count ++;
+        }
+      
+      if (count == 0)
+        continue;
+      
+      if (!(count % 25))
+        *fLog << endl;
+    }
+  
+  *fLog << endl;
+  *fLog << count << " DeviatingFFactor :-(" << endl;
+  *fLog << endl;
+
 }
 
