Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -1,4 +1,4 @@
$Id: History 94081 2015-11-05 15:05:33Z gcosmo $
$Id: History 101034 2016-11-04 08:47:07Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -14,6 +14,15 @@ introduced in the code and keeptrack of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
03-Nov-2016, Alberto Ribon (phys-ctor-stopping-V10-02-02)
- Written first draft of the README
16-October-2016, Michel Maire (phys-ctor-stopping-V10-02-01)
- add README
11-Oct-2016, Gunter Folger (phys-ctor-stopping-V10-02-00)
- replace direct use of aParticleIterator by GetParticleIterator().
05-Nov-2015, Alberto Ribon (phys-ctor-stopping-V10-01-00)
- Replaced neutron_hp/ with particle_hp/
@@ -0,0 +1,14 @@
$Id: $
-------------------------------------------------------------------
G4StoppingPhysics
-----------------
It uses Bertini/Precompound (i.e. Bertini followed by the official
Precompound/deexcitation of Geant4, not the internal one of Bertini)
for nuclear capture of: pi-, K-, Sigma-, Xi- and Omega-.
It uses Fritiof/Precompound model for nuclear capture of: anti_proton,
anti_Sigma+, anti_deuteron, anti_triton, anti_He3 and anti_alpha.
For mu-, Bertini model is used for nuclear capture, together with
default element selector, EM cascade sampling and bound decay sampling.
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4StoppingPhysics.cc 71041 2013-06-10 09:27:06Z gcosmo $
// $Id: G4StoppingPhysics.cc 99939 2016-10-12 08:08:23Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -127,11 +127,12 @@ void G4StoppingPhysics::ConstructProcess() {
G4ParticleDefinition* particle = 0;
G4ProcessManager* pmanager = 0;
aParticleIterator->reset();
auto myParticleIterator=GetParticleIterator();
myParticleIterator->reset();
while ( (*aParticleIterator)() ) {
while ( (*myParticleIterator)() ) {
particle = aParticleIterator->value();
particle = myParticleIterator->value();
pmanager = particle->GetProcessManager();
if ( particle == G4MuonMinus::MuonMinus() ) {