Add additional protection
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Sep 2007 12:34:07 +0000 (12:34 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Sep 2007 12:34:07 +0000 (12:34 +0000)
TRD/AliTRDdigitsManager.cxx

index ba23a46f3ea384d2bda264440ff25c4f13285807..199855e62ac465fcac0ff7af914f626e252c954c 100644 (file)
@@ -194,7 +194,7 @@ void AliTRDdigitsManager::ResetArrays()
   for (Int_t i = 0; i < AliTRDgeometry::Ndet(); i++)
     {
       AliTRDSignalIndex *idx = (AliTRDSignalIndex *)fSignalIndexes->At(i);
-      idx->Reset();
+      if (idx) idx->Reset();
     }
 }