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

#include <G4GEMCoulombBarrierHE.hh>

+ Inheritance diagram for G4GEMCoulombBarrierHE:

Public Member Functions

 G4GEMCoulombBarrierHE (G4int anA, G4int aZ)
 
 ~G4GEMCoulombBarrierHE ()
 
G4double GetCoulombBarrier (G4int ARes, G4int ZRes, G4double U) const
 
virtual G4double BarrierPenetrationFactor (G4double) const
 
G4double CalcCompoundRadius (G4int ARes) const
 
- Public Member Functions inherited from G4VCoulombBarrier
 G4VCoulombBarrier (G4int anA, G4int aZ)
 
virtual ~G4VCoulombBarrier ()
 
virtual G4double GetCoulombBarrier (G4int ARes, G4int ZRes, G4double U) const =0
 
G4int GetA (void) const
 
G4int GetZ (void) const
 

Detailed Description

Definition at line 39 of file G4GEMCoulombBarrierHE.hh.

Constructor & Destructor Documentation

◆ G4GEMCoulombBarrierHE()

G4GEMCoulombBarrierHE::G4GEMCoulombBarrierHE ( G4int  anA,
G4int  aZ 
)

Definition at line 37 of file G4GEMCoulombBarrierHE.cc.

Referenced by G4GEMCoulombBarrierHE().

◆ ~G4GEMCoulombBarrierHE()

G4GEMCoulombBarrierHE::~G4GEMCoulombBarrierHE ( )

Definition at line 41 of file G4GEMCoulombBarrierHE.cc.

42{}

Member Function Documentation

◆ BarrierPenetrationFactor()

virtual G4double G4GEMCoulombBarrierHE::BarrierPenetrationFactor ( G4double  ) const
inlinevirtual

Definition at line 59 of file G4GEMCoulombBarrierHE.hh.

60 {return 1.0;};

◆ CalcCompoundRadius()

G4double G4GEMCoulombBarrierHE::CalcCompoundRadius ( G4int  ARes) const

Definition at line 71 of file G4GEMCoulombBarrierHE.cc.

72{
73 G4Pow* g4pow = G4Pow::GetInstance();
74 G4double AresOneThird = g4pow->Z13(ARes);
75 G4double AejectOneThird = g4pow->Z13(GetA());
76
77 G4double Result = 1.12*(AresOneThird + AejectOneThird) -
78 0.86*(AresOneThird+AejectOneThird)/(AresOneThird*AejectOneThird);
79
80 return Result*fermi;
81}
double G4double
Definition: G4Types.hh:64
Definition: G4Pow.hh:54
static G4Pow * GetInstance()
Definition: G4Pow.cc:50
G4double Z13(G4int Z)
Definition: G4Pow.hh:110
G4int GetA(void) const

◆ GetCoulombBarrier()

G4double G4GEMCoulombBarrierHE::GetCoulombBarrier ( G4int  ARes,
G4int  ZRes,
G4double  U 
) const
virtual

Implements G4VCoulombBarrier.

Definition at line 44 of file G4GEMCoulombBarrierHE.cc.

46{
47 G4double Barrier = 0.0;
48 if (ZRes > ARes || ARes < 1) {
49 G4cout << "G4GEMCoulombBarrierHE::GetCoulombBarrier: "
50 << "Wrong values for "
51 << "residual nucleus A = " << ARes << " "
52 << "and residual nucleus Z = " << ZRes << G4endl;
53 throw G4HadronicException(__FILE__, __LINE__,"FATAL error");
54 }
55 if (GetZ() == 0) {
56 Barrier = 0.0; // If there is no charge there is neither barrier
57 } else {
58 G4double CompoundRadius = CalcCompoundRadius(ARes);
59 Barrier = ( elm_coupling * GetZ() * ZRes)/(CompoundRadius+3.75*fermi);
60
61 // Barrier penetration coeficient
62 // G4double K = BarrierPenetrationFactor(ZRes);
63 // Barrier *= K;
64
65 Barrier /= (1.0 + std::sqrt(U/static_cast<G4double>(2*ARes)));
66 }
67 return Barrier;
68}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
G4double CalcCompoundRadius(G4int ARes) const
G4int GetZ(void) const

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