- 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/src/G4VFermiFragment.cc
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // 27 // $Id: G4VFermiFragment.cc,v 1.5 2006/06/29 20:13:15 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-03-ref-09 $ 26 // $Id: G4VFermiFragment.cc,v 1.6 2010/10/29 17:35:03 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 28 // 30 29 // Hadronic Process: Nuclear De-excitations … … 32 31 33 32 #include "G4VFermiFragment.hh" 34 #include "G4 HadronicException.hh"33 #include "G4NucleiProperties.hh" 35 34 36 G4VFermiFragment::G4VFermiFragment(const G4VFermiFragment &) 35 G4VFermiFragment::G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE): 36 A(anA), 37 Z(aZ), 38 Polarization(Pol), 39 ExcitEnergy(ExE) 37 40 { 38 throw G4HadronicException(__FILE__, __LINE__, "G4VFermiFragment::copy_constructor meant to not be accessable"); 41 fragmentMass = 0.0; 42 if(A > 0) { fragmentMass = G4NucleiProperties::GetNuclearMass(A, Z); } 39 43 } 40 44 41 42 const G4VFermiFragment & G4VFermiFragment::operator=(const G4VFermiFragment &) 45 G4VFermiFragment::G4VFermiFragment(): 46 A(0), 47 Z(0), 48 Polarization(0), 49 ExcitEnergy(0.0) 43 50 { 44 throw G4HadronicException(__FILE__, __LINE__, "G4VFermiFragment::operator= meant to not be accessable"); 45 return *this; 51 fragmentMass = 0.0; 46 52 } 47 53 48 49 G4bool G4VFermiFragment::operator==(const G4VFermiFragment &) const 50 { 51 return false; 52 } 53 54 G4bool G4VFermiFragment::operator!=(const G4VFermiFragment &) const 55 { 56 return true; 57 } 54 G4VFermiFragment::~G4VFermiFragment() 55 {} 58 56 59 57 60 58 59
Note: See TracChangeset
for help on using the changeset viewer.