Root whith pythia 8

I am in internship and we ask me to use root whith pythia8, the only script that I have find is pythia8.C in the Folder tutorial. pythia have many fonction and for example I dont understand how do pythia.next() in root, pythia.info list() etc. I no have find all fonction pythia8->** and no documentation in this.
If someone have a exemple of script for pythia8 on root for me or where is the documentation of this I had be grateful

Hi,

The documentation is at root.cern.ch/root/html/TPythia8.html
See also the base class root.cern.ch/root/html/TGenerator.html

Cheers,
Philippe.