Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -14,7 +14,7 @@
* *** Define the GEANT parameters
CALL GINIT
*
* *** default values
* *** default values for histo
do ih = 1,MaxHist
histo(ih) = .false.
enddo
@@ -48,10 +48,9 @@
write (6,51) NbAbsor, MaxAbs
NbAbsor = MaxAbs
endif
if (NbAbsor*NbLayer.ge.MaxPlanes) then
ntrunc = (MaxPlanes-1)/NbAbsor
write (6,52) NbLayer, ntrunc
NbLayer = ntrunc
if (NbLayer.gt.MaxLay) then
write (6,52) NbLayer, MaxLay
NbLayer = MaxLay
endif
51 FORMAT (/,5x,'warning (uginit): NbAbsor= ',I2,' truncated to ',I2)
52 FORMAT (/,5x,'warning (uginit): NbLayer= ',I3,' truncated to ',I3)
@@ -88,8 +87,8 @@
enddo
*
do k=1,MaxPlanes
Eforw(k) = 0.
Eback(k) = 0.
EnerFlow(k) = 0.
EleakLat(k) = 0.
enddo
*
END