//
//-----------------------------------------------------------------------------
+#include <TMath.h>
#include <TRandom.h>
#include "AliPythiaRndm.h"
//
// Retrieves the pointer to the random numbers generator
//
+ if (!fgPythiaRandom) fgPythiaRandom=gRandom;
return fgPythiaRandom;
}
extern "C" {
Double_t pyr(Int_t*)
{
- // Wrapper to FINCTION PYR from PYTHIA
+ // Wrapper to FUNCTION PYR from PYTHIA
// Uses static method to retrieve the pointer to the (C++) generator
Double_t r;
do r=AliPythiaRndm::GetPythiaRandom()->Rndm();