Make copy of the TPC parameters (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Nov 2006 11:29:22 +0000 (11:29 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Nov 2006 11:29:22 +0000 (11:29 +0000)
TPC/AliTPCcalibDB.cxx

index a2eff1b..1ed6810 100644 (file)
@@ -191,7 +191,7 @@ void AliTPCcalibDB::Update(){
   if (entry){
     //if (fPadNoise) delete fPadNoise;
     entry->SetOwner(kTRUE);
-    fParam = (AliTPCParam*)entry->GetObject();
+    fParam = (AliTPCParam*)(entry->GetObject()->Clone());
   }