[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 | // |
---|
[1196] | 27 | // $Id: G4He3GEMProbability.cc,v 1.5 2009/09/15 12:54:17 vnivanch Exp $ |
---|
[1228] | 28 | // GEANT4 tag $Name: geant4-09-03 $ |
---|
[819] | 29 | // |
---|
| 30 | // Hadronic Process: Nuclear De-excitations |
---|
| 31 | // by V. Lara (Nov 1999) |
---|
| 32 | // |
---|
[1196] | 33 | // J.M. Quesada (July 2009) C's and k's values according to Furihata's paper |
---|
| 34 | // (based on notes added on proof in Dostrovskii's paper) |
---|
[819] | 35 | |
---|
| 36 | #include "G4He3GEMProbability.hh" |
---|
| 37 | |
---|
| 38 | G4He3GEMProbability::G4He3GEMProbability() : |
---|
| 39 | G4GEMProbability(3,2,1.0/2.0) // A,Z,Gamma |
---|
| 40 | { |
---|
| 41 | SetExcitationEnergiesPtr(&ExcitEnergies); |
---|
| 42 | SetExcitationSpinsPtr(&ExcitSpins); |
---|
| 43 | SetExcitationLifetimesPtr(&ExcitLifetimes); |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | G4He3GEMProbability::G4He3GEMProbability(const G4He3GEMProbability &) : G4GEMProbability() |
---|
| 48 | { |
---|
| 49 | throw G4HadronicException(__FILE__, __LINE__, "G4He3GEMProbability::copy_constructor meant to not be accessable"); |
---|
| 50 | } |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | const G4He3GEMProbability & G4He3GEMProbability:: |
---|
| 56 | operator=(const G4He3GEMProbability &) |
---|
| 57 | { |
---|
| 58 | throw G4HadronicException(__FILE__, __LINE__, "G4He3GEMProbability::operator= meant to not be accessable"); |
---|
| 59 | return *this; |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | G4bool G4He3GEMProbability::operator==(const G4He3GEMProbability &) const |
---|
| 64 | { |
---|
| 65 | return false; |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | G4bool G4He3GEMProbability::operator!=(const G4He3GEMProbability &) const |
---|
| 69 | { |
---|
| 70 | return true; |
---|
| 71 | } |
---|
| 72 | |
---|
[1196] | 73 | //JMQ 190709 C's values from Furihata's paper |
---|
| 74 | //(notes added on proof in Dostrovskii's paper) |
---|
| 75 | G4double G4He3GEMProbability::CCoeficient(const G4double/* aZ*/) const |
---|
| 76 | { |
---|
| 77 | return 0.; |
---|
| 78 | } |
---|
[819] | 79 | |
---|
[1196] | 80 | |
---|
| 81 | //G4double G4He3GEMProbability::CCoeficient(const G4double aZ) const |
---|
| 82 | //{ |
---|
[819] | 83 | // Data comes from |
---|
| 84 | // Dostrovsky, Fraenkel and Friedlander |
---|
| 85 | // Physical Review, vol 116, num. 3 1959 |
---|
| 86 | // |
---|
| 87 | // const G4int size = 5; |
---|
| 88 | // G4double Zlist[5] = { 10.0, 20.0, 30.0, 50.0, 70.0}; |
---|
| 89 | // G4double Calpha[5] = { 0.10, 0.10, 0.10, 0.08, 0.06}; |
---|
| 90 | // C for He3 is equal to C for alpha times 4/3 |
---|
[1196] | 91 | // G4double C = 0.0; |
---|
[819] | 92 | |
---|
| 93 | |
---|
[1196] | 94 | // if (aZ <= 30) { |
---|
| 95 | // C = 0.10; |
---|
| 96 | // } else if (aZ <= 50) { |
---|
| 97 | // C = 0.1 + -((aZ-50.)/20.)*0.02; |
---|
| 98 | // } else if (aZ < 70) { |
---|
| 99 | // C = 0.08 + -((aZ-70.)/20.)*0.02; |
---|
| 100 | // } else { |
---|
| 101 | // C = 0.06; |
---|
| 102 | // } |
---|
| 103 | // return C*(4.0/3.0); |
---|
| 104 | //} |
---|
[819] | 105 | |
---|