G4VNuclearField Class Reference

#include <G4VNuclearField.hh>

Inheritance diagram for G4VNuclearField:

G4AntiProtonField G4KaonMinusField G4KaonPlusField G4KaonZeroField G4NeutronField G4PionMinusField G4PionPlusField G4PionZeroField G4ProtonField G4SigmaMinusField G4SigmaPlusField G4SigmaZeroField

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.

00042                                                         : 
00043 theNucleus(aNucleus),
00044 radius(aNucleus->GetOuterRadius() + 4*fermi)
00045 {}

G4VNuclearField::~G4VNuclearField (  )  [virtual]

Definition at line 52 of file G4VNuclearField.cc.

00053 {}


Member Function Documentation

virtual G4double G4VNuclearField::GetBarrier (  )  [pure virtual]

Implemented in G4AntiProtonField, G4KaonMinusField, G4KaonPlusField, G4KaonZeroField, G4NeutronField, G4PionMinusField, G4PionPlusField, G4PionZeroField, G4ProtonField, G4SigmaMinusField, G4SigmaPlusField, and G4SigmaZeroField.

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

Reimplemented in G4AntiProtonField, G4KaonMinusField, G4KaonPlusField, G4KaonZeroField, G4PionMinusField, G4PionPlusField, G4PionZeroField, G4SigmaMinusField, G4SigmaPlusField, and G4SigmaZeroField.

Definition at line 44 of file G4VNuclearField.hh.

00044 { return 0; }

virtual G4double G4VNuclearField::GetField ( const G4ThreeVector aPosition  )  [pure virtual]

Implemented in G4AntiProtonField, G4KaonMinusField, G4KaonPlusField, G4KaonZeroField, G4NeutronField, G4PionMinusField, G4PionPlusField, G4PionZeroField, G4ProtonField, G4SigmaMinusField, G4SigmaPlusField, and G4SigmaZeroField.

Referenced by G4RKPropagation::Transport().

void G4VNuclearField::SetNucleus ( G4V3DNucleus aNucleus  )  [inline]

Definition at line 61 of file G4VNuclearField.hh.

References theNucleus.

00062 {
00063   theNucleus = aNucleus;
00064 }


Field Documentation

const G4double G4VNuclearField::radius [protected]

Definition at line 48 of file G4VNuclearField.hh.

Referenced by G4SigmaZeroField::GetField(), G4SigmaPlusField::GetField(), G4SigmaMinusField::GetField(), G4PionZeroField::GetField(), G4PionPlusField::GetField(), G4PionMinusField::GetField(), G4KaonZeroField::GetField(), G4KaonPlusField::GetField(), G4KaonMinusField::GetField(), and G4AntiProtonField::GetField().

G4V3DNucleus* G4VNuclearField::theNucleus [protected]

Definition at line 47 of file G4VNuclearField.hh.

Referenced by G4NeutronField::G4NeutronField(), G4ProtonField::G4ProtonField(), G4SigmaPlusField::GetBarrier(), G4SigmaMinusField::GetBarrier(), G4PionPlusField::GetBarrier(), G4PionMinusField::GetBarrier(), G4KaonPlusField::GetBarrier(), G4KaonMinusField::GetBarrier(), G4AntiProtonField::GetBarrier(), G4SigmaZeroField::GetField(), G4SigmaPlusField::GetField(), G4SigmaMinusField::GetField(), G4PionZeroField::GetField(), G4PionPlusField::GetField(), G4PionMinusField::GetField(), G4KaonZeroField::GetField(), G4KaonPlusField::GetField(), G4KaonMinusField::GetField(), G4AntiProtonField::GetField(), and SetNucleus().


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