Import Geant4 9.6.0 source tree
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4EmCalculator.hh,v 1.22 2011-01-03 19:34:03 vnivanch Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
@@ -69,6 +68,9 @@ class G4ParticleDefinition;
|
||||
class G4PhysicsTable;
|
||||
class G4VEmModel;
|
||||
class G4VEnergyLossProcess;
|
||||
class G4VEmProcess;
|
||||
class G4VMultipleScattering;
|
||||
class G4VProcess;
|
||||
class G4ionEffectiveCharge;
|
||||
class G4Region;
|
||||
class G4Element;
|
||||
@@ -83,17 +85,20 @@ public:
|
||||
|
||||
~G4EmCalculator();
|
||||
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
// Methods to access precalculated dE/dx and cross sections
|
||||
// Materials should exist in the list of the G4MaterialCutsCouple
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
|
||||
G4double GetDEDX(G4double kinEnergy, const G4ParticleDefinition*, const G4Material*,
|
||||
G4double GetDEDX(G4double kinEnergy, const G4ParticleDefinition*,
|
||||
const G4Material*,
|
||||
const G4Region* r = 0);
|
||||
G4double GetDEDX(G4double kinEnergy, const G4String& part, const G4String& mat,
|
||||
G4double GetDEDX(G4double kinEnergy, const G4String& part,
|
||||
const G4String& mat,
|
||||
const G4String& s = "world");
|
||||
|
||||
G4double GetRangeFromRestricteDEDX(G4double kinEnergy, const G4ParticleDefinition*,
|
||||
G4double GetRangeFromRestricteDEDX(G4double kinEnergy,
|
||||
const G4ParticleDefinition*,
|
||||
const G4Material*,
|
||||
const G4Region* r = 0);
|
||||
G4double GetRangeFromRestricteDEDX(G4double kinEnergy, const G4String& part,
|
||||
@@ -114,10 +119,12 @@ public:
|
||||
const G4String& mat,
|
||||
const G4String& s = "world");
|
||||
|
||||
G4double GetKinEnergy(G4double range, const G4ParticleDefinition*, const G4Material*,
|
||||
const G4Region* r = 0);
|
||||
G4double GetKinEnergy(G4double range, const G4String& part, const G4String& mat,
|
||||
const G4String& s = "world");
|
||||
G4double GetKinEnergy(G4double range, const G4ParticleDefinition*,
|
||||
const G4Material*,
|
||||
const G4Region* r = 0);
|
||||
G4double GetKinEnergy(G4double range, const G4String& part,
|
||||
const G4String& mat,
|
||||
const G4String& s = "world");
|
||||
|
||||
G4double GetCrossSectionPerVolume(
|
||||
G4double kinEnergy, const G4ParticleDefinition*,
|
||||
@@ -135,7 +142,8 @@ public:
|
||||
G4double GetMeanFreePath(G4double kinEnergy, const G4ParticleDefinition*,
|
||||
const G4String& processName, const G4Material*,
|
||||
const G4Region* r = 0);
|
||||
G4double GetMeanFreePath(G4double kinEnergy, const G4String& part, const G4String& proc,
|
||||
G4double GetMeanFreePath(G4double kinEnergy, const G4String& part,
|
||||
const G4String& proc,
|
||||
const G4String& mat, const G4String& s = "world");
|
||||
|
||||
void PrintDEDXTable(const G4ParticleDefinition*);
|
||||
@@ -144,18 +152,20 @@ public:
|
||||
|
||||
void PrintInverseRangeTable(const G4ParticleDefinition*);
|
||||
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
// Methods to calculate dE/dx and cross sections "on fly"
|
||||
// Existing tables and G4MaterialCutsCouples are not used
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
|
||||
G4double ComputeDEDX(G4double kinEnergy, const G4ParticleDefinition*,
|
||||
const G4String& processName, const G4Material*,
|
||||
G4double cut = DBL_MAX);
|
||||
G4double ComputeDEDX(G4double kinEnergy, const G4String& part, const G4String& proc,
|
||||
G4double ComputeDEDX(G4double kinEnergy, const G4String& part,
|
||||
const G4String& proc,
|
||||
const G4String& mat, G4double cut = DBL_MAX);
|
||||
|
||||
G4double ComputeElectronicDEDX(G4double kinEnergy, const G4ParticleDefinition*,
|
||||
G4double ComputeElectronicDEDX(G4double kinEnergy,
|
||||
const G4ParticleDefinition*,
|
||||
const G4Material* mat, G4double cut = DBL_MAX);
|
||||
G4double ComputeElectronicDEDX(G4double kinEnergy, const G4String& part,
|
||||
const G4String& mat, G4double cut = DBL_MAX);
|
||||
@@ -175,7 +185,8 @@ public:
|
||||
const G4String& processName, const G4Material*,
|
||||
G4double cut = 0.0);
|
||||
G4double ComputeCrossSectionPerVolume(
|
||||
G4double kinEnergy, const G4String& part, const G4String& proc,
|
||||
G4double kinEnergy, const G4String& part,
|
||||
const G4String& proc,
|
||||
const G4String& mat, G4double cut = 0.0);
|
||||
|
||||
G4double ComputeCrossSectionPerAtom(
|
||||
@@ -187,6 +198,9 @@ public:
|
||||
const G4String& processName, const G4Element*,
|
||||
G4double cut = 0.0);
|
||||
|
||||
G4double ComputeGammaAttenuationLength(G4double kinEnergy,
|
||||
const G4Material*);
|
||||
|
||||
G4double ComputeShellIonisationCrossSectionPerAtom(
|
||||
const G4String& part, G4int Z,
|
||||
G4AtomicShellEnumerator shell,
|
||||
@@ -208,9 +222,9 @@ public:
|
||||
G4double range, const G4String&,
|
||||
const G4String&);
|
||||
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
// Methods to access particles, materials, regions
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
|
||||
const G4ParticleDefinition* FindParticle(const G4String&);
|
||||
|
||||
@@ -220,13 +234,14 @@ public:
|
||||
|
||||
const G4Region* FindRegion(const G4String&);
|
||||
|
||||
const G4MaterialCutsCouple* FindCouple(const G4Material*, const G4Region* r = 0);
|
||||
const G4MaterialCutsCouple* FindCouple(const G4Material*,
|
||||
const G4Region* r = 0);
|
||||
|
||||
void SetVerbose(G4int val);
|
||||
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
// Private methods
|
||||
//==================================================================================
|
||||
//===========================================================================
|
||||
|
||||
private:
|
||||
|
||||
@@ -234,7 +249,9 @@ private:
|
||||
|
||||
G4bool UpdateCouple(const G4Material*, G4double cut);
|
||||
|
||||
void FindLambdaTable(const G4ParticleDefinition*, const G4String& processName);
|
||||
void FindLambdaTable(const G4ParticleDefinition*,
|
||||
const G4String& processName,
|
||||
G4double kinEnergy);
|
||||
|
||||
G4bool FindEmModel(const G4ParticleDefinition*,
|
||||
const G4String& processName,
|
||||
@@ -242,6 +259,18 @@ private:
|
||||
|
||||
G4VEnergyLossProcess* FindEnergyLossProcess(const G4ParticleDefinition*);
|
||||
|
||||
G4VEnergyLossProcess* FindEnLossProcess(const G4ParticleDefinition*,
|
||||
const G4String& processName);
|
||||
|
||||
G4VEmProcess* FindDiscreteProcess(const G4ParticleDefinition*,
|
||||
const G4String& processName);
|
||||
|
||||
G4VMultipleScattering* FindMscProcess(const G4ParticleDefinition*,
|
||||
const G4String& processName);
|
||||
|
||||
G4bool ActiveForParticle(const G4ParticleDefinition* part,
|
||||
G4VProcess* proc);
|
||||
|
||||
G4EmCalculator & operator=(const G4EmCalculator &right);
|
||||
G4EmCalculator(const G4EmCalculator&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user