Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VNuclearField Class Referenceabstract

#include <G4VNuclearField.hh>

+ Inheritance diagram for G4VNuclearField:

Public Member Functions

 G4VNuclearField (G4V3DNucleus *aNucleus=0)
 
virtual ~G4VNuclearField ()
 
void SetNucleus (G4V3DNucleus *aNucleus)
 
virtual G4double GetField (const G4ThreeVector &aPosition)=0
 
virtual G4double GetBarrier ()=0
 
virtual G4double GetCoeff ()
 

Protected Attributes

G4V3DNucleustheNucleus
 
const G4double radius
 

Detailed Description

Definition at line 35 of file G4VNuclearField.hh.

Constructor & Destructor Documentation

◆ G4VNuclearField()

G4VNuclearField::G4VNuclearField ( G4V3DNucleus aNucleus = 0)

Definition at line 42 of file G4VNuclearField.cc.

42 :
43theNucleus(aNucleus),
44radius(aNucleus->GetOuterRadius() + 4*fermi)
45{}
virtual G4double GetOuterRadius()=0
G4V3DNucleus * theNucleus
const G4double radius

◆ ~G4VNuclearField()

G4VNuclearField::~G4VNuclearField ( )
virtual

Definition at line 52 of file G4VNuclearField.cc.

53{}

Member Function Documentation

◆ GetBarrier()

◆ GetCoeff()

virtual G4double G4VNuclearField::GetCoeff ( )
inlinevirtual

◆ GetField()

◆ SetNucleus()

void G4VNuclearField::SetNucleus ( G4V3DNucleus aNucleus)
inline

Definition at line 61 of file G4VNuclearField.hh.

62{
63 theNucleus = aNucleus;
64}

Member Data Documentation

◆ radius

◆ theNucleus


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