]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCParamCR.cxx
Correction to the destructor
[u/mrichter/AliRoot.git] / TPC / AliTPCParamCR.cxx
index 957397235eb417b852948dade1d0289a25f1efd0..055781ad07513025f7d0614ec256c25c9d7d4f5b 100644 (file)
 
 /*
 $Log$
+Revision 1.4  2000/11/02 07:33:15  kowal2
+Improvements of the code.
+
+Revision 1.3  2000/06/30 12:07:50  kowal2
+Updated from the TPC-PreRelease branch
+
 Revision 1.2.4.1  2000/06/14 16:48:24  kowal2
 Parameter setting improved. Removed compiler warnings
 
@@ -42,7 +48,7 @@ New Detector parameters handling class
 
 #include <iostream.h>
 #include <TMath.h>
-#include <TObject.h>
+#include <TClass.h>
 #include <AliTPCParamCR.h>
 #include "AliTPCPRF2D.h"
 #include "AliTPCRF1D.h"
@@ -232,6 +238,7 @@ Bool_t AliTPCParamCR::Update()
        fNPadsUp[i] = 1+2*(Int_t)(y/fOuterPadPitchWidth) ;
     }
   fNtRows = fNInnerSector*fNRowLow+fNOuterSector*fNRowUp;
+  fbStatus = kTRUE;
   return kTRUE;
 }
 
@@ -242,18 +249,19 @@ void AliTPCParamCR::Streamer(TBuffer &R__b)
    // Stream an object of class AliTPC.
 
    if (R__b.IsReading()) {
-      Version_t R__v = R__b.ReadVersion(); if (R__v) { }
-      //      TObject::Streamer(R__b);
-      AliTPCParam::Streamer(R__b);
-      //      if (R__v < 2) return;
-       Update();
+      AliTPCParamCR::Class()->ReadBuffer(R__b, this);
+      Update();
    } else {
-      R__b.WriteVersion(AliTPCParamCR::IsA());
-      //TObject::Streamer(R__b);  
-      AliTPCParam::Streamer(R__b);    
+      AliTPCParamCR::Class()->WriteBuffer(R__b, this);
    }
 }
 
 
 
 
+
+
+
+
+
+