G4SigmaPlusField Class Reference

#include <G4SigmaPlusField.hh>

Inheritance diagram for G4SigmaPlusField:

G4VNuclearField

Public Member Functions

 G4SigmaPlusField (G4V3DNucleus *nucleus, G4double coeff=0.36 *CLHEP::fermi)
virtual ~G4SigmaPlusField ()
virtual G4double GetField (const G4ThreeVector &aPosition)
virtual G4double GetBarrier ()
virtual G4double GetCoeff ()

Detailed Description

Definition at line 35 of file G4SigmaPlusField.hh.


Constructor & Destructor Documentation

G4SigmaPlusField::G4SigmaPlusField ( G4V3DNucleus nucleus,
G4double  coeff = 0.36 *CLHEP::fermi 
)

Definition at line 48 of file G4SigmaPlusField.cc.

00049   : G4VNuclearField(nucleus)
00050 {
00051   theCoeff = coeff;
00052 }

G4SigmaPlusField::~G4SigmaPlusField (  )  [virtual]

Definition at line 55 of file G4SigmaPlusField.cc.

00056 { }


Member Function Documentation

G4double G4SigmaPlusField::GetBarrier (  )  [virtual]

Implements G4VNuclearField.

Definition at line 77 of file G4SigmaPlusField.cc.

References G4V3DNucleus::GetCharge(), G4V3DNucleus::GetMassNumber(), and G4VNuclearField::theNucleus.

Referenced by GetField().

00078 {
00079   G4double A = theNucleus->GetMassNumber();
00080   G4double Z = theNucleus->GetCharge();
00081   G4double coulombBarrier = (1.44/1.14) * MeV * Z / (1.0 + std::pow(A,1./3.));
00082   return coulombBarrier;
00083 }

virtual G4double G4SigmaPlusField::GetCoeff (  )  [inline, virtual]

Reimplemented from G4VNuclearField.

Definition at line 50 of file G4SigmaPlusField.hh.

00050 { return theCoeff; }

G4double G4SigmaPlusField::GetField ( const G4ThreeVector aPosition  )  [virtual]

Implements G4VNuclearField.

Definition at line 58 of file G4SigmaPlusField.cc.

References G4InuclSpecialFunctions::bindingEnergy(), GetBarrier(), G4NucleiProperties::GetBindingEnergy(), G4V3DNucleus::GetCharge(), G4VNuclearDensity::GetDensity(), G4V3DNucleus::GetMassNumber(), G4V3DNucleus::GetNuclearDensity(), G4ParticleDefinition::GetPDGMass(), G4INCL::Math::pi, G4VNuclearField::radius, G4SigmaPlus::SigmaPlus(), and G4VNuclearField::theNucleus.

00059 {
00060 // Field is 0 out of the nucleus!
00061   if(aPosition.mag() >= radius) return 0.0;
00062 
00063   G4double sigmaPlusMass = G4SigmaPlus::SigmaPlus()->GetPDGMass();
00064 
00065   G4int A = theNucleus->GetMassNumber();
00066   G4int Z = theNucleus->GetCharge();
00067   G4double bindingEnergy = G4NucleiProperties::GetBindingEnergy(A, Z);
00068   G4double nucleusMass = Z*proton_mass_c2+(A-Z)*neutron_mass_c2+bindingEnergy;
00069   G4double reducedMass = sigmaPlusMass*nucleusMass/(sigmaPlusMass+nucleusMass);
00070 
00071   const G4VNuclearDensity * nuclearDensity=theNucleus->GetNuclearDensity();
00072   G4double density = nuclearDensity->GetDensity(aPosition);
00073 
00074   return -2.*pi*hbarc*hbarc/reducedMass*(2.0)*theCoeff*density+GetBarrier();
00075 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:23 2013 for Geant4 by  doxygen 1.4.7