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 00031 00032 #ifndef G4StatMFFragment_h 00033 #define G4StatMFFragment_h 1 00034 00035 #include "G4StatMFParameters.hh" 00036 #include "G4ThreeVector.hh" 00037 #include "G4ParticleTable.hh" 00038 #include "G4IonTable.hh" 00039 #include "G4Fragment.hh" 00040 00041 class G4StatMFFragment { 00042 00043 public: 00044 // Constructor 00045 G4StatMFFragment(G4int anA, G4int aZ) : 00046 theA(anA),theZ(aZ), 00047 _position(0.0,0.0,0.0), 00048 _momentum(0.0,0.0,0.0) 00049 {} 00050 00051 00052 // Destructor 00053 virtual ~G4StatMFFragment() {}; 00054 00055 00056 private: 00057 // Default constructor 00058 G4StatMFFragment(){}; 00059 00060 // Copy constructor 00061 G4StatMFFragment(const G4StatMFFragment & right); 00062 00063 // operators 00064 G4StatMFFragment & operator=(const G4StatMFFragment & right); 00065 public: 00066 G4bool operator==(const G4StatMFFragment & right) const; 00067 G4bool operator!=(const G4StatMFFragment & right) const; 00068 00069 public: 00070 00071 G4double GetCoulombEnergy(void) const; 00072 00073 G4double GetEnergy(const G4double T) const; 00074 00075 G4double GetInvLevelDensity(void) const; 00076 00077 G4int GetA(void) const {return theA;} 00078 00079 G4int GetZ(void) const {return theZ;} 00080 00081 void SetPosition(const G4ThreeVector aPosition) {_position = aPosition;} 00082 00083 G4ThreeVector GetPosition(void) {return _position;} 00084 00085 void SetMomentum(const G4ThreeVector aMomentum) {_momentum = aMomentum;} 00086 00087 G4ThreeVector GetMomentum(void) {return _momentum;} 00088 00089 G4Fragment * GetFragment(const G4double T); 00090 00091 G4double GetNuclearMass(void) 00092 {return G4ParticleTable::GetParticleTable()->GetIonTable() 00093 ->GetIonMass(theZ, theA);} 00094 00095 00096 private: 00097 00098 G4double CalcExcitationEnergy(const G4double T); 00099 00100 private: 00101 00102 G4int theA; 00103 00104 G4int theZ; 00105 00106 G4ThreeVector _position; 00107 00108 G4ThreeVector _momentum; 00109 }; 00110 00111 #endif 00112