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 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // 00030 // GEANT4 class file 00031 // 00032 // CERN, Geneva, Switzerland 00033 // 00034 // File name: G4PromptPhotonEvaporation 00035 // 00036 // Author: Vladimir Ivantchenko 00037 // 00038 // Creation date: 20 December 2011 00039 // 00040 //Modifications: 00041 // 00042 // 00043 // ------------------------------------------------------------------- 00044 00045 #ifndef G4PROMPTPHOTONEVAPORATION_HH 00046 #define G4PROMPTPHOTONEVAPORATION_HH 1 00047 00048 #include "globals.hh" 00049 #include "G4VEvaporationChannel.hh" 00050 00051 class G4Fragment; 00052 class G4NuclearLevelManager; 00053 class G4NuclearLevelStore; 00054 00055 class G4PromptPhotonEvaporation : public G4VEvaporationChannel { 00056 00057 public: 00058 00059 G4PromptPhotonEvaporation(); 00060 00061 virtual ~G4PromptPhotonEvaporation(); 00062 00063 virtual G4double GetEmissionProbability(G4Fragment* theNucleus); 00064 00065 // one photon emission 00066 virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus); 00067 00068 // full fragment de-excitation by photon emission 00069 virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus); 00070 00071 // obsolete method 00072 virtual G4FragmentVector* BreakUp(const G4Fragment& theNucleus); 00073 00074 inline void SetVerboseLevel(G4int verbose); 00075 00076 inline void SetICM(G4bool); 00077 00078 inline void RDMForced (G4bool); 00079 00080 inline void SetMaxHalfLife(G4double); 00081 00082 private: 00083 00084 G4PromptPhotonEvaporation(const G4PromptPhotonEvaporation & right); 00085 const G4PromptPhotonEvaporation & operator = (const G4PromptPhotonEvaporation & right); 00086 00087 G4int fVerbose; 00088 G4bool fICM; 00089 G4bool fRDM; 00090 G4double fMaxHalfTime; 00091 G4double fEmissionProbability; 00092 00093 G4NuclearLevelManager* levelManager; 00094 G4NuclearLevelStore* fNuclearLevelStore; 00095 00096 const G4Fragment* nucleus; 00097 00098 G4int theZ; 00099 G4int theA; 00100 G4double fEnergyFermi; 00101 G4double fExcEnergyMax; 00102 00103 G4double gammaE; 00104 00105 }; 00106 00107 inline void G4PromptPhotonEvaporation::SetVerboseLevel(G4int verbose) 00108 { 00109 fVerbose = verbose; 00110 } 00111 00112 inline void G4PromptPhotonEvaporation::SetICM(G4bool val) 00113 { 00114 fICM = val; 00115 } 00116 00117 inline void G4PromptPhotonEvaporation::RDMForced (G4bool val) 00118 { 00119 fRDM = val; 00120 } 00121 00122 inline void G4PromptPhotonEvaporation::SetMaxHalfLife(G4double val) 00123 { 00124 fMaxHalfTime = val; 00125 } 00126 00127 #endif