Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -21,16 +21,18 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4V3DNucleus.hh,v 1.6 2001/08/01 17:08:09 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4V3DNucleus.hh,v 1.8 2002/06/06 10:07:14 jwellisc Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
#ifndef G4V3DNucleus_h
|
||||
#define G4V3DNucleus_h 1
|
||||
|
||||
class G4Nucleon;
|
||||
class G4VNuclearDensity;
|
||||
#include "G4DynamicParticle.hh"
|
||||
#include "G4Pair.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "g4std/vector"
|
||||
|
||||
class G4V3DNucleus
|
||||
{
|
||||
@@ -49,6 +51,7 @@ class G4V3DNucleus
|
||||
virtual void Init(G4double theA, G4double theZ) = 0;
|
||||
virtual G4bool StartLoop() = 0;
|
||||
virtual G4Nucleon * GetNextNucleon() = 0;
|
||||
virtual const G4std::vector<G4Nucleon *> & GetNucleons() = 0;
|
||||
virtual G4int GetMassNumber() = 0;
|
||||
virtual G4double GetMass() = 0;
|
||||
virtual G4int GetCharge() = 0;
|
||||
@@ -60,7 +63,7 @@ class G4V3DNucleus
|
||||
virtual void DoLorentzContraction(const G4LorentzVector & theBoost) = 0;
|
||||
virtual void DoLorentzContraction(const G4ThreeVector & theBeta) = 0;
|
||||
virtual void DoTranslation(const G4ThreeVector & theShift) = 0;
|
||||
|
||||
virtual const G4VNuclearDensity * GetNuclearDensity() const = 0;
|
||||
public:
|
||||
G4Pair<G4double, G4double> ChooseImpactXandY(G4double maxImpact);
|
||||
G4Pair<G4double, G4double> RefetchImpactXandY(){return theImpactParameter;}
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VHighEnergyGenerator.hh,v 1.6 2001/08/01 17:08:12 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
#ifndef G4VHighEnergyGenerator_h
|
||||
#define G4VHighEnergyGenerator_h 1
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VIntraNuclearTransportModel.hh,v 1.8 2001/08/01 17:08:13 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// $Id: G4IntraNuclearTransportMode.hh,v 1.0 1998/06/30
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VKineticNucleon.hh,v 1.4 2001/08/01 17:08:14 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
#ifndef G4VKineticNucleon_h
|
||||
#define G4VKineticNucleon_h 1
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VNuclearDensity.hh,v 1.5 2001/08/01 17:08:14 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4VNuclearDensity.hh,v 1.6 2002/04/24 13:09:16 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
#ifndef G4VNuclearDensity_h
|
||||
#define G4VNuclearDensity_h 1
|
||||
@@ -38,18 +38,18 @@ class G4VNuclearDensity
|
||||
G4VNuclearDensity();
|
||||
virtual ~G4VNuclearDensity();
|
||||
|
||||
inline G4double GetDensity(G4ThreeVector aPosition)
|
||||
inline G4double GetDensity(const G4ThreeVector & aPosition) const
|
||||
{
|
||||
return rho0*GetRelativeDensity(aPosition);
|
||||
};
|
||||
|
||||
virtual G4double GetRelativeDensity(G4ThreeVector aPosition) = 0;
|
||||
virtual G4double GetRadius(const G4double maxRelativeDenisty) = 0;
|
||||
virtual G4double GetDeriv(const G4ThreeVector & point) = 0;
|
||||
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:
|
||||
inline void Setrho0(G4double arho0) { rho0=arho0; };
|
||||
inline G4double Getrho0() { return rho0; };
|
||||
inline G4double Getrho0() const { return rho0; };
|
||||
|
||||
private:
|
||||
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VPreCompoundModel.hh,v 1.6 2001/08/01 17:08:15 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
|
||||
#ifndef G4VPreCompoundModel_h
|
||||
|
||||
Reference in New Issue
Block a user