Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4AtomicShells.hh,v 1.5 2005/02/11 18:57:21 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
// class description
//
+8 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Element.hh,v 1.18 2005/04/01 12:41:11 maire Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4Element.hh,v 1.20 2005/11/15 15:24:37 maire Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class description
@@ -158,7 +158,7 @@ public: // with description
//return pointer to an element, given its name:
//
static
G4Element* GetElement(G4String name);
G4Element* GetElement(G4String name, G4bool warning=true);
//count number of materials which use this element
//
@@ -193,6 +193,11 @@ public: // without description
G4int operator==(const G4Element&) const;
G4int operator!=(const G4Element&) const;
G4Element(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
private:
G4Element(G4Element&);
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4ElementTable.hh,v 1.5 2003/06/16 16:56:14 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4ElementVector.hh,v 1.5 2003/06/16 16:56:15 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
+16 -12
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonisParamElm.hh,v 1.7 2004/12/07 08:50:01 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4IonisParamElm.hh,v 1.8 2005/11/09 15:38:43 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class description
@@ -55,25 +55,25 @@ public: // with description
// retrieval methods
G4double GetZ() const {return fZ;}; // atomic number Z
G4double GetZ3() const {return fZ3;}; // std::pow (Z,1/3)
G4double GetZZ3() const {return fZZ3;}; // std::pow (Z(Z+1),1/3)
G4double GetlogZ3() const {return flogZ3;}; // std::log(Z)/3
G4double GetZ() const {return fZ;} // atomic number Z
G4double GetZ3() const {return fZ3;} // std::pow (Z,1/3)
G4double GetZZ3() const {return fZZ3;} // std::pow (Z(Z+1),1/3)
G4double GetlogZ3() const {return flogZ3;} // std::log(Z)/3
G4double GetTau0() const {return fTau0;};
// 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2
G4double GetTaul() const {return fTaul;}; // 2*MeV/proton mass
G4double GetTaul() const {return fTaul;} // 2*MeV/proton mass
G4double GetAlow() const {return fAlow;};
G4double GetBlow() const {return fBlow;};
G4double GetClow() const {return fClow;};
G4double GetAlow() const {return fAlow;}
G4double GetBlow() const {return fBlow;}
G4double GetClow() const {return fClow;}
// parameters for the low energy ion.loss
G4double GetMeanExcitationEnergy() const {return fMeanExcitationEnergy;};
G4double GetMeanExcitationEnergy() const {return fMeanExcitationEnergy;}
// 16*std::pow(Z,0.9)*eV
G4double* GetShellCorrectionVector() const {return fShellCorrectionVector;};
G4double* GetShellCorrectionVector() const {return fShellCorrectionVector;}
// shell correction coefficients
public: // without description
@@ -83,6 +83,10 @@ public: // without description
G4int operator==(const G4IonisParamElm&) const;
G4int operator!=(const G4IonisParamElm&) const;
G4IonisParamElm(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
private:
+7 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonisParamMat.hh,v 1.7 2002/10/29 16:17:04 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4IonisParamMat.hh,v 1.8 2005/11/09 15:38:43 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class description
@@ -92,6 +92,11 @@ public: // without description
G4int operator==(const G4IonisParamMat&) const;
G4int operator!=(const G4IonisParamMat&) const;
G4IonisParamMat(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
private:
// Compute mean parameters : ExcitationEnergy,Shell corretion vector ...
+10 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Isotope.hh,v 1.16 2005/04/01 12:41:11 maire Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4Isotope.hh,v 1.18 2005/11/15 15:24:37 maire Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -41,6 +41,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// 15.11.05: GetIsotope(isotopeName, G4bool warning=false)
// 31.03.05: A becomes optional. Taken from Nist data base by default (mma)
// 26.02.02: fIndexInTable renewed
// 14.09.01: fCountUse: nb of elements which use this isotope
@@ -86,7 +87,7 @@ class G4Isotope
void decreaseCountUse() {fCountUse--;};
static
G4Isotope* GetIsotope(G4String name);
G4Isotope* GetIsotope(G4String name, G4bool warning=false);
static const
G4IsotopeTable* GetIsotopeTable();
@@ -109,7 +110,12 @@ class G4Isotope
G4int operator==(const G4Isotope&) const;
G4int operator!=(const G4Isotope&) const;
G4Isotope(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
private:
G4Isotope(G4Isotope&);
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4IsotopeVector.hh,v 1.5 2003/06/16 16:56:17 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4MPVEntry.hh,v 1.5 2001/07/11 10:01:26 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
////////////////////////////////////////////////////////////////////////
+8 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Material.hh,v 1.22 2003/06/16 16:56:18 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4Material.hh,v 1.24 2005/11/15 15:24:37 maire Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class description
@@ -76,6 +76,7 @@
// 31-10-01, new function SetChemicalFormula() (mma)
// 26-02-02, fIndexInTable renewed
// 06-08-02, remove constructors with ChemicalFormula (mma)
// 15-11-05, GetMaterial(materialName, G4bool warning=true)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -218,7 +219,7 @@ public: // with description
size_t GetIndex() const {return fIndexInTable;};
//return pointer to a material, given its name:
static G4Material* GetMaterial(G4String name);
static G4Material* GetMaterial(G4String name, G4bool warning=true);
//
//printing methods
@@ -231,6 +232,10 @@ public: // without description
G4int operator==(const G4Material&) const;
G4int operator!=(const G4Material&) const;
G4Material(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
private:
@@ -22,7 +22,7 @@
//
//
// $Id: G4MaterialPropertiesTable.hh,v 1.17 2005/06/27 15:28:54 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
////////////////////////////////////////////////////////////////////////
@@ -22,7 +22,7 @@
//
//
// $Id: G4MaterialPropertyVector.hh,v 1.9 2003/06/16 16:56:20 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4MaterialTable.hh,v 1.5 2003/06/16 16:56:21 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4NistElementBuilder.hh,v 1.5 2005/05/12 17:29:08 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4NistElementBuilder.hh,v 1.6 2005/10/31 11:35:25 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
#ifndef G4NistElementBuilder_h
#define G4NistElementBuilder_h 1
@@ -35,6 +35,8 @@
//
// Author: V.Ivanchenko 21-11-2004
//
// Modifications:
//
//----------------------------------------------------------------------------
//
// Class Description:
@@ -59,17 +61,17 @@ class G4NistElementBuilder
public:
G4NistElementBuilder(G4int vb);
~G4NistElementBuilder();
G4int GetZ (const G4String& symb);
G4double GetA (G4int Z);
G4double GetIsotopeMass (G4int Z, G4int N);
G4int GetMaxNumElements() {return maxNumElements-1;};
void SetVerbose (G4int vb) {verbose = vb;};
void PrintElement (G4int Z);
// Find or build a G4Element by atomic number
// Find or build a G4Element by atomic number
G4Element* FindOrBuildElement (G4int Z, G4bool buildIsotopes = true);
// Find or build a G4Element by symbol
+1 -1
View File
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: G4NistManager.hh,v 1.3 2005/05/12 17:29:08 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// -------------------------------------------------------------------
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4NistMaterialBuilder.hh,v 1.3 2005/05/12 17:29:08 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4NistMaterialBuilder.hh,v 1.4 2005/10/31 11:35:25 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
#ifndef G4NistMaterialBuilder_h
#define G4NistMaterialBuilder_h 1
@@ -35,6 +35,7 @@
// Author: V.Ivanchenko 21-11-2004
//
// Modifications:
// 31-10-2005 Add chemical effect and gas properties (V.Ivanchenko)
//
//
//----------------------------------------------------------------------------
@@ -100,6 +101,10 @@ private:
G4double pot=0.0, G4int ncomp=1,
G4State=kStateSolid);
void AddChemicalFormula(const G4String& nameMat, const G4String& ch);
void AddGas(const G4String& nameMat, G4double t=STP_Temperature,
G4double p=STP_Pressure);
void AddElementByWeightFraction(G4int Z, G4double);
void AddElementByAtomCount (G4int Z, G4int);
@@ -108,10 +113,10 @@ private:
// build a G4Material from dataBase
G4Material* BuildMaterial(const G4String& name, G4bool isotopes);
void DumpElm(G4int);
void DumpMix(G4int);
private:
G4NistManager* matManager;
@@ -135,6 +140,9 @@ private:
std::vector<G4int> indexes;
std::vector<G4int> elements;
std::vector<G4double> temperatures;
std::vector<G4double> presures;
G4bool first;
};
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4NistMessenger.hh,v 1.1 2005/02/22 10:11:09 maire Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// File name: G4NistMessenger
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4OpticalSurface.hh,v 1.7 2003/12/01 15:13:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
////////////////////////////////////////////////////////////////////////
+8 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SandiaTable.hh,v 1.12 2004/12/07 08:50:02 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4SandiaTable.hh,v 1.13 2005/11/09 15:38:43 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
// class description
//
@@ -79,6 +79,12 @@ public: // with description
G4double GetSandiaCofForMaterial(G4int,G4int);
G4double* GetSandiaCofForMaterial(G4double energy);
public: // without description
G4SandiaTable(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
private:
@@ -22,7 +22,7 @@
//
//
// $Id: G4StaticSandiaData.hh,v 1.6 2002/04/15 16:50:36 grichine Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
@@ -22,7 +22,7 @@
//
//
// $Id: G4SurfaceProperty.hh,v 1.2 2003/12/01 15:13:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
////////////////////////////////////////////////////////////////////////