Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 4121)
+++ trunk/MagicSoft/Mars/Changelog	(revision 4122)
@@ -25,4 +25,8 @@
        the need for three times more memory during runtime than now. It 
        should not affect the current macros.
+
+   * macros/calibration.C
+     - added a debug switch with which you can print out Object
+       Allocation (like suggested by TBretz).
 
 
Index: trunk/MagicSoft/Mars/macros/calibration.C
===================================================================
--- trunk/MagicSoft/Mars/macros/calibration.C	(revision 4121)
+++ trunk/MagicSoft/Mars/macros/calibration.C	(revision 4122)
@@ -65,9 +65,9 @@
 // the default pedestal run for the calibration
 //
-static const Int_t   pedrun  = 13426;
+static const Int_t   pedrun  = 26210;
 //
 // the default start calibration run 
 //
-static const Int_t   calrun1 = 16744;
+static const Int_t   calrun1 = 26209;
 //
 // the default last calibration run (if 0, only one run is taken, otherwise consecutive runs 
@@ -75,8 +75,14 @@
 //
 static const Int_t calrun2 = 0;
-
+//
+// A switch to output debugging information about Objects use
+//
+static const Bool_t debug = kFALSE;
+//
 void calibration(const Int_t prun=pedrun, const Int_t crun1=calrun1, const Int_t crun2=calrun2)
 {
 
+
+  TObject::SetObjectStat(kTRUE);
 
   //
@@ -172,9 +178,5 @@
   calloop.SetBadPixels(pedloop.GetBadPixels());
 
-//  TObject::SetObjectStat(kTRUE);
-
   calloop.Process(pedloop.GetPedestalCam());
-
-//  gObjectTable->Print();
 
   /********************************************************************/
@@ -193,5 +195,12 @@
   if (useTimes)
       testloop.ProcessT(pedloop.GetPedestalCam(),calloop.GetRelTimeCam());
-  
+
+  TObject::SetObjectStat(kFALSE);
+  //
+  // List of useful containers:
+  // 
+  if (debug)
+    gObjectTable->Print();
+
   //
   // List of useful containers:
