Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -6193,7 +6193,7 @@ G4int G4Abla::secnds(G4int x)
return(mylocaltime->tm_hour*60*60 + mylocaltime->tm_min*60 + mylocaltime->tm_sec);
}
else {
return(mytime - x);
return G4int(mytime - x);
}
}
@@ -10219,7 +10219,7 @@ G4double G4Abla::haz(G4int k)
{
// const G4int pSize = 110;
// static G4ThreadLocal G4double p[pSize];
static G4ThreadLocal G4long ix = 0;
static G4ThreadLocal G4int ix = 0;
static G4ThreadLocal G4double x = 0.0, y = 0.0;
// k =< -1 on initialise
// k = -1 c'est reproductible
@@ -10239,7 +10239,7 @@ G4double G4Abla::haz(G4int k)
y = secnds(G4int(x));
ix = G4int(y * 100 + 43543000);
if(mod(ix,2) == 0) {
ix = ix + 1;
ix = ix + 1;
}
}}
@@ -106,14 +106,14 @@ G4ReactionProductVector *G4AblaInterface::DeExcite(G4Fragment& aFragment) {
const G4double pyRem = pRem.y() / MeV;
const G4double pzRem = pRem.z() / MeV;
eventNumber++;
++eventNumber;
theABLAModel->DeexcitationAblaxx(ARem, ZRem, eStarRem, jRem, pxRem, pyRem,
pzRem, eventNumber, SRem);
pzRem, (G4int)eventNumber, SRem);
G4ReactionProductVector* result = new G4ReactionProductVector;
for(int j = 0; j < ablaResult->ntrack; ++j)
for(G4int j = 0; j < ablaResult->ntrack; ++j)
{ // Copy ABLA result to the EventInfo
G4ReactionProduct* product =
toG4Particle(ablaResult->avv[j], ablaResult->zvv[j], ablaResult->svv[j],