Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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 1998/08/22 08:57:55 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-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
|
||||
|
||||
Reference in New Issue
Block a user