Import Geant4 10.4.2 source tree

This commit is contained in:
Gabriele Cosmo
2018-05-25 16:18:53 +02:00
parent fe04dcb406
commit fe81a77428
233 changed files with 44301 additions and 105671 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
$Id: History 106143 2017-09-14 06:34:42Z gcosmo $
$Id: History 110104 2018-05-15 11:40:56Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,10 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
- 09 April 2018 Makoto Asai ( particles-V10-03-17 )
- G4PhaseSpaceDecayChannel::ManyBodyDecayIt()
Fix incorrect indexing. Addressing bug report #2053.
- 13 September 2017 Krzysztof Genser ( particles-V10-03-16 )
- moved G4MuonicAtom & G4MuonicAtomHelper to management
to avoid circular reference in the granular lib case
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4PhaseSpaceDecayChannel.cc 102916 2017-03-02 12:58:58Z gcosmo $
// $Id: G4PhaseSpaceDecayChannel.cc 110104 2018-05-15 11:40:56Z gcosmo $
//
//
// ------------------------------------------------------------
@@ -554,7 +554,7 @@ G4DecayProducts *G4PhaseSpaceDecayChannel::ManyBodyDecayIt()
//Calculate daughter momentum
weight = 1.0;
G4bool smOK=true;
for(index =0; index< numberOfDaughters-1 && smOK; index--) {
for(index =0; index< numberOfDaughters-1 && smOK; index++) {
smOK = (sm[index]-daughtermass[index]- sm[index+1] >=0.);
}
if (!smOK) continue;