Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4AtomicShells.hh,v 1.4 2001/07/11 10:01:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
|
||||
// class description
|
||||
//
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Element.hh,v 1.16 2002/02/26 17:34:34 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
|
||||
// class description
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ElementTable.hh,v 1.4 2001/10/17 14:02:15 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ElementVector.hh,v 1.4 2001/10/17 07:59:52 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4IonisParamElm.hh,v 1.6 2001/07/11 10:01:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
|
||||
// class description
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4IonisParamMat.hh,v 1.6 2001/07/11 10:01:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4IonisParamMat.hh,v 1.7 2002/10/29 16:17:04 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
|
||||
// class description
|
||||
@@ -33,7 +33,8 @@
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
|
||||
|
||||
// 09.03.01: copy constructor and assignement operator in public (mma)
|
||||
// 28-10-02: add setMeanExcitationEnergy (V.Ivanchenko)
|
||||
// 09-03-01: copy constructor and assignement operator in public (mma)
|
||||
// 09-07-98: data moved from G4Material (mma)
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
|
||||
@@ -61,6 +62,8 @@ public:
|
||||
|
||||
// parameters for mean energy loss calculation:
|
||||
G4double GetMeanExcitationEnergy() const {return fMeanExcitationEnergy;};
|
||||
void SetMeanExcitationEnergy(G4double value);
|
||||
G4double FindMeanExcitationEnergy(const G4String& chFormula);
|
||||
G4double GetLogMeanExcEnergy() const {return fLogMeanExcEnergy;};
|
||||
G4double* GetShellCorrectionVector() const {return fShellCorrectionVector;};
|
||||
G4double GetTaul() const {return fTaul;};
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Isotope.hh,v 1.14 2002/02/26 17:34:34 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4IsotopeVector.hh,v 1.4 2001/10/17 07:59:52 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MPVEntry.hh,v 1.5 2001/07/11 10:01:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Material.hh,v 1.20 2002/02/26 17:34:34 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4Material.hh,v 1.21 2002/08/06 15:14:29 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
|
||||
// class description
|
||||
@@ -75,6 +75,7 @@
|
||||
// 14-09-01, Suppression of the data member fIndexInTable
|
||||
// 31-10-01, new function SetChemicalFormula() (mma)
|
||||
// 26-02-02, fIndexInTable renewed
|
||||
// 06-08-02, remove constructors with ChemicalFormula (mma)
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -121,31 +122,6 @@ public: // with description
|
||||
G4double temp = STP_Temperature, //temperature
|
||||
G4double pressure = STP_Pressure); //pressure
|
||||
|
||||
//
|
||||
// Constructor to create a material with chemical formula from scratch.
|
||||
//
|
||||
G4Material(const G4String& name, //its name
|
||||
const G4String& chFormula, //chemicalFormul
|
||||
G4double z, //atomic number
|
||||
G4double a, //mass of mole
|
||||
G4double density, //density
|
||||
G4State state = kStateUndefined, //solid,gas
|
||||
G4double temp = STP_Temperature, //temperature
|
||||
G4double pressure = STP_Pressure); //pressure
|
||||
|
||||
//
|
||||
// Constructor to create a material with chemical formula from a
|
||||
// combination of elements and/or materials subsequently added via
|
||||
// AddElement and/or AddMaterial
|
||||
//
|
||||
G4Material(const G4String& name, //its name
|
||||
const G4String& chFormula, //chemicalFormul
|
||||
G4double density, //density
|
||||
G4int nComponents, //nbOfComponents
|
||||
G4State state = kStateUndefined, //solid,gas
|
||||
G4double temp = STP_Temperature, //temperature
|
||||
G4double pressure = STP_Pressure); //pressure
|
||||
|
||||
//
|
||||
// Add an element, giving number of atoms
|
||||
//
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MaterialPropertiesTable.hh,v 1.10 2001/07/11 10:01:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4MaterialPropertiesTable.hh,v 1.11 2002/11/07 02:29:58 gum Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@@ -31,11 +31,13 @@
|
||||
//
|
||||
// File: G4MaterialPropertiesTable.hh
|
||||
// Description: An Material properties table is a hash table, with
|
||||
// key = property name, and value = G4MaterialPropertyVector
|
||||
// key = property name, and value either G4double or
|
||||
// G4MaterialPropertyVector
|
||||
// Version: 1.0
|
||||
// Created: 1996-02-08
|
||||
// Author: Juliet Armstrong
|
||||
// Updated: 1999-11-05 Migration from G4RWTPtrHashDictionary to STL
|
||||
// Updated: 2002-11-05 add named material constants by P. Gumplinger
|
||||
// 1999-11-05 Migration from G4RWTPtrHashDictionary to STL
|
||||
// by John Allison
|
||||
// 1999-10-29 add method and class descriptors
|
||||
// 1997-03-25 by Peter Gumplinger
|
||||
@@ -58,44 +60,29 @@
|
||||
|
||||
// Class Description:
|
||||
// An Material properties table is a hash table, with key = property
|
||||
// name, and value = G4MaterialPropertyVector.
|
||||
// name, and value either G4double or G4MaterialPropertyVector.
|
||||
// Class Description - End:
|
||||
|
||||
#define RefractionIndex "RINDEX"
|
||||
|
||||
/////////////////////
|
||||
// Class Definition
|
||||
/////////////////////
|
||||
|
||||
class G4MaterialPropertiesTable {
|
||||
|
||||
//////////////
|
||||
// Operators
|
||||
//////////////
|
||||
|
||||
private:
|
||||
|
||||
G4MaterialPropertiesTable&
|
||||
operator =(const G4MaterialPropertiesTable &right);
|
||||
|
||||
////////////////
|
||||
// Constructor
|
||||
////////////////
|
||||
////////////////
|
||||
// Constructor
|
||||
////////////////
|
||||
|
||||
public: // Without description
|
||||
|
||||
G4MaterialPropertiesTable();
|
||||
|
||||
private:
|
||||
|
||||
G4MaterialPropertiesTable(const G4MaterialPropertiesTable &right);
|
||||
|
||||
public: // Without description
|
||||
|
||||
///////////////
|
||||
// Destructor
|
||||
///////////////
|
||||
|
||||
public: // Without description
|
||||
|
||||
~G4MaterialPropertiesTable();
|
||||
|
||||
////////////
|
||||
@@ -104,6 +91,10 @@ public: // Without description
|
||||
|
||||
public: // With description
|
||||
|
||||
void AddConstProperty(const char *key,
|
||||
G4double PropertyValue);
|
||||
// Add a new property to the table by giving a key-name and value
|
||||
|
||||
void AddProperty(const char *key,
|
||||
G4double *PhotonMomenta,
|
||||
G4double *PropertyValues,
|
||||
@@ -115,9 +106,15 @@ public: // With description
|
||||
// Add a new property to the table by giving a key-name and an
|
||||
// already constructed G4MaterialPropertyVector.
|
||||
|
||||
void RemoveConstProperty(const char *key);
|
||||
// Remove a constant property from the table.
|
||||
|
||||
void RemoveProperty(const char *key);
|
||||
// Remove a property from the table.
|
||||
|
||||
G4double GetConstProperty(const char *key);
|
||||
// Get the constant property from the table corresponding to the key-name
|
||||
|
||||
G4MaterialPropertyVector* GetProperty(const char *key);
|
||||
// Get the property from the table corresponding to the key-name.
|
||||
|
||||
@@ -139,6 +136,11 @@ private:
|
||||
G4std::map<G4String, G4MaterialPropertyVector*, G4std::less<G4String> > MPT;
|
||||
typedef G4std::map<G4String, G4MaterialPropertyVector*,
|
||||
G4std::less<G4String> >::iterator MPTiterator;
|
||||
|
||||
G4std::map< G4String, G4double, G4std::less<G4String> > MPTC;
|
||||
typedef G4std::map< G4String, G4double,
|
||||
G4std::less<G4String> >::iterator MPTCiterator;
|
||||
|
||||
};
|
||||
|
||||
#endif /* G4MaterialPropertiesTable_h */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MaterialPropertyVector.hh,v 1.8 2002/01/22 15:23:57 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MaterialTable.hh,v 1.4 2001/10/17 14:02:16 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4OpticalSurface.hh,v 1.5 2001/07/11 10:01:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4SandiaTable.hh,v 1.10 2001/10/17 07:59:52 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
|
||||
// class description
|
||||
//
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4StaticSandiaData.hh,v 1.6 2002/04/15 16:50:36 grichine Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
|
||||
|
||||
Reference in New Issue
Block a user