Force reading of map after streaming.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jul 2007 10:36:19 +0000 (10:36 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jul 2007 10:36:19 +0000 (10:36 +0000)
STEER/AliMagFMaps.cxx

index 8c1919e..1789d15 100644 (file)
@@ -105,6 +105,8 @@ void AliMagFMaps::ReadField()
     if (!fReadField) return;
     fReadField = kFALSE;
   //    
+   
+
   char* fname;
   TFile* file = 0;
   if (fMap == k2kG) {
@@ -252,7 +254,9 @@ void AliMagFMaps::Streamer(TBuffer &R__b)
   // Stream an object of class AliMagFMaps.
   if (R__b.IsReading()) {
    R__b.ReadClassBuffer(AliMagFMaps::Class(), this);
-    ReadField();
+   // 
+   fReadField = kTRUE;
+   ReadField();
   } else {
     R__b.WriteClassBuffer(AliMagFMaps::Class(), this);
   }