[819] | 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 | // |
---|
[962] | 27 | // $Id: G4ProtonCoulombBarrier.cc,v 1.5 2008/09/19 13:32:54 ahoward Exp $ |
---|
[1228] | 28 | // GEANT4 tag $Name: geant4-09-03 $ |
---|
[819] | 29 | // |
---|
| 30 | // Hadronic Process: Nuclear De-excitations |
---|
| 31 | // by V. Lara (Dec 1999) |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | #include "G4ProtonCoulombBarrier.hh" |
---|
| 35 | |
---|
| 36 | G4ProtonCoulombBarrier::G4ProtonCoulombBarrier(const G4ProtonCoulombBarrier & ) : G4CoulombBarrier() |
---|
| 37 | { |
---|
| 38 | throw G4HadronicException(__FILE__, __LINE__, "G4ProtonCoulombBarrier::copy_constructor meant to not be accessable."); |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | const G4ProtonCoulombBarrier & G4ProtonCoulombBarrier::operator=(const G4ProtonCoulombBarrier & ) |
---|
| 43 | { |
---|
| 44 | throw G4HadronicException(__FILE__, __LINE__, "G4ProtonCoulombBarrier::operator= meant to not be accessable."); |
---|
| 45 | return *this; |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | G4bool G4ProtonCoulombBarrier::operator==(const G4ProtonCoulombBarrier & ) const |
---|
| 49 | { |
---|
| 50 | return false; |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | G4bool G4ProtonCoulombBarrier::operator!=(const G4ProtonCoulombBarrier & ) const |
---|
| 54 | { |
---|
| 55 | return true; |
---|
| 56 | } |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | G4double G4ProtonCoulombBarrier::BarrierPenetrationFactor(const G4double aZ) const |
---|
| 60 | { |
---|
| 61 | // Data comes from |
---|
| 62 | // Dostrovsky, Fraenkel and Friedlander |
---|
| 63 | // Physical Review, vol 116, num. 3 1959 |
---|
| 64 | // |
---|
| 65 | // const G4int size = 5; |
---|
| 66 | // const G4double Zlist[size] = {10.0, 20.0, 30.0, 50.0, 70.0}; |
---|
| 67 | // const G4double Kprot[size] = {0.42, 0.58, 0.68, 0.77, 0.80}; |
---|
| 68 | G4double K = 1.0; |
---|
| 69 | if (aZ>=70.0) { |
---|
| 70 | K = 0.80; |
---|
| 71 | } else { |
---|
| 72 | K = (((0.2357e-5*aZ) - 0.42679e-3)*aZ + 0.27035e-1)*aZ + 0.19025; |
---|
| 73 | } |
---|
| 74 | return K; |
---|
| 75 | } |
---|