Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4IonisParamElm.cc,v 1.14 2006/06/29 19:12:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4IonisParamElm.cc,v 1.15 2008/06/03 14:30:10 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
|
||||
@@ -46,21 +46,21 @@
|
||||
|
||||
G4IonisParamElm::G4IonisParamElm(G4double Z)
|
||||
{
|
||||
if (Z < 1.) G4Exception
|
||||
(" ERROR! It is not allowed to create an Element with Z < 1" );
|
||||
if (Z < 1.)
|
||||
G4Exception (" ERROR! It is not allowed to create an Element with Z < 1" );
|
||||
|
||||
// some basic functions of the atomic number
|
||||
fZ = Z;
|
||||
fZ3 = std::pow(fZ, 1./3.);
|
||||
fZZ3 = std::pow(fZ*(fZ+1.), 1./3.);
|
||||
flogZ3 = std::log(fZ)/3.;
|
||||
// some basic functions of the atomic number
|
||||
fZ = Z;
|
||||
fZ3 = std::pow(fZ, 1./3.);
|
||||
fZZ3 = std::pow(fZ*(fZ+1.), 1./3.);
|
||||
flogZ3 = std::log(fZ)/3.;
|
||||
|
||||
// Parameters for energy loss by ionisation
|
||||
// Parameters for energy loss by ionisation
|
||||
|
||||
// Mean excitation energy
|
||||
// from "Stopping Powers for Electrons and Positrons"
|
||||
// ICRU Report N#37, 1984 (energy in eV)
|
||||
static double exc[100] = {
|
||||
// Mean excitation energy
|
||||
// from "Stopping Powers for Electrons and Positrons"
|
||||
// ICRU Report N#37, 1984 (energy in eV)
|
||||
static double exc[100] = {
|
||||
21.8, 20.9, 13.3, 15.9, 15.2, 13.0, 11.7, 11.9, 11.5, 13.7,
|
||||
13.6, 13.0, 12.8, 12.4, 11.5, 11.3, 10.2, 10.4, 10.0, 9.6,
|
||||
10.3, 10.6, 10.7, 10.7, 10.9, 11.0, 11.0, 11.1, 11.1, 11.0,
|
||||
@@ -72,38 +72,74 @@ G4IonisParamElm::G4IonisParamElm(G4double Z)
|
||||
10.0, 10.0, 9.9, 9.9, 9.7, 9.2, 9.5, 9.4, 9.4, 9.4,
|
||||
9.6, 9.7, 9.7, 9.8, 9.8, 9.8, 9.8, 9.9, 9.9, 9.9 };
|
||||
|
||||
G4int iz = (G4int)Z - 1 ;
|
||||
if(0 > iz) iz = 0;
|
||||
else if(99 < iz) iz = 99 ;
|
||||
fMeanExcitationEnergy = fZ * exc[iz] * eV ;
|
||||
G4int iz = (G4int)Z - 1 ;
|
||||
if(0 > iz) iz = 0;
|
||||
else if(99 < iz) iz = 99 ;
|
||||
fMeanExcitationEnergy = fZ * exc[iz] * eV ;
|
||||
|
||||
// compute parameters for ion transport
|
||||
// The aproximation from:
|
||||
// J.F.Ziegler, J.P. Biersack, U. Littmark
|
||||
// The Stopping and Range of Ions in Matter,
|
||||
// Vol.1, Pergamon Press, 1985
|
||||
// Fast ions or hadrons
|
||||
|
||||
fTau0 = 0.1*fZ3*MeV/proton_mass_c2;
|
||||
fTaul = 2.*MeV/proton_mass_c2;
|
||||
if(91 < iz) iz = 91;
|
||||
|
||||
// compute the Bethe-Bloch formula for energy = fTaul*particle mass
|
||||
G4double rate = fMeanExcitationEnergy/electron_mass_c2 ;
|
||||
G4double w = fTaul*(fTaul+2.) ;
|
||||
fBetheBlochLow = (fTaul+1.)*(fTaul+1.)*std::log(2.*w/rate)/w - 1. ;
|
||||
fBetheBlochLow = 2.*fZ*twopi_mc2_rcl2*fBetheBlochLow ;
|
||||
static G4double vFermi[92] = {
|
||||
1.0309, 0.15976, 0.59782, 1.0781, 1.0486, 1.0, 1.058, 0.93942, 0.74562, 0.3424,
|
||||
0.45259, 0.71074, 0.90519, 0.97411, 0.97184, 0.89852, 0.70827, 0.39816, 0.36552, 0.62712,
|
||||
0.81707, 0.9943, 1.1423, 1.2381, 1.1222, 0.92705, 1.0047, 1.2, 1.0661, 0.97411,
|
||||
0.84912, 0.95, 1.0903, 1.0429, 0.49715, 0.37755, 0.35211, 0.57801, 0.77773, 1.0207,
|
||||
1.029, 1.2542, 1.122, 1.1241, 1.0882, 1.2709, 1.2542, 0.90094, 0.74093, 0.86054,
|
||||
0.93155, 1.0047, 0.55379, 0.43289, 0.32636, 0.5131, 0.695, 0.72591, 0.71202, 0.67413,
|
||||
0.71418, 0.71453, 0.5911, 0.70263, 0.68049, 0.68203, 0.68121, 0.68532, 0.68715, 0.61884,
|
||||
0.71801, 0.83048, 1.1222, 1.2381, 1.045, 1.0733, 1.0953, 1.2381, 1.2879, 0.78654,
|
||||
0.66401, 0.84912, 0.88433, 0.80746, 0.43357, 0.41923, 0.43638, 0.51464, 0.73087, 0.81065,
|
||||
1.9578, 1.0257} ;
|
||||
|
||||
static G4double lFactor[92] = {
|
||||
1.0, 1.0, 1.1, 1.06, 1.01, 1.03, 1.04, 0.99, 0.95, 0.9,
|
||||
0.82, 0.81, 0.83, 0.88, 1.0, 0.95, 0.97, 0.99, 0.98, 0.97,
|
||||
0.98, 0.97, 0.96, 0.93, 0.91, 0.9, 0.88, 0.9, 0.9, 0.9,
|
||||
0.9, 0.85, 0.9, 0.9, 0.91, 0.92, 0.9, 0.9, 0.9, 0.9,
|
||||
0.9, 0.88, 0.9, 0.88, 0.88, 0.9, 0.9, 0.88, 0.9, 0.9,
|
||||
0.9, 0.9, 0.96, 1.2, 0.9, 0.88, 0.88, 0.85, 0.9, 0.9,
|
||||
0.92, 0.95, 0.99, 1.03, 1.05, 1.07, 1.08, 1.1, 1.08, 1.08,
|
||||
1.08, 1.08, 1.09, 1.09, 1.1, 1.11, 1.12, 1.13, 1.14, 1.15,
|
||||
1.17, 1.2, 1.18, 1.17, 1.17, 1.16, 1.16, 1.16, 1.16, 1.16,
|
||||
1.16, 1.16} ;
|
||||
|
||||
fVFermi = vFermi[iz];
|
||||
fLFactor = lFactor[iz];
|
||||
|
||||
// obsolete parameters for ionisation
|
||||
fTau0 = 0.1*fZ3*MeV/proton_mass_c2;
|
||||
fTaul = 2.*MeV/proton_mass_c2;
|
||||
|
||||
// compute the Bethe-Bloch formula for energy = fTaul*particle mass
|
||||
G4double rate = fMeanExcitationEnergy/electron_mass_c2 ;
|
||||
G4double w = fTaul*(fTaul+2.) ;
|
||||
fBetheBlochLow = (fTaul+1.)*(fTaul+1.)*std::log(2.*w/rate)/w - 1. ;
|
||||
fBetheBlochLow = 2.*fZ*twopi_mc2_rcl2*fBetheBlochLow ;
|
||||
|
||||
fClow = std::sqrt(fTaul)*fBetheBlochLow;
|
||||
fAlow = 6.458040 * fClow/fTau0;
|
||||
G4double Taum = 0.035*fZ3*MeV/proton_mass_c2;
|
||||
fBlow =-3.229020*fClow/(fTau0*std::sqrt(Taum));
|
||||
fClow = std::sqrt(fTaul)*fBetheBlochLow;
|
||||
fAlow = 6.458040 * fClow/fTau0;
|
||||
G4double Taum = 0.035*fZ3*MeV/proton_mass_c2;
|
||||
fBlow =-3.229020*fClow/(fTau0*std::sqrt(Taum));
|
||||
|
||||
// Shell correction factors
|
||||
fShellCorrectionVector = new G4double[3]; //[3]
|
||||
rate = 0.001*fMeanExcitationEnergy/eV;
|
||||
G4double rate2 = rate*rate;
|
||||
// Shell correction parameterization
|
||||
fShellCorrectionVector = new G4double[3]; //[3]
|
||||
rate = 0.001*fMeanExcitationEnergy/eV;
|
||||
G4double rate2 = rate*rate;
|
||||
/*
|
||||
fShellCorrectionVector[0] = ( 1.10289e5 + 5.14781e8*rate)*rate2 ;
|
||||
fShellCorrectionVector[1] = ( 7.93805e3 - 2.22565e7*rate)*rate2 ;
|
||||
fShellCorrectionVector[2] = (-9.92256e1 + 2.10823e5*rate)*rate2 ;
|
||||
*/
|
||||
fShellCorrectionVector[0] = ( 0.422377 + 3.858019*rate)*rate2 ;
|
||||
fShellCorrectionVector[1] = ( 0.0304043 - 0.1667989*rate)*rate2 ;
|
||||
fShellCorrectionVector[2] = (-0.00038106 + 0.00157955*rate)*rate2 ;
|
||||
fShellCorrectionVector[0] = ( 0.422377 + 3.858019*rate)*rate2 ;
|
||||
fShellCorrectionVector[1] = ( 0.0304043 - 0.1667989*rate)*rate2 ;
|
||||
fShellCorrectionVector[2] = (-0.00038106 + 0.00157955*rate)*rate2 ;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
|
||||
|
||||
Reference in New Issue
Block a user