Call to AliStack::Reset() replaced by AliStack::Clean().
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Jul 2007 16:20:56 +0000 (16:20 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Jul 2007 16:20:56 +0000 (16:20 +0000)
EVGEN/AliGenMUONCocktail.cxx
EVGEN/AliGenMUONCocktailpp.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;
index b8f9553..596fcb6 100644 (file)
@@ -289,7 +289,7 @@ void AliGenMUONCocktailpp::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;