Generating Event with Pythia and Analyze with Root

I have Pythia and Root installed. I know how to generate events in Pythia using the default example files given over there. I think I can also draw simple histograms on Root. Now, what I want is to generate a given event in Pythia (from the examples) and to analyze it with Root. I am very new to this. I have searched a lot but, didn’t find any helpful tutorial for a true beginner like me. Can you help me out? I will be very grateful for this.
Thanks in advance.

P.S. : I am new to this forum. I apologize beforehand if I am doing something in an informal manner.

Hi,

perhaps you could give a look to root.cern.ch/doc/master/group__ … ythia.html

Danilo

Thanks. Now, how do I perform these two actions:

  • the env variable PYTHIA8 must point to the pythia8100 (or newer) directory
  • the env variable PYTHIA8DATA must be defined and it must point to $PYTHIA8/xmldoc

Hi,

This article discusses this basic but important topic
cyberciti.biz/faq/set-enviro … ble-linux/

D