Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -152,11 +152,11 @@ void G4RPGAntiKZeroInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -146,14 +146,14 @@ void G4RPGAntiLambdaInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
static G4bool first = true;
|
||||
static G4ThreadLocal G4bool first = true;
|
||||
const G4int numMul = 1200;
|
||||
const G4int numMulA = 400;
|
||||
const G4int numSec = 60;
|
||||
static G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
// np = number of pi+, nneg = number of pi-, nz = number of pi0
|
||||
G4int nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -150,14 +150,14 @@ void G4RPGAntiNeutronInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
static G4bool first = true;
|
||||
static G4ThreadLocal G4bool first = true;
|
||||
const G4int numMul = 1200;
|
||||
const G4int numMulA = 400;
|
||||
const G4int numSec = 60;
|
||||
static G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
|
||||
// np = number of pi+, nneg = number of pi-, nz = number of pi0
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
|
||||
@@ -159,11 +159,11 @@ G4RPGAntiOmegaMinusInelastic::Cascade(G4FastVector<G4ReactionProduct,GHADLISTSIZ
|
||||
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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
|
||||
@@ -157,14 +157,14 @@ void G4RPGAntiProtonInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
static G4bool first = true;
|
||||
static G4ThreadLocal G4bool first = true;
|
||||
const G4int numMul = 1200;
|
||||
const G4int numMulA = 400;
|
||||
const G4int numSec = 60;
|
||||
static G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
// np = number of pi+, nneg = number of pi-, nz = number of pi0
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -152,14 +152,14 @@ void G4RPGAntiSigmaMinusInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
static G4bool first = true;
|
||||
static G4ThreadLocal G4bool first = true;
|
||||
const G4int numMul = 1200;
|
||||
const G4int numMulA = 400;
|
||||
const G4int numSec = 60;
|
||||
static G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
// np = number of pi+, nneg = number of pi-, nz = number of pi0
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -152,14 +152,14 @@ void G4RPGAntiSigmaPlusInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
static G4bool first = true;
|
||||
static G4ThreadLocal G4bool first = true;
|
||||
const G4int numMul = 1200;
|
||||
const G4int numMulA = 400;
|
||||
const G4int numSec = 60;
|
||||
static G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmul[numMul], protnorm[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmul[numMul], neutnorm[numSec]; // neutron constants
|
||||
static G4ThreadLocal G4double protmulA[numMulA], protnormA[numSec]; // proton constants
|
||||
static G4ThreadLocal G4double neutmulA[numMulA], neutnormA[numSec]; // neutron constants
|
||||
// np = number of pi+, nneg = number of pi-, nz = number of pi0
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -159,11 +159,11 @@ void G4RPGAntiXiMinusInelastic::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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
|
||||
@@ -152,11 +152,11 @@ void G4RPGAntiXiZeroInelastic::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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
|
||||
@@ -154,11 +154,11 @@ void G4RPGKMinusInelastic::Cascade(
|
||||
2.0*targetMass*etOriginal );
|
||||
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
|
||||
|
||||
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
|
||||
G4int nt(0), np(0), nneg(0), nz(0);
|
||||
const G4double c = 1.25;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -147,11 +147,11 @@ void G4RPGKZeroInelastic::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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
const G4double c = 1.25;
|
||||
|
||||
@@ -149,11 +149,11 @@ void G4RPGLambdaInelastic::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
|
||||
|
||||
|
||||
@@ -238,10 +238,10 @@ G4RPGNucleonInelastic::GetFSPartTypesForT1(G4int mult, G4double KE,
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Total p p cross section as a function of kinetic energy
|
||||
G4double G4RPGNucleonInelastic::pPtot[30];
|
||||
G4ThreadLocal G4double G4RPGNucleonInelastic::pPtot[30];
|
||||
|
||||
// p p multiplicities as a function of kinetic energy
|
||||
G4double G4RPGNucleonInelastic::t1_dSigma_dMult[8][30];
|
||||
G4ThreadLocal G4double G4RPGNucleonInelastic::t1_dSigma_dMult[8][30];
|
||||
|
||||
const G4int G4RPGNucleonInelastic::pPindex[8][2] =
|
||||
{{0, 0}, {1, 6}, {7,24}, {25,56}, {57,63}, {64,71}, {72,81}, {82,92}};
|
||||
@@ -857,10 +857,10 @@ const G4float G4RPGNucleonInelastic::pPCrossSections[93][30] = {
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Total p n cross section as a function of kinetic energy
|
||||
G4double G4RPGNucleonInelastic::pNtot[30];
|
||||
G4ThreadLocal G4double G4RPGNucleonInelastic::pNtot[30];
|
||||
|
||||
// p n multiplicities as a function of kinetic energy
|
||||
G4double G4RPGNucleonInelastic::t0_dSigma_dMult[8][30];
|
||||
G4ThreadLocal G4double G4RPGNucleonInelastic::t0_dSigma_dMult[8][30];
|
||||
|
||||
const G4int G4RPGNucleonInelastic::pNindex[8][2] =
|
||||
{{0, 0}, {1,9}, {10,31}, {32,69}, {70,76}, {77,85}, {86,95}, {96,107}};
|
||||
|
||||
@@ -158,11 +158,11 @@ void G4RPGOmegaMinusInelastic::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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -238,10 +238,10 @@ G4RPGPionInelastic::GetFSPartTypesForT12(G4int mult, G4double KE, G4int tzindex)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Total pi+ cross section as a function of kinetic energy
|
||||
G4double G4RPGPionInelastic::pipPtot[30];
|
||||
G4ThreadLocal G4double G4RPGPionInelastic::pipPtot[30];
|
||||
|
||||
// pi+ multiplicities as a function of kinetic energy
|
||||
G4double G4RPGPionInelastic::t32_dSigma_dMult[8][30];
|
||||
G4ThreadLocal G4double G4RPGPionInelastic::t32_dSigma_dMult[8][30];
|
||||
|
||||
const G4int G4RPGPionInelastic::pipPindex[8][2] =
|
||||
{{0, 1}, {2, 8}, {9,23}, {24,47}, {48,52}, {53,58}, {59,65}, {66,73}};
|
||||
@@ -744,10 +744,10 @@ const G4float G4RPGPionInelastic::pipPCrossSections[74][30] = {
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Total pi- cross section as a function of kinetic energy
|
||||
G4double G4RPGPionInelastic::pimPtot[30];
|
||||
G4ThreadLocal G4double G4RPGPionInelastic::pimPtot[30];
|
||||
|
||||
// pi- multiplicities as a function of kinetic energy
|
||||
G4double G4RPGPionInelastic::t12_dSigma_dMult[8][30];
|
||||
G4ThreadLocal G4double G4RPGPionInelastic::t12_dSigma_dMult[8][30];
|
||||
|
||||
const G4int G4RPGPionInelastic::pimPindex[8][2] =
|
||||
{{0, 4}, {5,17}, {18,39}, {40,70}, {71,76}, {77,83}, {84,91}, {92,100}};
|
||||
|
||||
@@ -155,11 +155,11 @@ void G4RPGSigmaMinusInelastic::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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -154,11 +154,11 @@ void G4RPGSigmaPlusInelastic::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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
G4double test;
|
||||
|
||||
@@ -154,11 +154,11 @@ G4RPGXiMinusInelastic::Cascade(G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec
|
||||
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
|
||||
G4int counter, nt = 0, np = 0, nneg = 0, nz = 0;
|
||||
|
||||
@@ -147,11 +147,11 @@ G4RPGXiZeroInelastic::Cascade(G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
|
||||
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
|
||||
G4int counter, nt=0, np=0, nneg=0, nz=0;
|
||||
|
||||
Reference in New Issue
Block a user