Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 5560)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 5561)
@@ -38,5 +38,6 @@
      - do not allow 'wrong' time&charge calibration (without
        extractors cam)
-
+     - removed kTimeAndCharge flag because it is obsolete (nowhere used)
+       and not correctly handled at all
 
 
Index: /trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjobs/MJCalibration.cc	(revision 5560)
+++ /trunk/MagicSoft/Mars/mjobs/MJCalibration.cc	(revision 5561)
@@ -1672,5 +1672,4 @@
     if (fExtractor->InheritsFrom("MExtractTimeAndCharge"))
     {
-        SetTimeAndCharge();
         if (fExtractorCam.GetSize() == pedcam.GetSize())
             calcalc.SetPedestals(&fExtractorCam);
@@ -1714,11 +1713,11 @@
 
     MTaskEnv taskenv2("ExtractTime");
-    if (!IsTimeAndCharge())
-      {
+    if (!fExtractor->InheritsFrom("MExtractTimeAndCharge"))
+    {
         taskenv2.SetDefault(fTimeExtractor);
     
         if (IsRelTimes())
           tlist.AddToList(&taskenv2);
-      }
+    }
     
     //
Index: /trunk/MagicSoft/Mars/mjobs/MJCalibration.h
===================================================================
--- /trunk/MagicSoft/Mars/mjobs/MJCalibration.h	(revision 5560)
+++ /trunk/MagicSoft/Mars/mjobs/MJCalibration.h	(revision 5561)
@@ -130,5 +130,5 @@
   Byte_t fStorage;                                     // Bit-field for chosen storage type
 
-  enum { kRelTimes, kDataCheck, kDebug, kIntensity, kTimeAndCharge };  // Possible flags
+  enum { kRelTimes, kDataCheck, kDebug, kIntensity };  // Possible flags
 
   Byte_t fFlags;                                       // Bit-field for the flags
@@ -143,12 +143,7 @@
   Bool_t IsDebug        () const { return TESTBIT(fFlags,kDebug);          }
   Bool_t IsIntensity    () const { return TESTBIT(fFlags,kIntensity);      }
-  Bool_t IsTimeAndCharge() const { return TESTBIT(fFlags,kTimeAndCharge);  }  
 
   Bool_t IsNoStorage    () const { return TESTBIT(fStorage,kNoStorage);    }
   Bool_t IsHistsStorage () const { return TESTBIT(fStorage,kHistsStorage); }
-
-  void   SetTimeAndCharge( const Bool_t b=kTRUE ) { b 
-                                                      ? SETBIT(fFlags,kTimeAndCharge) 
-                                                      : CLRBIT(fFlags,kTimeAndCharge); }  
 
   void   DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt);
