#include <G4HETCProton.hh>
Inheritance diagram for G4HETCProton:
Public Member Functions | |
G4HETCProton () | |
~G4HETCProton () | |
Protected Member Functions | |
virtual G4double | GetAlpha () |
virtual G4double | GetBeta () |
virtual G4double | GetSpinFactor () |
virtual G4double | K (const G4Fragment &aFragment) |
Definition at line 41 of file G4HETCProton.hh.
G4HETCProton::G4HETCProton | ( | ) |
Definition at line 37 of file G4HETCProton.cc.
00038 : G4HETCChargedFragment(G4Proton::Proton(), &theProtonCoulombBarrier) 00039 {}
G4HETCProton::~G4HETCProton | ( | ) |
G4double G4HETCProton::GetAlpha | ( | ) | [protected, virtual] |
Implements G4HETCFragment.
Definition at line 44 of file G4HETCProton.cc.
References G4VPreCompoundFragment::GetRestZ().
00045 { 00046 G4int aZ = GetRestZ(); 00047 G4double C = 0.0; 00048 if (aZ >= 70) 00049 { 00050 C = 0.10; 00051 } 00052 else 00053 { 00054 C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; 00055 } 00056 return 1.0 + C; 00057 }
G4double G4HETCProton::GetBeta | ( | ) | [protected, virtual] |
Implements G4HETCFragment.
Definition at line 59 of file G4HETCProton.cc.
References G4VPreCompoundFragment::GetCoulombBarrier().
00060 { 00061 return -GetCoulombBarrier(); 00062 }
G4double G4HETCProton::GetSpinFactor | ( | ) | [protected, virtual] |
G4double G4HETCProton::K | ( | const G4Fragment & | aFragment | ) | [protected, virtual] |
Implements G4HETCFragment.
Definition at line 70 of file G4HETCProton.cc.
References G4Fragment::GetNumberOfHoles(), G4Fragment::GetNumberOfParticles(), G4VPreCompoundFragment::GetRestA(), G4VPreCompoundFragment::GetRestZ(), and G4VPreCompoundFragment::GetZ().
00071 { 00072 // Number of protons in emitted fragment 00073 G4int Pa = GetZ(); 00074 00075 G4int TargetZ = GetRestZ(); 00076 G4int TargetA = GetRestA(); 00077 G4double r = G4double(TargetZ)/G4double(TargetA); 00078 00079 G4int P = aFragment.GetNumberOfParticles(); 00080 G4int H = aFragment.GetNumberOfHoles(); 00081 00082 G4double result = 0.0; 00083 if (P > 0) 00084 { 00085 result = (H*r + Pa)/P/r; 00086 } 00087 00088 return std::max(0.0,result); 00089 }