bug fixed for fMUONData (Gines)
authorcussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Jul 2004 12:09:20 +0000 (12:09 +0000)
committercussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Jul 2004 12:09:20 +0000 (12:09 +0000)
MUON/AliMUONDigitizer.cxx

index fb66c35..b2a7c1e 100644 (file)
@@ -424,7 +424,7 @@ Bool_t AliMUONDigitizer::FetchGlobalPointers(AliRunLoader* runloader)
        }
 
 
-       fMUONData = new AliMUONData(muonloader,"MUON","MUON");
+       if (fMUONData == NULL) fMUONData = new AliMUONData(muonloader,"MUON","MUON");
        if (fMUONData == NULL)
        {
                Error("FetchGlobalPointers", "Could not find AliMUONData object in runloader 0x%X.", (void*)runloader);