Changeset 1347 for trunk/source/processes/hadronic/models/de_excitation/fermi_breakup/include/G4VFermiFragment.hh
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/fermi_breakup/include/G4VFermiFragment.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4VFermiFragment.hh,v 1. 3 2006/06/29 20:12:37 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4VFermiFragment.hh,v 1.4 2010/10/29 17:35:03 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Hadronic Process: Nuclear De-excitations … … 35 35 36 36 #include "G4FragmentVector.hh" 37 #include "G4NucleiProperties.hh" 38 #include "G4ParticleTable.hh" 39 #include "G4IonTable.hh" 37 #include "globals.hh" 40 38 41 39 class G4VFermiFragment 42 40 { 43 41 public: 44 G4VFermiFragment(const G4int anA, const G4int aZ, const G4int Pol, const G4double ExE): 45 A(anA), 46 Z(aZ), 47 Polarization(Pol), 48 ExcitEnergy(ExE) 49 {} 42 G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE); 50 43 51 virtual ~G4VFermiFragment() {};44 virtual ~G4VFermiFragment(); 52 45 53 46 protected: 54 G4VFermiFragment() {};47 G4VFermiFragment(); 55 48 56 49 private: … … 66 59 virtual G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const = 0; 67 60 68 G4int GetA(void) const61 inline G4int GetA(void) const 69 62 { 70 63 return A; 71 64 } 72 65 73 G4int GetZ(void) const66 inline G4int GetZ(void) const 74 67 { 75 68 return Z; 76 69 } 77 70 78 G4int GetPolarization(void) const71 inline G4int GetPolarization(void) const 79 72 { 80 73 return Polarization; 81 74 } 82 75 83 G4double GetExcitationEnergy(void) const76 inline G4double GetExcitationEnergy(void) const 84 77 { 85 78 return ExcitEnergy; 86 79 } 87 80 88 G4double GetFragmentMass(void) const81 inline G4double GetFragmentMass(void) const 89 82 { 90 return G4ParticleTable::GetParticleTable()->GetIonTable()->GetIonMass(Z,A);83 return fragmentMass; 91 84 } 92 85 93 G4double GetTotalEnergy(void) const86 inline G4double GetTotalEnergy(void) const 94 87 { 95 return this->GetFragmentMass() + this->GetExcitationEnergy();88 return (GetFragmentMass() + GetExcitationEnergy()); 96 89 } 97 90 … … 106 99 G4double ExcitEnergy; 107 100 101 G4double fragmentMass; 108 102 109 103 };
Note: See TracChangeset
for help on using the changeset viewer.