Geant4 Cross Reference |
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 //J.M. Quesada (August2008). Based on: 28 // 29 // Hadronic Process: Nuclear De-excitations 30 // by V. Lara (Oct 1998) 31 // 32 // V.Ivanchenko general clean-up since 2010 33 // 34 #ifndef G4EvaporationProbability_h 35 #define G4EvaporationProbability_h 1 36 37 #include "G4VEmissionProbability.hh" 38 39 class G4VCoulombBarrier; 40 class G4InterfaceToXS; 41 42 class G4EvaporationProbability : public G4VEmissionProbability 43 { 44 public: 45 46 explicit G4EvaporationProbability(G4int anA, G4int aZ, 47 G4double aGamma); 48 49 ~G4EvaporationProbability() override; 50 51 // general method used for evaporation 52 virtual G4double TotalProbability(const G4Fragment& fragment, 53 G4double minKinEnergy, 54 G4double maxKinEnergy, 55 G4double CB, G4double exEnergy); 56 57 // main method to compute full probability for OPTx > 2 58 G4double ComputeProbability(G4double K, G4double CB) override; 59 60 G4double CrossSection(G4double K, G4double CB); 61 62 G4double RecentXS() const { return recentXS; }; 63 64 // Copy constructor 65 G4EvaporationProbability(const G4EvaporationProbability &right) = delete; 66 const G4EvaporationProbability & operator= 67 (const G4EvaporationProbability &right) = delete; 68 G4bool operator==(const G4EvaporationProbability &right) const = delete; 69 G4bool operator!=(const G4EvaporationProbability &right) const = delete; 70 71 protected: 72 73 virtual G4double CalcAlphaParam(const G4Fragment& fragment); 74 75 virtual G4double CalcBetaParam(const G4Fragment& fragment); 76 77 private: 78 79 G4double resA13; 80 G4double lastA; 81 G4double muu; 82 G4double freeU; 83 G4double a0; 84 G4double a1; 85 G4double delta0; 86 G4double delta1; 87 88 // Gamma is A_f(2S_f+1) factor, where A_f is fragment atomic 89 // number and S_f is fragment spin 90 G4double fGamma; 91 G4double pcoeff; 92 G4double recentXS{0.0}; 93 94 G4InterfaceToXS* fXSection{nullptr}; 95 G4int index{0}; 96 }; 97 98 #endif 99