GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Today's Messages (on)  | Unanswered Messages (off)

Forum: Event Generators
 Topic: PYTHIA6 usage
Re: PYTHIA6 usage [message #23660 is a reply to message #23653] Fri, 22 February 2019 13:24
Anna Skachkova is currently offline  Anna Skachkova
Messages: 31
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Anna,

you're right. Please replace the according statement with

fRun->SetGenerator(pythiaGen);

and comment lines 48/49. The primary generator is being created inside already.

Cheers!
Ralf
Re: PYTHIA6 usage [message #23661 is a reply to message #23660] Fri, 22 February 2019 13:58
Anna Skachkova is currently offline  Anna Skachkova
Messages: 31
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Ralf,

Thank you! It started to work when I commented the lines 48/49 and replaced fRun->SetGenerator(primGen); to fRun->SetGenerator(pythiaGen);
and commented also the line primGen->AddGenerator(pythiaGen);

But then I faced the problems with the further usage - tut_aod.C. I have to think about this and shall report it later.

Cheers,
Anna
Re: PYTHIA6 usage [message #23666 is a reply to message #23661] Fri, 22 February 2019 15:15
Anna Skachkova is currently offline  Anna Skachkova
Messages: 31
Registered: September 2018
continuous participant
From: *jinr.ru
Dear colleagues,

I found more information about possible launch of PYTHIA simulation from inside Root - fairsoft_may18/tools/root/montecarlo/pythia6.
From the file /src/TPythia6.cxx one can see how one can choose and set the internal PYTHIA parameters about which I was confused.
So one can really call PYTHIA from Root using the presented parameters. The problem is that the presented list of common-blocks is not full and some
very important parameters which allow to run PYTHIA at low PANDA energies are absent (by default it doesn't work). I hope that inserting the missed information could be done in
analogous way as for the other common-blocks. But one have to think how to compile then these all together.

Best regards,
Anna



Current Time: Fri Feb 22 19:55:16 CET 2019

Total time taken to generate the page: 0.03141 seconds