Import Geant4 8.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:07:44 +02:00
parent fe73f43734
commit 75c7fd177d
764 changed files with 45230 additions and 95238 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MollerBhabhaModel.hh,v 1.17 2006/08/28 17:44:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4MollerBhabhaModel.hh,v 1.18 2007/01/17 09:17:56 maire Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -------------------------------------------------------------------
//
@@ -43,6 +43,7 @@
// 24-01-03 Make models region aware (V.Ivanchenko)
// 13-02-03 Add name (V.Ivanchenko)
// 06-02-06 ComputeCrossSectionPerElectron, ComputeCrossSectionPerAtom (mma)
// 14-01-07 promote SetParticle() from private to protected (mma)
//
// Class Description:
@@ -109,23 +110,22 @@ protected:
G4double MaxSecondaryEnergy(const G4ParticleDefinition*,
G4double kinEnergy);
void SetParticle(const G4ParticleDefinition* p);
const G4ParticleDefinition* particle;
G4ParticleDefinition* theElectron;
G4ParticleChangeForLoss* fParticleChange;
G4bool isElectron;
G4double twoln10;
G4double lowLimit;
private:
void SetParticle(const G4ParticleDefinition* p);
// hide assignment operator
G4MollerBhabhaModel & operator=(const G4MollerBhabhaModel &right);
G4MollerBhabhaModel(const G4MollerBhabhaModel&);
G4double twoln10;
G4double lowLimit;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MultipleScattering.hh,v 1.32 2006/10/24 11:38:12 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4MultipleScattering.hh,v 1.34 2007/03/22 07:59:25 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -----------------------------------------------------------------------------
//
@@ -77,6 +77,7 @@
// 13-10-06 data member factail removed, new data member skin
// together with set function, data member tkinlimit
// changed to lambdalimit (L.Urban)
// 07-03-07 remove method SetSkin, because it is now in the base class (VI)
//
//------------------------------------------------------------------------------
//
@@ -134,10 +135,6 @@ public: // with description
// connected with step size reduction due to geometry
void SetFacgeom(G4double val) { facgeom=val;};
// set msc parameter skin
// if skin <= 0 --> no single scattering at boundary
void SetSkin(G4double val) { skin=val;};
protected:
// This function initialise models
@@ -154,7 +151,6 @@ private: // data members
G4double lambdalimit;
G4double facrange;
G4double facgeom;
G4double skin;
G4double dtrl;
G4bool steppingAlgorithm;
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4UniversalFluctuation.hh,v 1.3 2006/06/29 19:51:44 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4UniversalFluctuation.hh,v 1.4 2007/03/20 13:13:03 urban Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -------------------------------------------------------------------
//
@@ -98,7 +98,6 @@ private:
// data members to speed up the fluctuation calculation
G4double ipotFluct;
G4double electronDensity;
// G4double zeff;
G4double f1Fluct;
G4double f2Fluct;
@@ -108,15 +107,14 @@ private:
G4double e1LogFluct;
G4double e2LogFluct;
G4double ipotLogFluct;
G4double e0;
G4double minNumberInteractionsBohr;
G4double theBohrBeta2;
G4double minLoss;
G4double problim;
G4double sumalim;
G4double alim;
G4double nmaxCont1;
G4double nmaxCont2;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4UrbanMscModel.hh,v 1.15 2006/11/20 06:57:57 urban Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4UrbanMscModel.hh,v 1.23.2.1 2007/05/02 14:59:43 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -------------------------------------------------------------------
//
@@ -71,6 +71,9 @@
// function ComputeTheta0,
// single scattering modified allowing not small
// angles as well (L.Urban)
// 31-01-07 code cleaning (L.Urban)
// 06-02-07 Move SetMscStepLimitation method into the source (VI)
// 15-02-07 new data member : smallstep (L.Urban)
//
//
// Class Description:
@@ -140,6 +143,8 @@ public:
void SetMscStepLimitation(G4bool, G4double);
void SetSkin(G4double);
private:
G4double SampleCosineTheta(G4double trueStepLength, G4double KineticEnergy);
@@ -176,7 +181,6 @@ private:
G4double dtrl;
G4double lambdalimit;
G4double llimit;
G4double facrange;
G4double frscaling1,frscaling2;
G4double tlimit;
@@ -184,12 +188,11 @@ private:
G4double tlimitminfix;
G4double tnow;
G4double nstepmax;
G4double tgeom;
G4double geombig;
G4double geommin;
G4double geomlimit;
G4double facgeom;
G4double skin,skindepth,skindepth1;
G4double skin,skindepth,smallstep;
G4double presafety;
G4double facsafety;
@@ -197,7 +200,6 @@ private:
G4double lambdaeff;
G4double tPathLength;
G4double zPathLength;
G4double geomLength;
G4double par1,par2,par3 ;
G4double stepmin ;
@@ -216,6 +218,8 @@ private:
G4bool isInitialized;
G4bool inside;
G4bool insideskin;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -230,10 +234,9 @@ void G4UrbanMscModel::SetLateralDisplasmentFlag(G4bool val)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
inline
void G4UrbanMscModel::SetMscStepLimitation(G4bool alg, G4double factor)
{
steppingAlgorithm = alg;
facrange = factor;
void G4UrbanMscModel::SetSkin(G4double val)
{
skin = val;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -262,7 +265,6 @@ void G4UrbanMscModel::SetParticle(const G4ParticleDefinition* p)
particle = p;
mass = p->GetPDGMass();
charge = p->GetPDGCharge()/eplus;
llimit = lambdalimit;
}
}
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4eIonisation.hh,v 1.32 2006/06/29 19:52:08 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4eIonisation.hh,v 1.33 2007/01/17 09:17:56 maire Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -------------------------------------------------------------------
//
@@ -77,7 +77,6 @@
class G4Material;
class G4ParticleDefinition;
class G4VEmFluctuationModel;
class G4eIonisation : public G4VEnergyLossProcess
{
@@ -115,7 +114,6 @@ private:
const G4ParticleDefinition* theElectron;
const G4ParticleDefinition* particle;
G4VEmFluctuationModel* flucModel;
G4bool isElectron;
G4bool isInitialised;
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4hIonisation.hh,v 1.34 2006/06/29 19:52:28 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4hIonisation.hh,v 1.35 2007/01/17 09:17:56 maire Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -------------------------------------------------------------------
//
@@ -83,7 +83,6 @@
#include "G4EmCorrections.hh"
class G4Material;
class G4VEmFluctuationModel;
class G4hIonisation : public G4VEnergyLossProcess
{
@@ -130,7 +129,6 @@ private:
const G4ParticleDefinition* theParticle;
const G4ParticleDefinition* theBaseParticle;
G4VEmFluctuationModel* flucModel;
G4EmCorrections* corr;
G4bool isInitialised;
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4hMultipleScattering.hh,v 1.1 2006/10/26 11:04:38 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4hMultipleScattering.hh,v 1.2 2007/03/20 15:40:59 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -----------------------------------------------------------------------------
//
@@ -34,9 +34,10 @@
//
// Author: Laszlo Urban
//
// Creation date: 24.10.2006 cloned from G4MultipleScattering
// Creation date: 24.10.2006 cloned from G4MultipleScattering by VI
//
// Modifications:
// 20.03.07 Remove local parameter skin (V.Ivanchenko)
//
//
//------------------------------------------------------------------------------
@@ -94,10 +95,6 @@ public: // with description
// connected with step size reduction due to geometry
void SetFacgeom(G4double val) { facgeom=val;};
// set msc parameter skin
// if skin <= 0 --> no single scattering at boundary
void SetSkin(G4double val) { skin=val;};
protected:
// This function initialise models
@@ -114,7 +111,6 @@ private: // data members
G4double lambdalimit;
G4double facrange;
G4double facgeom;
G4double skin;
G4double dtrl;
G4bool steppingAlgorithm;
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4ionIonisation.hh,v 1.41 2006/06/29 19:52:34 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4ionIonisation.hh,v 1.42 2007/01/17 09:17:56 maire Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// -------------------------------------------------------------------
//
@@ -73,7 +73,6 @@
#include "G4EmCorrections.hh"
class G4Material;
class G4VEmFluctuationModel;
class G4PhysicsVector;
class G4BraggIonModel;
@@ -131,7 +130,6 @@ private:
G4ionIonisation(const G4ionIonisation&);
G4ionEffectiveCharge* effCharge;
G4VEmFluctuationModel* flucModel;
G4EmCorrections* corr;
// cash