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 00033 00034 #ifndef G4GEMChannel_h 00035 #define G4GEMChannel_h 1 00036 00037 #include "G4VEvaporationChannel.hh" 00038 #include "G4GEMProbability.hh" 00039 #include "G4VLevelDensityParameter.hh" 00040 #include "G4VCoulombBarrier.hh" 00041 #include "G4EvaporationLevelDensityParameter.hh" 00042 #include "G4NucleiProperties.hh" 00043 #include "Randomize.hh" 00044 #include "G4ParticleTable.hh" 00045 #include "G4IonTable.hh" 00046 00047 class G4Pow; 00048 00049 class G4GEMChannel : public G4VEvaporationChannel 00050 { 00051 public: 00052 00053 G4GEMChannel(const G4int theA, const G4int theZ, const G4String & aName, 00054 G4GEMProbability * aEmissionStrategy, 00055 G4VCoulombBarrier * aCoulombBarrier); 00056 00057 // destructor 00058 virtual ~G4GEMChannel(); 00059 00060 virtual G4double GetEmissionProbability(G4Fragment* theNucleus); 00061 00062 virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus); 00063 00064 inline void SetLevelDensityParameter(G4VLevelDensityParameter * aLevelDensity) 00065 { 00066 if (MyOwnLevelDensity) { delete theLevelDensityPtr; } 00067 theLevelDensityPtr = aLevelDensity; 00068 MyOwnLevelDensity = false; 00069 } 00070 00071 inline G4double GetMaximalKineticEnergy(void) const 00072 { return MaximalKineticEnergy; } 00073 00074 private: 00075 00076 // Calculate Binding Energy for separate fragment from nucleus 00077 G4double CalcBindingEnergy(G4int anA, G4int aZ); 00078 00079 // Calculate maximal kinetic energy that can be carried by fragment (in MeV) 00080 G4double CalcMaximalKineticEnergy(G4double U); 00081 00082 // Samples fragment kinetic energy. 00083 G4double CalcKineticEnergy(const G4Fragment & fragment); 00084 00085 // This has to be removed and put in Random Generator 00086 G4ThreeVector IsotropicVector(G4double Magnitude = 1.0); 00087 00088 private: 00089 00090 G4GEMChannel(const G4GEMChannel & right); 00091 const G4GEMChannel & operator=(const G4GEMChannel & right); 00092 G4bool operator==(const G4GEMChannel & right) const; 00093 G4bool operator!=(const G4GEMChannel & right) const; 00094 00095 // Data Members ************ 00096 // This data member define the channel. 00097 // They are intializated at object creation (constructor) time. 00098 00099 // Atomic Number 00100 G4int A; 00101 00102 // Charge 00103 G4int Z; 00104 00105 G4double EvaporatedMass; 00106 G4double ResidualMass; 00107 00108 G4Pow* fG4pow; 00109 00110 // For evaporation probability calcualtion 00111 G4GEMProbability * theEvaporationProbabilityPtr; 00112 00113 // For Level Density calculation 00114 G4bool MyOwnLevelDensity; 00115 G4VLevelDensityParameter * theLevelDensityPtr; 00116 00117 // For Coulomb Barrier calculation 00118 G4VCoulombBarrier * theCoulombBarrierPtr; 00119 G4double CoulombBarrier; 00120 00121 //--------------------------------------------------- 00122 00123 // These values depend on the nucleus that is being evaporated. 00124 // They are calculated through the Initialize method which takes as parameters 00125 // the atomic number, charge and excitation energy of nucleus. 00126 00127 // Residual Atomic Number 00128 G4int ResidualA; 00129 00130 // Residual Charge 00131 G4int ResidualZ; 00132 00133 // Emission Probability 00134 G4double EmissionProbability; 00135 00136 // Maximal Kinetic Energy that can be carried by fragment 00137 G4double MaximalKineticEnergy; 00138 00139 00140 }; 00141 00142 00143 #endif