GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » Pythia as external decayer for Geant3
Pythia as external decayer for Geant3 [message #5192] Thu, 11 October 2007 00:47 Go to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hallo,

In SVN 1594, Pythia can be used as external decayer to Geant3, for Geant4 there is still some work to do before we can use it. To use this functionality, in the simulation macro you have to add the line:

fRun->SetPythiaDecayer(kTRUE);

after choosing the MC engine.

in the directory gconfig a new file is added, namely: G3DecayConfig.C, in this macro one can force geant3 to use Pythia as decayer for certain particles using the pdg code.

regards

Mohammad
Re: Pythia as external decayer for Geant3 [message #18292 is a reply to message #5192] Mon, 01 June 2015 14:34 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: 82.113.121*
Dear all,
We are simulating the transport of Xi minus particles via Geant4. Standard decay Modus is pion minus plus lambda. Nevertheless we are getting strange results in the output.
One of the reasons might be that some compound nucleus is formed leading to some fragmentation. But something catched my attention by looking into the settings of
Gconfig / gConfig4.C. It seems that pithia decayer was set as external decayer. In this case, I would like to know whether the default flag was set to true or false.

Thank you in advance
Alicia S.
Re: Pythia as external decayer for Geant3 [message #18294 is a reply to message #18292] Mon, 01 June 2015 15:43 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
From g4Config.C:

41	   if(FairRunSim::Instance()->IsExtDecayer()){
42	      TVirtualMCDecayer* decayer = TPythia6Decayer::Instance();
43	      geant4->SetExternalDecayer(decayer);
44	   }


If you don't set the instance the external decayer should not be active.
Previous Topic: Difference of neutral candidate between Geant4 and Geant3
Next Topic: Unexpected particles in Event Display window.
Goto Forum:
  


Current Time: Fri Dec 09 03:41:20 CET 2022

Total time taken to generate the page: 0.00911 seconds