fParticles = 0;
fPythia = 0;
fHeader = 0;
+ fReadFromFile = 0;
fDecayer = new AliDecayerPythia();
SetEventListRange();
SetJetPhiRange();
fName = "Pythia";
fTitle= "Particle Generator using PYTHIA";
fXsection = 0.;
+ fReadFromFile = 0;
SetProcess();
SetStrucFunc();
SetForceDecay();
{
// Print x-section summary
fPythia->Pystat(1);
- fQ /= fNev;
- fX1 /= fNev;
- fX2 /= fNev;
+
+ if (fNev > 0.) {
+ fQ /= fNev;
+ fX1 /= fNev;
+ fX2 /= fNev;
+ }
+
printf("\nTotal number of Pyevnt() calls %d\n", fTrialsRun);
printf("\nMean Q, x1, x2: %f %f %f\n", fQ, fX1, fX2);
-
-
}
void AliGenPythia::AdjustWeights()