Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4SigmaPlusField Class Reference

#include <G4SigmaPlusField.hh>

+ Inheritance diagram for G4SigmaPlusField:

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 ()
 
- Public Member Functions inherited from G4VNuclearField
 G4VNuclearField (G4V3DNucleus *aNucleus=0)
 
virtual ~G4VNuclearField ()
 
void SetNucleus (G4V3DNucleus *aNucleus)
 

Additional Inherited Members

- Protected Attributes inherited from G4VNuclearField
G4V3DNucleustheNucleus
 
const G4double radius
 

Detailed Description

Definition at line 35 of file G4SigmaPlusField.hh.

Constructor & Destructor Documentation

◆ G4SigmaPlusField()

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

Definition at line 49 of file G4SigmaPlusField.cc.

50 : G4VNuclearField(nucleus)
51{
52 theCoeff = coeff;
53}
G4VNuclearField(G4V3DNucleus *aNucleus=0)

◆ ~G4SigmaPlusField()

G4SigmaPlusField::~G4SigmaPlusField ( )
virtual

Definition at line 56 of file G4SigmaPlusField.cc.

57{ }

Member Function Documentation

◆ GetBarrier()

G4double G4SigmaPlusField::GetBarrier ( )
virtual

Implements G4VNuclearField.

Definition at line 78 of file G4SigmaPlusField.cc.

79{
82 G4double coulombBarrier = (1.44/1.14) * MeV * Z / (1.0 + G4Pow::GetInstance()->A13(A));
83 return coulombBarrier;
84}
#define A13
double G4double
Definition G4Types.hh:83
const G4double A[17]
static G4Pow * GetInstance()
Definition G4Pow.cc:41
virtual G4int GetCharge()=0
virtual G4int GetMassNumber()=0
G4V3DNucleus * theNucleus

Referenced by GetField().

◆ GetCoeff()

virtual G4double G4SigmaPlusField::GetCoeff ( )
inlinevirtual

Reimplemented from G4VNuclearField.

Definition at line 50 of file G4SigmaPlusField.hh.

50{ return theCoeff; }

◆ GetField()

G4double G4SigmaPlusField::GetField ( const G4ThreeVector & aPosition)
virtual

Implements G4VNuclearField.

Definition at line 59 of file G4SigmaPlusField.cc.

60{
61// Field is 0 out of the nucleus!
62 if(aPosition.mag() >= radius) return 0.0;
63
64 G4double sigmaPlusMass = G4SigmaPlus::SigmaPlus()->GetPDGMass();
65
69 G4double nucleusMass = Z*proton_mass_c2+(A-Z)*neutron_mass_c2+bindingEnergy;
70 G4double reducedMass = sigmaPlusMass*nucleusMass/(sigmaPlusMass+nucleusMass);
71
72 const G4VNuclearDensity * nuclearDensity=theNucleus->GetNuclearDensity();
73 G4double density = nuclearDensity->GetDensity(aPosition);
74
75 return -2.*pi*hbarc*hbarc/reducedMass*(2.0)*theCoeff*density+GetBarrier();
76}
int G4int
Definition G4Types.hh:85
double mag() const
static G4double GetBindingEnergy(const G4int A, const G4int Z)
virtual G4double GetBarrier()
static G4SigmaPlus * SigmaPlus()
virtual const G4VNuclearDensity * GetNuclearDensity() const =0
G4double GetDensity(const G4ThreeVector &aPosition) const
const G4double radius
G4double bindingEnergy(G4int A, G4int Z)

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