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 b4370fd42495ef8bf85fdcca62acd36ab92fcb3c..fc510e3a494fcad382c2c297d39d3ab7e6974ead 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 b8f95538fc60eb668b30cafe5ef5640c4aa0ffac..596fcb642f2ea1c243deb7c771dc84533d971d39 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;