Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4WilsonRadius Class Reference

#include <G4WilsonRadius.hh>

Public Member Functions

 G4WilsonRadius ()
 
 ~G4WilsonRadius ()
 
G4double GetWilsonRMSRadius (G4double A)
 
G4double GetWilsonRadius (G4double A)
 

Detailed Description

Definition at line 78 of file G4WilsonRadius.hh.

Constructor & Destructor Documentation

◆ G4WilsonRadius()

G4WilsonRadius::G4WilsonRadius ( )

Definition at line 67 of file G4WilsonRadius.cc.

68{
69 G4double r0 = 0.84*fermi;
70 r0sq = r0 * r0;
71 factor = std::sqrt(5.0/3.0) * fermi;
72 third = 1.0 / 3.0;
73}
double G4double
Definition: G4Types.hh:64

◆ ~G4WilsonRadius()

G4WilsonRadius::~G4WilsonRadius ( )

Definition at line 76 of file G4WilsonRadius.cc.

77{;}

Member Function Documentation

◆ GetWilsonRadius()

G4double G4WilsonRadius::GetWilsonRadius ( G4double  A)

Definition at line 102 of file G4WilsonRadius.cc.

103{
105 return 1.29*std::sqrt(r*r-r0sq);
106}
G4double GetWilsonRMSRadius(G4double A)

Referenced by G4WilsonAbrasionModel::ApplyYourself(), and G4NuclearAbrasionGeometry::G4NuclearAbrasionGeometry().

◆ GetWilsonRMSRadius()

G4double G4WilsonRadius::GetWilsonRMSRadius ( G4double  A)

Definition at line 80 of file G4WilsonRadius.cc.

81{
82 G4double radius;
83 if (A > 26.0)
84 radius = factor * (0.84*std::pow(A,third) + 0.55);
85 else
86 {
87 // this was changed from just G4double to static const G4double
88 // to make sure that time wasn't being wasted on every call reloading a stack variable
89 // by MHM 20050119
90 static const G4double r[27] = {0.0, 0.85, 2.095, 1.976, 1.671, 1.986,
91 2.57, 2.41, 2.23, 2.519, 2.45,
92 2.42, 2.471, 2.440, 2.58, 2.611,
93 2.730, 2.662, 2.727, 2.9, 3.040,
94 2.867, 2.969, 2.94, 3.075, 3.11,
95 3.06};
96 radius = factor * r[(G4int) (A+0.4)];
97 }
98 return radius;
99}
int G4int
Definition: G4Types.hh:66

Referenced by G4TripathiLightCrossSection::GetElementCrossSection(), and GetWilsonRadius().


The documentation for this class was generated from the following files: