Overlaps corrected, new shape of sectors
[u/mrichter/AliRoot.git] / EVGEN / AliGenPileup.cxx
index d9c03d1..77532ad 100644 (file)
@@ -98,7 +98,7 @@ void AliGenPileup::SetGenerator(AliGenerator *generator, Float_t rate, Bool_t fl
 
 void AliGenPileup::AddGenerator(AliGenerator *Generator,
                                const char* Name,
-                               Float_t RateExp , TFormula* /*form*/)
+                               Float_t RateExp , TFormula* /*form*/, Int_t /*ntimes*/)
 {
   // The method used to add the pileup generator
   // in the cocktail list.
@@ -256,6 +256,7 @@ void AliGenPileup::Generate()
   fHeader->CalcNProduced();
 
   if (fContainer) {
+    fHeader->SetName(fName);
     fContainer->AddHeader(fHeader);
   } else {
     gAlice->SetGenEventHeader(fHeader);