Geant4  10.00.p02
G4KM_NucleonEqRhs Class Reference

#include <G4KM_NucleonEqRhs.hh>

+ Inheritance diagram for G4KM_NucleonEqRhs:
+ Collaboration diagram for G4KM_NucleonEqRhs:

Public Member Functions

 G4KM_NucleonEqRhs (G4KM_DummyField *field, G4V3DNucleus *nucleus)
 
 ~G4KM_NucleonEqRhs ()
 
virtual void EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const
 
virtual void SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double MassXc2)
 
void SetMass (G4double aMass)
 
- Public Member Functions inherited from G4Mag_EqRhs
 G4Mag_EqRhs (G4MagneticField *magField)
 
virtual ~G4Mag_EqRhs ()
 
G4double FCof () const
 
- Public Member Functions inherited from G4EquationOfMotion
 G4EquationOfMotion (G4Field *Field)
 
virtual ~G4EquationOfMotion ()
 
void RightHandSide (const G4double y[], G4double dydx[]) const
 
void EvaluateRhsReturnB (const G4double y[], G4double dydx[], G4double Field[]) const
 
void GetFieldValue (const G4double Point[4], G4double Field[]) const
 
const G4FieldGetFieldObj () const
 
void SetFieldObj (G4Field *pField)
 

Private Attributes

G4V3DNucleustheNucleus
 
G4double factor
 
G4int A
 
G4double theMass
 

Detailed Description

Definition at line 49 of file G4KM_NucleonEqRhs.hh.

Constructor & Destructor Documentation

G4KM_NucleonEqRhs::G4KM_NucleonEqRhs ( G4KM_DummyField field,
G4V3DNucleus nucleus 
)

Definition at line 44 of file G4KM_NucleonEqRhs.cc.

References A, factor, G4V3DNucleus::GetMassNumber(), theMass, and theNucleus.

+ Here is the call graph for this function:

G4KM_NucleonEqRhs::~G4KM_NucleonEqRhs ( )
inline

Definition at line 81 of file G4KM_NucleonEqRhs.hh.

Member Function Documentation

void G4KM_NucleonEqRhs::EvaluateRhsGivenB ( const G4double  y[],
const G4double  B[3],
G4double  dydx[] 
) const
virtual

Implements G4Mag_EqRhs.

Definition at line 54 of file G4KM_NucleonEqRhs.cc.

References density, factor, G4VNuclearDensity::GetDensity(), G4VNuclearDensity::GetDeriv(), G4V3DNucleus::GetNuclearDensity(), pos, theMass, and theNucleus.

+ Here is the call graph for this function:

void G4KM_NucleonEqRhs::SetChargeMomentumMass ( G4ChargeState  particleCharge,
G4double  MomentumXc,
G4double  MassXc2 
)
virtual

Reimplemented from G4Mag_EqRhs.

Definition at line 111 of file G4KM_NucleonEqRhs.cc.

void G4KM_NucleonEqRhs::SetMass ( G4double  aMass)
inline

Definition at line 74 of file G4KM_NucleonEqRhs.hh.

References theMass.

Referenced by G4RKPropagation::Init().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4KM_NucleonEqRhs::A
private

Definition at line 68 of file G4KM_NucleonEqRhs.hh.

Referenced by G4KM_NucleonEqRhs().

G4double G4KM_NucleonEqRhs::factor
private

Definition at line 67 of file G4KM_NucleonEqRhs.hh.

Referenced by EvaluateRhsGivenB(), and G4KM_NucleonEqRhs().

G4double G4KM_NucleonEqRhs::theMass
private

Definition at line 69 of file G4KM_NucleonEqRhs.hh.

Referenced by EvaluateRhsGivenB(), G4KM_NucleonEqRhs(), and SetMass().

G4V3DNucleus* G4KM_NucleonEqRhs::theNucleus
private

Definition at line 66 of file G4KM_NucleonEqRhs.hh.

Referenced by EvaluateRhsGivenB(), and G4KM_NucleonEqRhs().


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