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 // Hadronic Process: Nuclear De-excitations 00029 // by V. Lara 00030 // 00031 // 00032 // 14/02/2007 Alex Howard - added protection for negative probabilities in the sum 00033 // 27/07/2009 V.Ivanchenko - added Combined decay channels (default + GEM) 00034 // 11/05/2010 V.Ivanchenko - rewrited technical part do not "new" and "delete" 00035 // of small objects 00036 // 22/04/2011 V.Ivanchenko - added maxZ and maxA for FermiBreakUp model 00037 // 23/01/2012 V.Ivanchenko added pointer of G4VPhotonEvaporation to the constructor 00038 00039 #ifndef G4Evaporation_h 00040 #define G4Evaporation_h 1 00041 00042 #include "globals.hh" 00043 00044 #include "G4VEvaporation.hh" 00045 #include "G4VEvaporationChannel.hh" 00046 #include "G4Fragment.hh" 00047 #include "G4UnstableFragmentBreakUp.hh" 00048 #include <vector> 00049 00050 class G4VEvaporationFactory; 00051 class G4NistManager; 00052 00053 class G4Evaporation : public G4VEvaporation 00054 { 00055 public: 00056 00057 G4Evaporation(); 00058 G4Evaporation(G4VEvaporationChannel* photoEvaporation); 00059 //G4Evaporation(std::vector<G4VEvaporationChannel*>* aChannelsVector); 00060 00061 virtual ~G4Evaporation(); 00062 00063 virtual void Initialise(); 00064 00065 G4FragmentVector * BreakItUp(const G4Fragment &theNucleus); 00066 00067 void SetDefaultChannel(); 00068 void SetGEMChannel(); 00069 void SetCombinedChannel(); 00070 00071 virtual void SetPhotonEvaporation(G4VEvaporationChannel* ptr); 00072 00073 private: 00074 00075 void CleanChannels(); 00076 00077 void SetParameters(); 00078 00079 void InitialiseEvaporation(); 00080 00081 G4Evaporation(const G4Evaporation &right); 00082 00083 const G4Evaporation & operator=(const G4Evaporation &right); 00084 G4bool operator==(const G4Evaporation &right) const; 00085 G4bool operator!=(const G4Evaporation &right) const; 00086 00087 std::vector<G4VEvaporationChannel*>* theChannels; 00088 std::vector<G4double> probabilities; 00089 G4VEvaporationFactory* theChannelFactory; 00090 size_t nChannels; 00091 G4int maxZforFBU; 00092 G4int maxAforFBU; 00093 G4double minExcitation; 00094 G4NistManager* nist; 00095 G4UnstableFragmentBreakUp unstableBreakUp; 00096 00097 }; 00098 00099 #endif 00100 00101 00102 00103 00104