Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8217)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8218)
@@ -18,4 +18,17 @@
 
                                                  -*-*- END OF LINE -*-*-
+ 2006/12/11 Thomas Bretz
+
+   * mbase/MParContainer.cc, mbase/MParList.cc:
+     - some improvements to log-output
+
+   * mextralgo/MExtralgoDigitalFilter.cc:
+     - default for "out-of-range" is now -2
+
+   * mpedestal/MHPedestalCor.cc:
+     - small fix (the used range was one slice to brought)
+
+
+
  2006/12/04 Thomas Bretz
 
Index: trunk/MagicSoft/Mars/mbase/MParContainer.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MParContainer.cc	(revision 8217)
+++ trunk/MagicSoft/Mars/mbase/MParContainer.cc	(revision 8218)
@@ -572,6 +572,6 @@
     {
         *fLog << err;
-        *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': ";
-        *fLog << " - Class " << cls->GetName() << " doesn't inherit from " << base << endl;
+        *fLog << dbginf << GetDescriptor() << "Cannot create new instance of class '" << name << "': " << endl;
+        *fLog << "Class " << cls->GetName() << " doesn't inherit from " << base << endl;
         return NULL;
     }
@@ -584,5 +584,5 @@
     {
         *fLog << err;
-        *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': ";
+        *fLog << dbginf << GetDescriptor() << " - Cannot create new instance of class '" << name << "': " << endl;
         *fLog << " - Class " << cls->GetName() << " has no default constructor." << endl;
         *fLog << " - An abstract member functions of a base class is not overwritten." << endl;
Index: trunk/MagicSoft/Mars/mbase/MParList.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MParList.cc	(revision 8217)
+++ trunk/MagicSoft/Mars/mbase/MParList.cc	(revision 8218)
@@ -594,5 +594,6 @@
     if (!cls->InheritsFrom(MParContainer::Class()))
     {
-        *fLog << " - Class doesn't inherit from MParContainer." << endl;
+        *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "': " << endl;
+        *fLog << "Class doesn't inherit from MParContainer." << endl;
         return NULL;
     }
@@ -604,4 +605,5 @@
     if (!pcont)
     {
+        *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "': " << endl;
         *fLog << " - Class has no default constructor." << endl;
         *fLog << " - An abstract member functions of a base class is not overwritten." << endl;
Index: trunk/MagicSoft/Mars/mextralgo/MExtralgoDigitalFilter.cc
===================================================================
--- trunk/MagicSoft/Mars/mextralgo/MExtralgoDigitalFilter.cc	(revision 8217)
+++ trunk/MagicSoft/Mars/mextralgo/MExtralgoDigitalFilter.cc	(revision 8218)
@@ -138,5 +138,5 @@
 {
     fSignal    =  0; // default is: no pulse found
-    fTime      = -1; // default is: out if range (--> random)
+    fTime      = -2; // default is: out if range (--> random)
     fSignalDev =  0; // default is: valid
     fTimeDev   =  0; // default is: valid
Index: trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc
===================================================================
--- trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc	(revision 8217)
+++ trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc	(revision 8218)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.1 2006-10-24 08:09:26 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.2 2006-12-11 11:43:32 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -96,5 +96,5 @@
 
     MBinning binsx(15, -0.5, 14.5);
-    MH::SetBinning(&fProf,  &binsx);
+    MH::SetBinning(&fProf, &binsx);
 }
 
@@ -119,8 +119,8 @@
 
     Int_t fCheckWinFirst = 0;
-    Int_t fCheckWinLast  = (ns-1)+1;
+    Int_t fCheckWinLast  = ns;
 
     Int_t fExtractWinFirst = 17;
-    Int_t fExtractWinLast  = (ns-1)+1;
+    Int_t fExtractWinLast  = ns;
 
     Float_t fMaxSignalVar = 40;
@@ -135,5 +135,5 @@
 
         // Find the maximum and minimum signal per slice in the high gain window
-        for (Byte_t *slice=slices+fCheckWinFirst; slice<=slices+fCheckWinLast; slice++)
+        for (Byte_t *slice=slices+fCheckWinFirst; slice<slices+fCheckWinLast; slice++)
         {
             if (*slice > max)
@@ -227,5 +227,5 @@
     pad->SetFrameBorderMode(0);
 
-    pad->Divide(2, 2, 0.001, 0.001);
+    //pad->Divide(2, 2, 0.001, 0.001);
 
     AppendPad();
@@ -253,4 +253,5 @@
 
     pad->cd(4);*/
+
     gPad->SetBorderMode(0);
     gPad->SetFrameBorderMode(0);
