Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3438)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3439)
@@ -4,4 +4,9 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+2004/03/08: Abelardo Moralejo
+  * macros/starmstereo.C
+    - adapted to m. Gaug's changes: now one MBadPixelsCam containers is 
+      added for each telescope to the parameter list.
 
 2004/03/06: Markus Gaug
Index: /trunk/MagicSoft/Mars/macros/starmcstereo.C
===================================================================
--- /trunk/MagicSoft/Mars/macros/starmcstereo.C	(revision 3438)
+++ /trunk/MagicSoft/Mars/macros/starmcstereo.C	(revision 3439)
@@ -46,5 +46,5 @@
 //
 
-void starmcstereo(Int_t ct1 = 1, Int_t ct2 = 2)
+void starmcstereo(Int_t ct1 = 2, Int_t ct2 = 5)
 {
   if (ct1 > sizeof(ctx)/sizeof(ctx[0]) || 
@@ -61,5 +61,5 @@
   // ------------- user change -----------------
 
-  Char_t* AnalysisFilename = "G_XX_*_w0.root";  // File to be analyzed
+  Char_t* AnalysisFilename = "gam-yXX-00001.root";  // File to be analyzed
   Char_t* OutFileTag      = "gammas";           // Output file tag
 
@@ -86,17 +86,20 @@
   plist.AddToList(&tlist);
 
-  TString s = " MSrcPosCam;";
-  s += CT[0];
-  MSrcPosCam src1(s);
-  src1.SetReadyToSave();
-  plist.AddToList(&src1);
-
-  if (NCTs==2)
-    {
-      s = " MSrcPosCam;";
-      s += CT[1];
-      MSrcPosCam src2(s);
-      src2.SetReadyToSave();
-      plist.AddToList(&src2);
+  MSrcPosCam src[NCTs];
+  MBadPixelsCam badpix[NCTs];
+
+  for (Int_t ict = 0; ict < NCTs; ict++)
+    {
+      TString s = "MSrcPosCam;";
+      s += CT[ict];
+      src[ict].SetName(s);
+      src[ict].SetReadyToSave();
+      plist.AddToList(&(src[ict]));
+
+      TString b = "MBadPixelsCam;";
+      b += CT[ict];
+      badpix[ict].SetName(b);
+      badpix[ict].SetReadyToSave();
+      plist.AddToList(&(badpix[ict]));
     }
   //
