About How to Change Pythia Example

Dear Rooters,

I am a new root user and I am working on PYTHIA example in tutorials. In this example dN/dpt is plotted and I want to plot dsigma/dpt vs pt graph for kaon and I would be grateful if you could help me how can I change this example for my aim.

Thank you very much.

Kind regards.

ps: I am using windows XP and root 5.16.
pythiaExample[1].C (6.81 KB)