Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (13 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/de_excitation/fermi_breakup/src/G4VFermiFragment.cc

    r1340 r1347  
    2424// ********************************************************************
    2525//
    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 $
    2928//
    3029// Hadronic Process: Nuclear De-excitations
     
    3231
    3332#include "G4VFermiFragment.hh"
    34 #include "G4HadronicException.hh"
     33#include "G4NucleiProperties.hh"
    3534
    36 G4VFermiFragment::G4VFermiFragment(const G4VFermiFragment &)
     35G4VFermiFragment::G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE):
     36    A(anA),
     37    Z(aZ),
     38    Polarization(Pol),
     39    ExcitEnergy(ExE)
    3740{
    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); }
    3943}
    4044
    41 
    42 const G4VFermiFragment & G4VFermiFragment::operator=(const G4VFermiFragment &)
     45G4VFermiFragment::G4VFermiFragment():
     46    A(0),
     47    Z(0),
     48    Polarization(0),
     49    ExcitEnergy(0.0)
    4350{
    44     throw G4HadronicException(__FILE__, __LINE__, "G4VFermiFragment::operator= meant to not be accessable");
    45     return *this;
     51  fragmentMass = 0.0;
    4652}
    4753
    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 }
     54G4VFermiFragment::~G4VFermiFragment()
     55{}
    5856
    5957
    6058
     59
Note: See TracChangeset for help on using the changeset viewer.