Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:58:25

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //J.M. Quesada (August2008). Based on:
0028 //
0029 // Hadronic Process: Nuclear De-excitations
0030 // by V. Lara (Oct 1998)
0031 //
0032 // V.Ivanchenko general clean-up since 2010
0033 //
0034 #ifndef G4EvaporationProbability_h
0035 #define G4EvaporationProbability_h 1
0036 
0037 #include "G4VEmissionProbability.hh"
0038 
0039 class G4VCoulombBarrier;
0040 class G4InterfaceToXS;
0041 
0042 class G4EvaporationProbability : public G4VEmissionProbability
0043 {
0044 public:
0045 
0046   explicit G4EvaporationProbability(G4int anA, G4int aZ, 
0047                                     G4double aGamma); 
0048 
0049   ~G4EvaporationProbability() override;
0050 
0051   // general method used for evaporation
0052   virtual G4double TotalProbability(const G4Fragment& fragment,
0053                                     G4double minKinEnergy,
0054                         G4double maxKinEnergy,
0055                         G4double CB, G4double exEnergy);
0056 
0057   // main method to compute full probability for OPTx > 2
0058   G4double ComputeProbability(G4double K, G4double CB) override;
0059 
0060   G4double CrossSection(G4double K, G4double CB);
0061 
0062   G4double RecentXS() const { return recentXS; };
0063   
0064   // Copy constructor
0065   G4EvaporationProbability(const G4EvaporationProbability &right) = delete;
0066   const G4EvaporationProbability & operator=
0067   (const G4EvaporationProbability &right) = delete;
0068   G4bool operator==(const G4EvaporationProbability &right) const = delete;
0069   G4bool operator!=(const G4EvaporationProbability &right) const = delete;
0070 
0071 protected:
0072 
0073   virtual G4double CalcAlphaParam(const G4Fragment& fragment);
0074  
0075   virtual G4double CalcBetaParam(const G4Fragment& fragment);
0076 
0077 private:
0078 
0079   G4double resA13;
0080   G4double lastA;
0081   G4double muu;
0082   G4double freeU;
0083   G4double a0;
0084   G4double a1;
0085   G4double delta0;
0086   G4double delta1;
0087 
0088   // Gamma is A_f(2S_f+1) factor, where A_f is fragment atomic 
0089   // number and S_f is fragment spin
0090   G4double fGamma;
0091   G4double pcoeff;
0092   G4double recentXS{0.0};
0093 
0094   G4InterfaceToXS* fXSection{nullptr};
0095   G4int index{0};
0096 };
0097 
0098 #endif