GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » simulation with PYTHIA
simulation with PYTHIA [message #12257] Wed, 13 July 2011 22:54
Yuri Naryshkin is currently offline  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.

Previous Topic: Vertex fitter for eta_c analysis
Next Topic: Psi3770 study with run802 of tpc in gridka
Goto Forum:
  


Current Time: Wed Nov 27 09:34:09 CET 2024

Total time taken to generate the page: 0.00549 seconds