Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
+3
View File
@@ -9,6 +9,9 @@ $Id: History 70524 2013-05-31 16:36:26Z gcosmo $
Package History file
--------------------
02 Mar 2016 - S.Incerti - tag microbeam-V10-02-00
- removed exp
28 Aug 2015 - S.Incerti - tag microbeam-V10-01-03
- added stronger constraints on SetMinimumEpsilonStep
and SetMaximumEpsilonStep
+22 -21
View File
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Geant4 version Name: geant4-10-03-beta-01 (30-June-2016)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -345,16 +345,18 @@ Registering model factories...
You have successfully registered the following model factories.
Registered model factories:
generic
drawByCharge
drawByParticleID
drawByOriginVolume
drawByAttribute
drawByCharge
drawByOriginVolume
drawByParticleID
drawByTouchedVolume
Registered filter factories:
chargeFilter
particleFilter
originVolumeFilter
attributeFilter
chargeFilter
originVolumeFilter
particleFilter
touchedVolumeFilter
You have successfully registered the following user vis actions.
Run Duration User Vis Actions: none
@@ -367,7 +369,8 @@ Available colours:
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
DefaultRegionForTheWorld 1 0 0
### === Ignore cuts flag: 0
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 10 TeV in 154 bins
@@ -809,7 +812,7 @@ Index : 12 used in the geometry : Yes
====================================================================
##### Create analysis manager 0x24db110
##### Create analysis manager 0x15b8e70
Using Root analysis manager
All Ntuples have been created
-> Event # 1 generated
@@ -820,29 +823,27 @@ All Ntuples have been created
-> Event # 3 generated
===> The incident alpha particle has reached the targeted cell :
-----> total absorbed dose within Nucleus is (Gy) = 0.29893655392339
-----> total absorbed dose within Cytoplasm is (Gy) = 0.05895416661847
-----> total absorbed dose within Nucleus is (Gy) = 0.32778372413202
-----> total absorbed dose within Cytoplasm is (Gy) = 0.044733067737592
-> Event # 4 generated
===> The incident alpha particle has reached the targeted cell :
-----> total absorbed dose within Nucleus is (Gy) = 0.297542698664
-----> total absorbed dose within Cytoplasm is (Gy) = 0.016812349299169
-----> total absorbed dose within Nucleus is (Gy) = 0.29451485847676
-----> total absorbed dose within Cytoplasm is (Gy) = 0.01845536721255
-> Event # 5 generated
===> Sorry, the incident alpha particle has missed the targeted cell !
-> Event # 6 generated
===> The incident alpha particle has reached the targeted cell :
-----> total absorbed dose within Nucleus is (Gy) = 0.30403628497508
-----> total absorbed dose within Cytoplasm is (Gy) = 0.051504478309795
===> Sorry, the incident alpha particle has missed the targeted cell !
-> Event # 7 generated
===> The incident alpha particle has reached the targeted cell :
-----> total absorbed dose within Nucleus is (Gy) = 0.32679569925554
-----> total absorbed dose within Cytoplasm is (Gy) = 0.042253362060202
===> Sorry, the incident alpha particle has missed the targeted cell !
-> Event # 8 generated
===> Sorry, the incident alpha particle has missed the targeted cell !
===> The incident alpha particle has reached the targeted cell :
-----> total absorbed dose within Nucleus is (Gy) = 0.32808202093148
-----> total absorbed dose within Cytoplasm is (Gy) = 0.012292198793424
-> Event # 9 generated
===> Sorry, the incident alpha particle has missed the targeted cell !
@@ -850,7 +851,7 @@ All Ntuples have been created
-> Event # 10 generated
===> Sorry, the incident alpha particle has missed the targeted cell !
-> Total number of particles detected by the gas detector : 5
-> Total number of particles detected by the gas detector : 3
Graphics systems deleted.
Visualization Manager deleting...
+16 -15
View File
@@ -34,6 +34,7 @@
#include "EMField.hh"
#include "G4SystemOfUnits.hh"
#include "G4Exp.hh"
EMField::EMField()
{
@@ -107,8 +108,8 @@ if ( (z >= limitMinEntrance) && (z < limitMaxEntrance) )
dsdx = 0;
largeS = wc0 + wc1*ws + wc2*ws*ws + wc3*ws*ws*ws;
h = 1./(1.+std::exp(largeS));
dhdlargeS = -std::exp(largeS)*h*h;
h = 1./(1.+G4Exp(largeS));
dhdlargeS = -G4Exp(largeS)*h*h;
dlargeSds = wc1+ 2*wc2*ws + 3*wc3*ws*ws;
dhds = dhdlargeS * dlargeSds;
@@ -150,8 +151,8 @@ if (
dsdx = (1/D)*(x-xcenter)/std::sqrt((z-zcenter)*(z-zcenter)+(x-xcenter)*(x-xcenter));
largeS = wc0 + wc1*ws + wc2*ws*ws + wc3*ws*ws*ws;
h = 1./(1.+std::exp(largeS));
dhdlargeS = -std::exp(largeS)*h*h;
h = 1./(1.+G4Exp(largeS));
dhdlargeS = -G4Exp(largeS)*h*h;
dlargeSds = wc1+ 2*wc2*ws + 3*wc3*ws*ws;
dhds = dhdlargeS * dlargeSds;
@@ -344,23 +345,23 @@ if (z>=-1400*mm && z <-200*mm)
P2 = 2*c2[i]/a0[i]/a0[i];
cte = 1 + std::exp(c0[i]);
cte = 1 + G4Exp(c0[i]);
K1 = -cte*P1*std::exp(P0)/( (1+std::exp(P0))*(1+std::exp(P0)) );
K1 = -cte*P1*G4Exp(P0)/( (1+G4Exp(P0))*(1+G4Exp(P0)) );
K2 = -cte*std::exp(P0)*(
P2/( (1+std::exp(P0))*(1+std::exp(P0)) )
+2*P1*K1/(1+std::exp(P0))/cte
+P1*P1/(1+std::exp(P0))/(1+std::exp(P0))
K2 = -cte*G4Exp(P0)*(
P2/( (1+G4Exp(P0))*(1+G4Exp(P0)) )
+2*P1*K1/(1+G4Exp(P0))/cte
+P1*P1/(1+G4Exp(P0))/(1+G4Exp(P0))
);
K3 = -cte*std::exp(P0)*(
(3*P2*P1+P1*P1*P1)/(1+std::exp(P0))/(1+std::exp(P0))
+4*K1*(P1*P1+P2)/(1+std::exp(P0))/cte
+2*P1*(K1*K1/cte/cte+K2/(1+std::exp(P0))/cte)
K3 = -cte*G4Exp(P0)*(
(3*P2*P1+P1*P1*P1)/(1+G4Exp(P0))/(1+G4Exp(P0))
+4*K1*(P1*P1+P2)/(1+G4Exp(P0))/cte
+2*P1*(K1*K1/cte/cte+K2/(1+G4Exp(P0))/cte)
);
G0 = gradient[i]*cte/(1+std::exp(P0));
G0 = gradient[i]*cte/(1+G4Exp(P0));
G1 = gradient[i]*K1;
G2 = gradient[i]*K2;
G3 = gradient[i]*K3;