PYTHIA in PANDAROOT [message #12258] |
Thu, 14 July 2011 09:52 |
Yuri Naryshkin
Messages: 42 Registered: August 2008
|
continuous participant |
From: *desy.de
|
|
Dear Colleagues,
I try to use generated events, generated with PYTHIA6
I produce ascii txt file in ~/pandaroot/pgenerators/Pythia6
(name is genevent1.txt in attachment).
Then I change my code according to advice done in:
http://panda-wiki.gsi.de/cgi-bin/view/Computing/PythiaGen6
add lines:
gSystem->Load("libPGen");
PndPythia6Generator* pythiaGen = new PndPythia6Generator("genevent1.txt");
primGen->AddGenerator(pythiaGen);
run code but I've got an error message:
====================================================================
### Run 0 start.
[INFO ] FairPrimaryGenerator: (Event 1) 0 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) Event Time = 0.000000 (ns)
TG4PrimaryGeneratorAction::TransformPrimaries:
No primary particles found on the stack.
*** TG4Exception: Aborting execution ***
What could be wrong?
Best Regards, Yuri.
|
|
|