How do I get cross section from Pythia6 plugin?


I can generate events and print out the cross sections by pythia->Pystat(0);

How do I get the cross section into a variable,like sigma=pythia->Get???

The instruction on root reference guide is too limited for Pythia.



the TPythia6 wrapper gives access to Pythia’s parameters; the naming is the same. So please look at the Pythia documentation (the parameter names and their meanings). Once you have identified the parameter you need, accessing it through TPythia6 will be obvious.

Cheers, Axel.