GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » Geant4 and Hadron lists
Geant4 and Hadron lists [message #4847] Wed, 08 August 2007 20:14
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *
If I read the file gconfig/g4Config.C I find the lines:

// RunConfiguration for Geant4
TG4RunConfiguration* runConfiguration = new TG4RunConfiguration("geomRoot");

//Switch on optical physics (not activated by default)
TG4PhysicsListOptions options;


But if I chech the standard cosntructor of TG4PhysicsListOptions (transport/geant4_vmc/source/physics/src/TG4PhysicsListOptions.cxx) I can see that:

: fSetEMPhysics(true),

While OpticalPhysics SpecialControlsPhysics and SpecialCutsPhysics are set on by the user in G4Config.C, the HadronPhysics remains set to false. Indeed if I set it on in the g4Config I get these new lines in the output of mky simulation:

### Hadron physics for ions constructed.
### Hadron physics for hadrons constructed.

What does it mean? Does it mean that the hadronic lists are off? I do not think so, even considering the log messages, I suppose the TGeant4::SetProcess will set something on. But I have small differences in the results adding or not the HadronPhysics line in the g4Config.

So, what is the difference between the two ways of setting processes? Or better... what are we using?

Read Message
Previous Topic: Geant 3 crashes on hadron events
Next Topic: Toward new geant4, new new root and new vmc: compilation
Goto Forum:

Current Time: Thu Jul 18 12:49:05 CEST 2024

Total time taken to generate the page: 0.00517 seconds