Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3958)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3959)
@@ -60,5 +60,7 @@
      - put one initialization to 0 into the MExtractor
 
-
+   * mastro/MAstroCatalog.h
+     - make AlignCoordinates() protected, in order to compile
+ 
  2004/05/03: Thomas Bretz
 
Index: /trunk/MagicSoft/Mars/mastro/MAstroCatalog.h
===================================================================
--- /trunk/MagicSoft/Mars/mastro/MAstroCatalog.h	(revision 3958)
+++ /trunk/MagicSoft/Mars/mastro/MAstroCatalog.h	(revision 3959)
@@ -91,5 +91,4 @@
     Bool_t    DrawLine(const TVector2 &v0, Double_t dx, Double_t dy, const TRotation &rot, Int_t type);
     void      DrawGrid(const TVector3 &v0, const TRotation &rot, Int_t type);
-    TRotation AlignCoordinates(const TVector3 &v) const;
     void      Paint(Option_t *o="");
     Int_t     DistancetoPrimitive(Int_t px, Int_t py);
@@ -137,4 +136,5 @@
     MTime        *fTime;        // Possible observation time
 
+    TRotation AlignCoordinates(const TVector3 &v) const;
     virtual TString GetPadTitle() const;
     TRotation GetGrid(Bool_t local);
Index: /trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc
===================================================================
--- /trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc	(revision 3958)
+++ /trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc	(revision 3959)
@@ -175,7 +175,4 @@
   Byte_t *end = ptr + fHiGainLast - fHiGainFirst + 1;
   
-  sum = 0;
-  sat = 0;
-  
   while (ptr<end)
     {
@@ -207,4 +204,6 @@
 // - Sum up contents of *ptr
 // - If *ptr is greater than fSaturationLimit, raise sat by 1
+// - If fHiLoLast is set, loop from logain to (logain+fHiLoLast)
+// - Add contents of *logain to sum
 // 
 void MExtractFixedWindow::FindSignalLoGain(Byte_t *ptr, Int_t &sum, Byte_t &sat) const
@@ -212,7 +211,4 @@
 
   Byte_t *end = ptr + fLoGainLast - fLoGainFirst + 1;
-  
-  sum = 0;
-  sat = 0;
   
   while (ptr<end)
