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 | // $Id: G4GEMCoulombBarrierHE.cc,v 1.7 2009/09/15 12:54:17 vnivanch Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-03-cand-01 $ |
---|
29 | // |
---|
30 | // Hadronic Process: Nuclear De-excitations |
---|
31 | // by V. Lara (Dec 1999) |
---|
32 | |
---|
33 | |
---|
34 | #include "G4GEMCoulombBarrierHE.hh" |
---|
35 | #include "G4HadronicException.hh" |
---|
36 | #include <sstream> |
---|
37 | |
---|
38 | G4GEMCoulombBarrierHE::G4GEMCoulombBarrierHE(const G4GEMCoulombBarrierHE & ) : G4VCoulombBarrier() |
---|
39 | { |
---|
40 | throw G4HadronicException(__FILE__, __LINE__, "G4GEMCoulombBarrierHE::copy_constructor meant to not be accessable."); |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
44 | const G4GEMCoulombBarrierHE & G4GEMCoulombBarrierHE::operator=(const G4GEMCoulombBarrierHE & ) |
---|
45 | { |
---|
46 | throw G4HadronicException(__FILE__, __LINE__, "G4GEMCoulombBarrierHE::operator= meant to not be accessable."); |
---|
47 | return *this; |
---|
48 | } |
---|
49 | |
---|
50 | G4bool G4GEMCoulombBarrierHE::operator==(const G4GEMCoulombBarrierHE & ) const |
---|
51 | { |
---|
52 | return false; |
---|
53 | } |
---|
54 | |
---|
55 | G4bool G4GEMCoulombBarrierHE::operator!=(const G4GEMCoulombBarrierHE & ) const |
---|
56 | { |
---|
57 | return true; |
---|
58 | } |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | G4double G4GEMCoulombBarrierHE::GetCoulombBarrier(const G4int ARes, const G4int ZRes, const G4double U) const |
---|
63 | // Calculation of Coulomb potential energy (barrier) for outgoing fragment |
---|
64 | { |
---|
65 | G4double Barrier = 0.0; |
---|
66 | if (ZRes > ARes || ARes < 1) { |
---|
67 | std::ostringstream errOs; |
---|
68 | errOs << "G4GEMCoulombBarrierHE::GetCoulombBarrier: "; |
---|
69 | errOs << "Wrong values for "; |
---|
70 | errOs << "residual nucleus A = " << ARes << " "; |
---|
71 | errOs << "and residual nucleus Z = " << ZRes << G4endl; |
---|
72 | throw G4HadronicException(__FILE__, __LINE__, errOs.str()); |
---|
73 | } |
---|
74 | if (GetZ() == 0) { |
---|
75 | Barrier = 0.0; // If there is no charge there is neither barrier |
---|
76 | } else { |
---|
77 | G4double CompoundRadius = CalcCompoundRadius(static_cast<G4double>(ARes)); |
---|
78 | Barrier = ( elm_coupling * static_cast<G4double>(GetZ()) * static_cast<G4double>(ZRes) )/ |
---|
79 | (CompoundRadius+3.75*fermi); |
---|
80 | |
---|
81 | // Barrier penetration coeficient |
---|
82 | // G4double K = BarrierPenetrationFactor(ZRes); |
---|
83 | |
---|
84 | // Barrier *= K; |
---|
85 | |
---|
86 | Barrier /= (1.0 + std::sqrt(U/(2.0*static_cast<G4double>(ARes)))); |
---|
87 | } |
---|
88 | return Barrier; |
---|
89 | } |
---|
90 | |
---|
91 | |
---|
92 | G4double G4GEMCoulombBarrierHE::CalcCompoundRadius(const G4double ARes) const |
---|
93 | { |
---|
94 | G4double AresOneThird = std::pow(ARes,1.0/3.0); |
---|
95 | G4double AejectOneThird = std::pow(G4double(GetA()),1.0/3.0); |
---|
96 | |
---|
97 | G4double Result = 1.12*(AresOneThird + AejectOneThird) - |
---|
98 | 0.86*(AresOneThird+AejectOneThird)/(AresOneThird*AejectOneThird); |
---|
99 | |
---|
100 | return Result*fermi; |
---|
101 | } |
---|
102 | |
---|
103 | |
---|