Geant4  10.02.p03
G4VNuclearDensity Class Referenceabstract

#include <G4VNuclearDensity.hh>

Inheritance diagram for G4VNuclearDensity:
Collaboration diagram for G4VNuclearDensity:

Public Member Functions

 G4VNuclearDensity ()
 
virtual ~G4VNuclearDensity ()
 
G4double GetDensity (const G4ThreeVector &aPosition) const
 
virtual G4double GetRelativeDensity (const G4ThreeVector &aPosition) const =0
 
virtual G4double GetRadius (const G4double maxRelativeDenisty) const =0
 
virtual G4double GetDeriv (const G4ThreeVector &point) const =0
 

Protected Member Functions

void Setrho0 (G4double arho0)
 
G4double Getrho0 () const
 

Private Attributes

G4double rho0
 

Detailed Description

Definition at line 36 of file G4VNuclearDensity.hh.

Constructor & Destructor Documentation

◆ G4VNuclearDensity()

G4VNuclearDensity::G4VNuclearDensity ( )

Definition at line 32 of file G4VNuclearDensity.cc.

32  :
33  rho0(0.)
34  {}

◆ ~G4VNuclearDensity()

G4VNuclearDensity::~G4VNuclearDensity ( )
virtual

Definition at line 36 of file G4VNuclearDensity.cc.

36 {}

Member Function Documentation

◆ GetDensity()

G4double G4VNuclearDensity::GetDensity ( const G4ThreeVector aPosition) const
inline

Definition at line 43 of file G4VNuclearDensity.hh.

44  {
45  return rho0*GetRelativeDensity(aPosition);
46  };
virtual G4double GetRelativeDensity(const G4ThreeVector &aPosition) const =0
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDeriv()

virtual G4double G4VNuclearDensity::GetDeriv ( const G4ThreeVector point) const
pure virtual

Implemented in G4NuclearFermiDensity, and G4NuclearShellModelDensity.

Here is the caller graph for this function:

◆ GetRadius()

virtual G4double G4VNuclearDensity::GetRadius ( const G4double  maxRelativeDenisty) const
pure virtual

Implemented in G4NuclearFermiDensity, and G4NuclearShellModelDensity.

Here is the caller graph for this function:

◆ GetRelativeDensity()

virtual G4double G4VNuclearDensity::GetRelativeDensity ( const G4ThreeVector aPosition) const
pure virtual

Implemented in G4NuclearFermiDensity, and G4NuclearShellModelDensity.

Here is the caller graph for this function:

◆ Getrho0()

G4double G4VNuclearDensity::Getrho0 ( ) const
inlineprotected

Definition at line 54 of file G4VNuclearDensity.hh.

54 { return rho0; };
Here is the caller graph for this function:

◆ Setrho0()

void G4VNuclearDensity::Setrho0 ( G4double  arho0)
inlineprotected

Definition at line 53 of file G4VNuclearDensity.hh.

53 { rho0=arho0; };
Here is the caller graph for this function:

Member Data Documentation

◆ rho0

G4double G4VNuclearDensity::rho0
private

Definition at line 54 of file G4VNuclearDensity.hh.


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