Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.cc	(revision 8132)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.cc	(revision 8140)
@@ -234,5 +234,5 @@
   return static_cast<MBadPixelsCam*>(i==-1 ? fCams->Last() : fCams->At(i));
 }
-
+/*
 // --------------------------------------------------------------------------
 //
@@ -252,5 +252,5 @@
   return static_cast<MBadPixelsCam*>(fCams->FindObject(name));
 }
-
+*/
 // --------------------------------------------------------------------------
 //
Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.h
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.h	(revision 8132)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.h	(revision 8140)
@@ -15,7 +15,11 @@
 #endif
 
-class TOrdCollection;
+#ifndef ROOT_TOrdCollection
+#include <TOrdCollection.h>
+#endif
+
 class TGraph;
 class MHCamera;
+
 class MBadPixelsIntensityCam : public MParContainer, public MCamEvent
 {
@@ -42,7 +46,12 @@
         MBadPixelsCam *GetCam     ( Int_t i=-1);
   const MBadPixelsCam *GetCam     ( Int_t i=-1) const;
-
+  /*
         MBadPixelsCam *GetCam     ( const char *name );
   const MBadPixelsCam *GetCam     ( const char *name ) const;
+  */
+
+  // The "DeleteOldCam" function must not delete the first entry in
+  // the array because it is a special cam from the MParList. (see above)
+  void DeleteOldCam(MBadPixelsCam *cam) {/* if (fCams->IndexOf(cam)>0) delete fCams->Remove(cam);*/ }
 
         MBadPixelsPix &operator[] ( Int_t i );
