//-------------------------------------------------------------------------
#include <TParticle.h>
+#include <TFormula.h>
#include "AliGenPileup.h"
#include "AliLog.h"
void AliGenPileup::AddGenerator(AliGenerator *Generator,
const char* Name,
- Float_t RateExp )
+ Float_t RateExp , TFormula* /*form*/)
{
// The method used to add the pileup generator
// in the cocktail list.
// Store the interaction header in the container of the headers
((AliGenEventHeader*) fHeader->GetHeaders()->Last())->SetPrimaryVertex(eventVertex);
+ ((AliGenEventHeader*) fHeader->GetHeaders()->Last())->SetInteractionTime(vTime);
}
}
delete [] nIntBC;