00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id$ 00028 // 00029 // Hadronic Process: Nuclear De-excitations 00030 // by V. Lara (Oct 1998) 00031 // 00032 // Modif (03 September 2008) by J. M. Quesada for external choice of inverse 00033 // cross section option 00034 // JMQ (06 September 2008) Also external choices have been added for 00035 // superimposed Coulomb barrier (if useSICB is set true, by default is false) 00036 00037 00038 #ifndef G4VEmissionProbability_h 00039 #define G4VEmissionProbability_h 1 00040 00041 00042 #include "globals.hh" 00043 #include "G4Fragment.hh" 00044 #include "G4PairingCorrection.hh" 00045 #include "G4EvaporationLevelDensityParameter.hh" 00046 #include "G4Pow.hh" 00047 00048 class G4VEmissionProbability 00049 { 00050 public: 00051 G4VEmissionProbability(); 00052 virtual ~G4VEmissionProbability(); 00053 00054 private: 00055 G4VEmissionProbability(const G4VEmissionProbability &right); 00056 00057 const G4VEmissionProbability & operator=(const G4VEmissionProbability &right); 00058 G4bool operator==(const G4VEmissionProbability &right) const; 00059 G4bool operator!=(const G4VEmissionProbability &right) const; 00060 00061 public: 00062 virtual G4double EmissionProbability(const G4Fragment & fragment, const G4double anEnergy) = 0; 00063 00064 // for cross section selection 00065 inline void SetOPTxs(G4int opt) { OPTxs = opt; } 00066 // for superimposed Coulomb Barrier for inverse cross sections 00067 inline void UseSICB(G4bool use) { useSICB = use; } 00068 00069 protected: 00070 G4int OPTxs; 00071 G4bool useSICB; 00072 00073 G4Pow* fG4pow; 00074 G4PairingCorrection* fPairCorr; 00075 G4EvaporationLevelDensityParameter * theEvapLDPptr; 00076 00077 }; 00078 00079 00080 #endif