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/include/G4VFermiFragment.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4VFermiFragment.hh,v 1.3 2006/06/29 20:12:37 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-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 $
    2929//
    3030// Hadronic Process: Nuclear De-excitations
     
    3535
    3636#include "G4FragmentVector.hh"
    37 #include "G4NucleiProperties.hh"
    38 #include "G4ParticleTable.hh"
    39 #include "G4IonTable.hh"
     37#include "globals.hh"
    4038
    4139class G4VFermiFragment
    4240{
    4341public:
    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);
    5043
    51   virtual ~G4VFermiFragment() {};
     44  virtual ~G4VFermiFragment();
    5245 
    5346protected:
    54   G4VFermiFragment() {};
     47  G4VFermiFragment();
    5548
    5649private:
     
    6659  virtual G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const = 0;
    6760
    68   G4int GetA(void) const
     61  inline G4int GetA(void) const
    6962  {
    7063    return A;
    7164  }
    7265 
    73   G4int GetZ(void) const
     66  inline G4int GetZ(void) const
    7467  {
    7568    return Z;
    7669  }
    7770 
    78   G4int GetPolarization(void) const
     71  inline G4int GetPolarization(void) const
    7972  {
    8073    return Polarization;
    8174  }
    8275
    83   G4double GetExcitationEnergy(void) const
     76  inline G4double GetExcitationEnergy(void) const
    8477  {
    8578    return ExcitEnergy;
    8679  }
    8780
    88   G4double GetFragmentMass(void) const
     81  inline G4double GetFragmentMass(void) const
    8982  {
    90     return G4ParticleTable::GetParticleTable()->GetIonTable()->GetIonMass(Z,A);
     83    return fragmentMass;
    9184  }
    9285
    93   G4double GetTotalEnergy(void) const
     86  inline G4double GetTotalEnergy(void) const
    9487  {
    95     return this->GetFragmentMass() + this->GetExcitationEnergy();
     88    return (GetFragmentMass() + GetExcitationEnergy());
    9689  }
    9790
     
    10699  G4double ExcitEnergy;
    107100
     101  G4double fragmentMass;
    108102
    109103};
Note: See TracChangeset for help on using the changeset viewer.