GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » PYTHIA in PANDAROOT
PYTHIA in PANDAROOT [message #12258] Thu, 14 July 2011 09:52 Go to previous message
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.
 
Read Message
Read Message
Previous Topic: Error in make in EvtGen
Next Topic: EvtGenDirect and random seed
Goto Forum:
  


Current Time: Thu Mar 28 12:21:41 CET 2024

Total time taken to generate the page: 0.01086 seconds