[ROOT] TPythia6 and Draw() method

From: Joćo Batista (jbatista@mail.desy.de)
Date: Thu Feb 06 2003 - 12:46:10 MET


Hi,


The TPythia6 class seems to have a Draw() method. I do

Root> gSystem->Load("$PYTHIA6/libPythia6.so")
Root> gSystem->Load("libEG.so")
Root> gSystem->Load("libEGPythia6.so")
Root> TPythia6 *pythia = new TPythia6()
Root> pythia->Initialize("cms","p+","p+",14000.0)
Root> pythia->GenerateEvent()
Root> pythia->GetNumberOfParticles()
Root> pythia->Draw()	// here it is!

So, this shows a canvas that would (supposedly) show the particle tracks.
It tells me that it has the number of particles reported by
GetNumberOfParticles(), and also some others listed -- so, I trust it has
read the event list correctly. But no tracks show up. Am I doing something
wrong here?

Thanks in advance,
-- J. Batista


=============================================
"Before I came here I was confused about this
 subject. Having listened to your lecture, I
 am still confused. But on a higher level."
                              -- Enrico Fermi
---------------------------------------------
Joćo Batista [ mailto:joao.batista@desy.de ]
WWW: http://kdataserv.fis.fc.ul.pt/~jbatista
=============================================



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET