effc++ warnings
[u/mrichter/AliRoot.git] / EVGEN / AliGenMUONCocktail.cxx
index b4370fd..fc510e3 100644 (file)
@@ -377,7 +377,7 @@ void AliGenMUONCocktail::Generate()
                AliRunLoader * runloader = gAlice->GetRunLoader();
                if (runloader)
                        if (runloader->Stack())
-                               runloader->Stack()->Reset();
+                               runloader->Stack()->Clean();
                // Loop over generators and generate events
                Int_t igen=0;
                Int_t npart =0;