Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4hZiegler1977Nuclear.cc
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// -------------------------------------------------------------------
28//
29// GEANT4 Class file
30//
31//
32// File name: G4hZiegler1977Nuclear
33//
34// Author: V.Ivanchenko ([email protected])
35//
36// Creation date: 20 July 2000
37//
38// Modifications:
39// 20/07/2000 V.Ivanchenko First implementation
40//
41// Class Description:
42//
43// Nuclear stopping power parametrised according to
44// J.F.Ziegler, Helium Stopping Powers and
45// Ranges in All Elemental Matter, Vol.4, Pergamon Press, 1977
46//
47// Class Description: End
48//
49// -------------------------------------------------------------------
50//
51//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
52
54
55#include "globals.hh"
56#include "Randomize.hh"
57#include "G4SystemOfUnits.hh"
58#include "G4UnitsTable.hh"
59
60//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
61
63{;}
64
65//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
66
68{;}
69
70//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
71
73 G4double z1, G4double z2,
74 G4double m1, G4double m2Local) const
75{
76 G4double energy = kineticEnergy/keV ; // energy in keV
77 G4double ionloss ;
78
79 G4double rm = (m1 + m2Local) * std::sqrt( std::pow(z1, 0.667) + std::pow(z2, 0.667) ) ;
80
81 G4double er = 32.53 * m2Local * energy / ( z1 * z2 * rm ) ; // reduced energy
82
83 if ( er < 0.01 ) {
84 ionloss = std::sqrt(er) * 1.593 ;
85
86 } else if ( er < 10.0 ) {
87 ionloss = 1.7 * std::sqrt(er) * std::log(er + std::exp(1.0)) /
88 (1.0 + 6.8 * er + 3.4 * std::pow(er, 1.5)) ;
89
90 } else {
91 ionloss = std::log(0.47 * er) * 0.5 / er ;
92 }
93
94 // Stragling
95 if(lossFlucFlag) {
96 G4double sig = 4.0 * m1 * m2Local * std::sqrt( (std::pow(z1, 0.23) + std::pow(z2, 0.23)) /
97 (std::pow(z1, 0.667) + std::pow(z2, 0.667)) )
98 / ((m1 +m2Local)*(m1 + m2Local)*
99 (4.0 + 0.197*std::pow(er,-1.6991)+6.584*std::pow(er,-1.0494))) ;
100
101 ionloss *= G4RandGauss::shoot(1.0,sig) ;
102 }
103
104 ionloss *= 8.462 * z1 * z2 * m1 / rm ; // Return to [ev/(10^15 atoms/cm^2]
105
106 if ( ionloss < 0.0) ionloss = 0.0 ;
107
108 return ionloss;
109}
110
111
112
double G4double
Definition: G4Types.hh:64
G4double NuclearStoppingPower(G4double kineticEnergy, G4double z1, G4double z2, G4double m1, G4double m2) const