Geant4 11.1.1
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 68 of file G4WilsonRadius.cc.

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

◆ ~G4WilsonRadius()

G4WilsonRadius::~G4WilsonRadius ( )

Definition at line 77 of file G4WilsonRadius.cc.

78{;}

Member Function Documentation

◆ GetWilsonRadius()

G4double G4WilsonRadius::GetWilsonRadius ( G4double  A)

Definition at line 103 of file G4WilsonRadius.cc.

104{
106 return 1.29*std::sqrt(r*r-r0sq);
107}
const G4double A[17]
G4double GetWilsonRMSRadius(G4double A)

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

◆ GetWilsonRMSRadius()

G4double G4WilsonRadius::GetWilsonRMSRadius ( G4double  A)

Definition at line 81 of file G4WilsonRadius.cc.

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

Referenced by GetWilsonRadius().


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