Message: Re: problem migrating to geant 4.10 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: problem migrating to geant 4.10 

Forum: Physics List
Re: None problem migrating to geant 4.10 (Maddalena Antonello)
Date: 06 Jan, 2014
From: Andrea Dotti <Andrea Dotti>

Hello, as described in the Release Notes Version 10.0 the "chiral_inv_phase_space" has been removed (it was deprecated in 9.6). You can replace the G4GammaNuclearReaction and G4ElectronNuclearReaction with Bertini.

The following code (starting at line 79) shows how to do that: http://www-geant4.kek.jp/lxr/source/physics_lists/constructors/gamma_lepto_nuclear/src/G4BertiniElectroNuclearBuilder.cc#L79

However, you can see how more complex this is. We encourage you to use one of the pre-packaged physics lists or, in alternative, use constructors that would create all needed processes for you. In particular the G4EmExtraPhysics class is the constructor that will build Gamma- and Electro-nuclear processes: http://www-geant4.kek.jp/lxr/source/physics_lists/constructors/gamma_lepto_nuclear/include/G4EmExtraPhysics.hh

As an example of a modular physics list that uses constructor (see line 84) look at FTFP_BERT:

http://www-geant4.kek.jp/lxr/source/physics_lists/lists/include/FTFP_BERT.icc

Hope this helps, Andrea

 Add Message Add Message
to: "Re: problem migrating to geant 4.10"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]