Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VNuclearField Class Referenceabstract

#include <G4VNuclearField.hh>

Inheritance diagram for G4VNuclearField:
Collaboration 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 ( G4V3DNucleus aNucleus = 0)

Definition at line 42 of file G4VNuclearField.cc.

42  :
43 theNucleus(aNucleus),
44 radius(aNucleus->GetOuterRadius() + 4*fermi)
45 {}
virtual G4double GetOuterRadius()=0
const G4double radius
G4V3DNucleus * theNucleus
static constexpr double fermi
Definition: G4SIunits.hh:103
G4VNuclearField::~G4VNuclearField ( )
virtual

Definition at line 52 of file G4VNuclearField.cc.

53 {}

Member Function Documentation

virtual G4double G4VNuclearField::GetCoeff ( )
inlinevirtual
virtual G4double G4VNuclearField::GetField ( const G4ThreeVector aPosition)
pure virtual
void G4VNuclearField::SetNucleus ( G4V3DNucleus aNucleus)
inline

Definition at line 61 of file G4VNuclearField.hh.

62 {
63  theNucleus = aNucleus;
64 }
G4V3DNucleus * theNucleus

Member Data Documentation

const G4double G4VNuclearField::radius
protected

Definition at line 48 of file G4VNuclearField.hh.

G4V3DNucleus* G4VNuclearField::theNucleus
protected

Definition at line 47 of file G4VNuclearField.hh.


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