40 lines
1011 B
C++
40 lines
1011 B
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4NuclearShellModelDensity.hh,v 1.1.10.1 1999/12/07 20:51:59 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-00 $
|
|
//
|
|
#ifndef G4NuclearShellModelDensity_h
|
|
#define G4NuclearShellModelDensity_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4ThreeVector.hh"
|
|
#include "G4VNuclearDensity.hh"
|
|
|
|
#include <CLHEP/Units/PhysicalConstants.h> // pi, fermi,..
|
|
#include <math.h> // pow,..
|
|
|
|
class G4NuclearShellModelDensity : public G4VNuclearDensity
|
|
{
|
|
|
|
public:
|
|
G4NuclearShellModelDensity(G4double anA, G4double aZ);
|
|
~G4NuclearShellModelDensity();
|
|
|
|
G4double GetRelativeDensity(G4ThreeVector aPosition);
|
|
G4double GetRadius(const G4double maxRelativeDenisty);
|
|
|
|
private:
|
|
G4int theA;
|
|
G4int theZ;
|
|
G4double theRsquare;
|
|
|
|
};
|
|
|
|
#endif
|
|
|