Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FermiFragment Class Reference

#include <G4FermiFragment.hh>

Public Member Functions

 G4FermiFragment (G4int anA, G4int aZ, G4int sp, G4double exc, G4bool stable=true)
 
 ~G4FermiFragment ()
 
void FillFragment (G4FragmentVector *fv, const G4LorentzVector &aMomentum) const
 
G4FragmentVectorGetFragment (const G4LorentzVector &aMomentum) const
 
G4int GetA (void) const
 
G4int GetZ (void) const
 
G4int GetSpin (void) const
 
G4double GetExcitationEnergy (void) const
 
G4double GetFragmentMass (void) const
 
G4double GetTotalEnergy (void) const
 
G4bool IsStable () const
 
G4double GetCoulombBarrier (G4int Ares, G4int Zres, G4double Eex) const
 
G4bool operator== (const G4FermiFragment &right) const
 

Detailed Description

Definition at line 39 of file G4FermiFragment.hh.

Constructor & Destructor Documentation

G4FermiFragment::G4FermiFragment ( G4int  anA,
G4int  aZ,
G4int  sp,
G4double  exc,
G4bool  stable = true 
)
explicit

Definition at line 36 of file G4FermiFragment.cc.

37  :
38  isStable(stable),
39  A(anA),
40  Z(aZ),
41  spin(sp),
42  excitEnergy(exc)
43 {
44  if(stable) {
45  fragmentMass = G4NucleiProperties::GetNuclearMass(A, Z);
46  cBarrier = new G4CoulombBarrier(A, Z);
47  } else {
48  fragmentMass = Z*proton_mass_c2 + (A-Z)*neutron_mass_c2;
49  cBarrier = nullptr;
50  }
51 }
static G4double GetNuclearMass(const G4double A, const G4double Z)
float proton_mass_c2
Definition: hepunit.py:275
float neutron_mass_c2
Definition: hepunit.py:276

Here is the call graph for this function:

G4FermiFragment::~G4FermiFragment ( )

Definition at line 53 of file G4FermiFragment.cc.

54 {
55  delete cBarrier;
56 }

Member Function Documentation

void G4FermiFragment::FillFragment ( G4FragmentVector fv,
const G4LorentzVector aMomentum 
) const
inline

Definition at line 49 of file G4FermiFragment.hh.

50  {
51  fv->push_back(new G4Fragment(A, Z, aMomentum));
52  }

Here is the caller graph for this function:

G4int G4FermiFragment::GetA ( void  ) const
inline

Definition at line 61 of file G4FermiFragment.hh.

62  {
63  return A;
64  }

Here is the caller graph for this function:

G4double G4FermiFragment::GetCoulombBarrier ( G4int  Ares,
G4int  Zres,
G4double  Eex 
) const
inline

Definition at line 96 of file G4FermiFragment.hh.

97  {
98  return isStable ? cBarrier->GetCoulombBarrier(Ares, Zres, Eex)
99  *cBarrier->BarrierPenetrationFactor(Eex) : 0.0;
100  }
G4double GetCoulombBarrier(G4int ARes, G4int ZRes, G4double U) const
virtual G4double BarrierPenetrationFactor(G4int Eexc) const

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4FermiFragment::GetExcitationEnergy ( void  ) const
inline

Definition at line 76 of file G4FermiFragment.hh.

77  {
78  return excitEnergy;
79  }

Here is the caller graph for this function:

G4FragmentVector* G4FermiFragment::GetFragment ( const G4LorentzVector aMomentum) const
inline

Definition at line 54 of file G4FermiFragment.hh.

55  {
57  FillFragment(vec, aMomentum);
58  return vec;
59  }
void FillFragment(G4FragmentVector *fv, const G4LorentzVector &aMomentum) const
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63

Here is the call graph for this function:

G4double G4FermiFragment::GetFragmentMass ( void  ) const
inline

Definition at line 81 of file G4FermiFragment.hh.

82  {
83  return fragmentMass;
84  }

Here is the caller graph for this function:

G4int G4FermiFragment::GetSpin ( void  ) const
inline

Definition at line 71 of file G4FermiFragment.hh.

72  {
73  return spin;
74  }

Here is the caller graph for this function:

G4double G4FermiFragment::GetTotalEnergy ( void  ) const
inline

Definition at line 86 of file G4FermiFragment.hh.

87  {
88  return (fragmentMass + excitEnergy);
89  }

Here is the caller graph for this function:

G4int G4FermiFragment::GetZ ( void  ) const
inline

Definition at line 66 of file G4FermiFragment.hh.

67  {
68  return Z;
69  }

Here is the caller graph for this function:

G4bool G4FermiFragment::IsStable ( ) const
inline

Definition at line 91 of file G4FermiFragment.hh.

92  {
93  return isStable;
94  }
G4bool G4FermiFragment::operator== ( const G4FermiFragment right) const
inline

Definition at line 102 of file G4FermiFragment.hh.

103  {
104  return (A == right.A && Z == right.Z &&
105  std::abs(excitEnergy - right.excitEnergy) < 0.0001);
106  }

The documentation for this class was generated from the following files: