Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -159,11 +159,11 @@ void G4RPGKPlusInelastic::Cascade(
quasiElastic = true;
return;
}
static G4bool first = true;
static G4ThreadLocal G4bool first = true;
const G4int numMul = 1200;
const G4int numSec = 60;
static G4double protmul[numMul], protnorm[numSec]; // proton constants
static G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
static G4ThreadLocal G4double protmul[numMul], protnorm[numSec]; // proton constants
static G4ThreadLocal G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
// np = number of pi+, nneg = number of pi-, nz = number of pi0