Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
@@ -1,54 +0,0 @@
// 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.
//
// -------------------------------------------------------------------
// GEANT 4 class file
//
// For information related to this code contact:
// CERN, IT Division, ASD group
// CERN, Geneva, Switzerland
//
// File name: G4Data.hh
//
// Author: Alessandra Forti (Alessandra.Forti@cern.ch)
//
// Creation date: 1 Giugno 1999
//
// Modifications:
//
//
// Class description:
// Utility for Low Energy electromagnetic e/photon processes
// Further documentation available from http://www.ge.infn.it/geant4/lowE
// -------------------------------------------------------------------
#ifndef G4DATA_HH
#define G4DATA_HH
#include "G4DataVector.hh"
class G4Data : public G4DataVector{
public:
~G4Data();
G4bool operator == (const G4Data& ) const;
G4bool operator < (const G4Data&) const;
};
#endif
@@ -29,10 +29,10 @@
#ifndef G4FIRSTLEVEL_HH
#define G4FIRSTLEVEL_HH
#include "G4Data.hh"
#include "G4DataVector.hh"
#include "g4rw/tpordvec.h"
class G4FirstLevel : public G4RWTPtrOrderedVector< G4Data >{
class G4FirstLevel : public G4RWTPtrOrderedVector< G4DataVector >{
public:
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyBremsstrahlung.hh,v 1.12 2000/11/03 10:29:50 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyBremsstrahlung.hh,v 1.13 2001/02/05 17:45:15 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -101,7 +101,7 @@ private:
G4SecondLevel* ATable;
G4FirstLevel* BTable;
G4Data* ZNumVec;
G4DataVector* ZNumVec;
G4LowEnergyUtilities util;
// partial sum of total crosssection
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyBremsstrahlung.icc,v 1.13 2000/04/19 13:20:53 lefebure Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyBremsstrahlung.icc,v 1.14 2001/02/05 17:45:15 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ---------------------------------------------------------------
@@ -83,8 +83,8 @@ inline G4double G4LowEnergyBremsstrahlung::ComputeA(const G4int AtomicNumber,con
G4double aVal;
G4FirstLevel* oneAtomCoeff = (*ATable)[AtomicNumber-1];
G4Data* ElectEnVec = (*oneAtomCoeff)[0];
G4Data* AValueVec = (*oneAtomCoeff)[1];
G4DataVector* ElectEnVec = (*oneAtomCoeff)[0];
G4DataVector* AValueVec = (*oneAtomCoeff)[1];
aVal = util.DataLogInterpolation(ElectronKinEnergy, (*ElectEnVec), (*AValueVec));
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyCompton.hh,v 1.7 2000/11/03 10:29:50 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyCompton.hh,v 1.8 2001/02/05 17:45:15 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -72,7 +72,7 @@ private:
G4SecondLevel* theCrossSectionTable;
G4SecondLevel* theScatteringFunctionTable;
G4PhysicsTable* theMeanFreePathTable;
G4Data* ZNumVec;
G4DataVector* ZNumVec;
G4LowEnergyUtilities util;
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4LowEnergyCompton.icc,v 1.11 2000/06/22 02:25:25 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyGammaConversion.hh,v 1.6 2000/11/03 10:29:50 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyGammaConversion.hh,v 1.7 2001/02/05 17:45:15 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -81,7 +81,7 @@ private:
G4double LowestEnergyLimit;
G4double HighestEnergyLimit;
G4int NumbBinTable;
G4Data* ZNumVec;
G4DataVector* ZNumVec;
G4double MeanFreePath; // actual Mean Free Path (current medium)
};
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4LowEnergyGammaConversion.icc,v 1.9 2000/06/22 02:25:25 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyIonisation.hh,v 1.16 2000/11/03 10:29:51 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyIonisation.hh,v 1.17 2001/02/05 17:45:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -65,7 +65,7 @@ public:
G4double previousStepSize,
G4ForceCondition* condition ) ;
inline G4double GetTransitionShell(G4int k){return(thePrimShVec(k));};
inline G4double GetTransitionShell(G4int k){return(thePrimShVec[k]);};
G4VParticleChange *PostStepDoIt(const G4Track& track,
const G4Step& Step ) ;
@@ -130,8 +130,8 @@ private:
allAtomTable* theSamplingCoeffTable;
G4SecondLevel* theBindingEnergyTable;
G4DataVector thePrimShVec;
G4Data* ZNumVec;
G4Data* ZNumVecFluor;
G4DataVector* ZNumVec;
G4DataVector* ZNumVecFluor;
G4LowEnergyUtilities util;
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyPhotoElectric.hh,v 1.14 2000/11/03 10:29:51 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyPhotoElectric.hh,v 1.15 2001/02/05 17:45:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -67,7 +67,7 @@ public:
G4double GetCrossSection(G4DynamicParticle* aDynamicGamma,
G4Element* anElement);
inline G4double GetTransitionShell(G4int k){return(thePrimShVec(k));};
inline G4double GetTransitionShell(G4int k){return(thePrimShVec[k]);};
G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep);
@@ -106,8 +106,8 @@ private:
allAtomTable* theFluorTransitionTable;
G4SecondLevel* theBindingEnergyTable;
G4DataVector thePrimShVec;
G4Data* ZNumVec;
G4Data* ZNumVecFluor;
G4DataVector* ZNumVec;
G4DataVector* ZNumVecFluor;
G4LowEnergyUtilities util;
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4LowEnergyPhotoElectric.icc,v 1.14 2000/06/22 02:25:26 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyRayleigh.hh,v 1.7 2000/11/03 10:29:51 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyRayleigh.hh,v 1.8 2001/02/05 17:45:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -72,7 +72,7 @@ private:
G4SecondLevel* theCrossSectionTable;
G4SecondLevel* theFormFactorTable;
G4PhysicsTable* theMeanFreePathTable;
G4Data* ZNumVec;
G4DataVector* ZNumVec;
G4LowEnergyUtilities util;
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4LowEnergyRayleigh.icc,v 1.10 2000/06/22 02:25:26 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ---------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4LowEnergyUtilities.hh,v 1.6 2000/11/03 10:29:51 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4LowEnergyUtilities.hh,v 1.7 2001/02/05 17:45:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -50,26 +50,26 @@ public:
G4SecondLevel* BuildSecondLevelTables(const G4int, const G4int, const char*);
//inline functions
G4int FindBinLocation(const G4double BinValue, const G4Data& arg);
G4int FindBinLocation(const G4double BinValue, const G4DataVector& arg);
G4int FindBinLocation(const G4double, const G4PhysicsVector*);
G4double DataLogInterpolation(const G4double,
const G4Data&,
const G4Data&);
const G4DataVector&,
const G4DataVector&);
G4double DataLogInterpolation(const G4double Argument,
const G4double AtomicNumber,
const G4PhysicsTable* Table);
G4double DataSemiLogInterpolation(const G4double,
const G4Data&,
const G4Data&);
const G4DataVector&,
const G4DataVector&);
};
inline G4int G4LowEnergyUtilities::FindBinLocation(const G4double arg, const G4Data& vec){
inline G4int G4LowEnergyUtilities::FindBinLocation(const G4double arg, const G4DataVector& vec){
G4int numberOfBin = vec.length();
G4int numberOfBin = vec.size();
G4int lowerBound = 0;
G4int upperBound = numberOfBin-1;
@@ -91,12 +91,12 @@ inline G4int G4LowEnergyUtilities::FindBinLocation(const G4double arg, const G4D
inline G4double G4LowEnergyUtilities::DataLogInterpolation(const G4double Argument,
const G4Data& argVec,
const G4Data& valVec){
const G4DataVector& argVec,
const G4DataVector& valVec){
G4int theLoc = FindBinLocation(Argument, argVec);
if(theLoc == argVec.length()-1){
if(theLoc == argVec.size()-1){
return valVec[theLoc];
}
@@ -162,12 +162,12 @@ inline G4double G4LowEnergyUtilities::DataLogInterpolation(const G4double Argume
}
inline G4double G4LowEnergyUtilities::DataSemiLogInterpolation(const G4double Argument,
const G4Data& argVec,
const G4Data& valVec){
const G4DataVector& argVec,
const G4DataVector& valVec){
G4int theLoc = FindBinLocation(Argument, argVec);
if(theLoc == argVec.length()-1){
if(theLoc == argVec.size()-1){
return valVec[theLoc];
}
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VeLowEnergyLoss.hh,v 1.3 2000/11/03 10:29:51 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// 3.4.2000 Veronique Lefebure:
// Move utils/include/G4VEnergyLoss.hh to
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4eLowEnergyLoss.hh,v 1.1 2000/04/04 13:47:35 lefebure Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// ------------------------------------------------------------
// GEANT 4 class header file
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4eLowEnergyLoss.icc,v 1.1 2000/04/04 13:47:36 lefebure Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// ---------------------------------------------------------------
// GEANT 4 class inlined methods file
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4hLowEnergyLoss.hh,v 1.9 2000/11/03 10:29:51 pia Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id:
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4hLowEnergyLoss.icc,v 1.1 2000/03/31 15:15:22 vnivanch Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id:
// ---------------------------------------------------------------