Protection needed when reading PDC06 data (v4-04)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Aug 2007 12:15:18 +0000 (12:15 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Aug 2007 12:15:18 +0000 (12:15 +0000)
STEER/AliESDEvent.cxx

index 5dc124a..0572418 100644 (file)
@@ -747,7 +747,7 @@ void AliESDEvent::CopyFromOldESD()
     //  leave amps out
 
     // VZERO
-    SetVZEROData(fESDOld->GetVZEROData());
+    if (fESDOld->GetVZEROData()) SetVZEROData(fESDOld->GetVZEROData());
 
     SetVertex(fESDOld->GetVertex());