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
+14 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonisParamMat.cc,v 1.15 2005/05/12 17:29:08 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4IonisParamMat.cc,v 1.17 2005/11/18 14:54:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
@@ -44,7 +44,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
G4IonisParamMat::G4IonisParamMat(G4Material* material)
:fMaterial(material)
: fMaterial(material)
{
ComputeMeanParameters();
ComputeDensityEffect();
@@ -53,6 +53,16 @@ G4IonisParamMat::G4IonisParamMat(G4Material* material)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
// Fake default constructor - sets only member data and allocates memory
// for usage restricted to object persistency
G4IonisParamMat::G4IonisParamMat(__void__&)
: fMaterial(0), fShellCorrectionVector(0)
{
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
void G4IonisParamMat::ComputeMeanParameters()
{
// compute mean excitation energy and shell correction vector
@@ -74,7 +84,7 @@ void G4IonisParamMat::ComputeMeanParameters()
fLogMeanExcEnergy /= fMaterial->GetTotNbOfElectPerVolume();
fMeanExcitationEnergy = std::exp(fLogMeanExcEnergy);
fShellCorrectionVector = new G4double[3];
fShellCorrectionVector = new G4double[3]; //[3]
for (G4int j=0; j<=2; j++)
{