Fix for copy/paste error
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 12:25:51 +0000 (12:25 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 12:25:51 +0000 (12:25 +0000)
STEER/AliReconstruction.cxx

index 77e02e2..9d5e744 100644 (file)
@@ -1222,8 +1222,8 @@ Bool_t AliReconstruction::LoadCTPTimeParamsCDB()
   if (!entry2) return kFALSE;
 
   AliInfo("Found an AliCTPTimeParams in GRP/CTP/TimeAlign, reading it");
-  fCTPTimeAlign = dynamic_cast<AliCTPTimeParams*> (entry->GetObject());
-  entry->SetOwner(0);
+  fCTPTimeAlign = dynamic_cast<AliCTPTimeParams*> (entry2->GetObject());
+  entry2->SetOwner(0);
 
   return kTRUE;
 }