Import Geant4 10.3.0.beta source tree
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
#include "G4Material.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include <vector>
|
||||
|
||||
#include "G4Exp.hh"
|
||||
|
||||
class G4IonDEDXScalingICRU73 : public G4VIonDEDXScalingAlgorithm {
|
||||
|
||||
@@ -192,7 +192,7 @@ inline G4double G4IonDEDXScalingICRU73::EquilibriumCharge(
|
||||
|
||||
G4double velOverBohrVel = beta / CLHEP::fine_structure_const;
|
||||
|
||||
G4double q1 = 1.0 - std::exp(-velOverBohrVel / atomicNumberPow);
|
||||
G4double q1 = 1.0 - G4Exp(-velOverBohrVel / atomicNumberPow);
|
||||
|
||||
return q1 * charge;
|
||||
}
|
||||
|
||||
+2
-12
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4LivermoreGammaConversionModelRC.hh 93810 2015-11-02 11:27:56Z gcosmo $
|
||||
// $Id: G4LivermoreGammaConversionModelRC.hh 94854 2015-12-11 13:54:09Z gcosmo $
|
||||
//
|
||||
// Authors: G.Depaola & F.Longo
|
||||
//
|
||||
@@ -35,21 +35,15 @@
|
||||
#include "G4LPhysicsFreeVector.hh"
|
||||
#include "G4ProductionCutsTable.hh"
|
||||
|
||||
//#include "G4Electron.hh"
|
||||
//#include "G4Positron.hh"
|
||||
|
||||
|
||||
class G4ParticleChangeForGamma;
|
||||
|
||||
|
||||
|
||||
class G4LivermoreGammaConversionModelRC : public G4VEmModel
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4LivermoreGammaConversionModelRC(const G4ParticleDefinition* p = 0,
|
||||
const G4String& nam = "LivermoreGammaConversionRC_1");
|
||||
const G4String& nam = "LivermoreGammaConversionRC_1");
|
||||
|
||||
virtual ~G4LivermoreGammaConversionModelRC();
|
||||
|
||||
@@ -84,11 +78,9 @@ private:
|
||||
|
||||
G4double lowEnergyLimit;
|
||||
|
||||
// G4double highEnergyLimit;
|
||||
G4bool isInitialised;
|
||||
G4int verboseLevel;
|
||||
|
||||
|
||||
void ReadData(size_t Z, const char* path = 0);
|
||||
|
||||
G4double ScreenFunction1(G4double screenVariable);
|
||||
@@ -108,8 +100,6 @@ private:
|
||||
G4double fbeta (G4double x);
|
||||
G4double Dilog (G4double x);
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
-11
@@ -34,9 +34,6 @@
|
||||
#include "G4VEmModel.hh"
|
||||
#include "G4ElementData.hh"
|
||||
|
||||
//#include "G4Electron.hh"
|
||||
//#include "G4CrossSectionHandler.hh"
|
||||
|
||||
class G4ParticleChangeForGamma;
|
||||
class G4VAtomDeexcitation;
|
||||
|
||||
@@ -87,8 +84,6 @@ private:
|
||||
G4ParticleDefinition* theGamma;
|
||||
G4ParticleDefinition* theElectron;
|
||||
|
||||
G4double lowEnergyLimit;
|
||||
G4double highEnergyLimit;
|
||||
G4int verboseLevel;
|
||||
|
||||
G4int maxZ;
|
||||
@@ -110,10 +105,6 @@ private:
|
||||
G4double fCurrSection;
|
||||
std::vector<G4double> fSandiaCof;
|
||||
|
||||
// G4VCrossSectionHandler* crossSectionHandler;
|
||||
// G4VCrossSectionHandler* shellCrossSectionHandler;
|
||||
|
||||
|
||||
// specific methods for polarization -- FL & GD
|
||||
|
||||
G4ThreeVector GetRandomPolarization(G4ThreeVector& direction0); // Random Polarization
|
||||
@@ -128,10 +119,8 @@ private:
|
||||
void SystemOfRefChange(G4ThreeVector& direction0, G4ThreeVector& direction1,
|
||||
G4ThreeVector& polarization0);
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
inline void G4LivermorePolarizedPhotoElectricGDModel::SetLimitNumberOfShells(G4int n)
|
||||
{
|
||||
nShellLimit = n;
|
||||
|
||||
+4
-5
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4LivermorePolarizedPhotoElectricModel.hh 93359 2015-10-19 13:42:18Z gcosmo $
|
||||
// $Id: G4LivermorePolarizedPhotoElectricModel.hh 95040 2016-01-20 11:26:14Z gcosmo $
|
||||
//
|
||||
// Author: Sebastien Incerti
|
||||
// 30 October 2008
|
||||
@@ -36,8 +36,8 @@
|
||||
//
|
||||
|
||||
|
||||
#ifndef G4LivermorePhotoElectricModel_h
|
||||
#define G4LivermorePhotoElectricModel_h 1
|
||||
#ifndef G4LivermorePolarizedPhotoElectricModel_h
|
||||
#define G4LivermorePolarizedPhotoElectricModel_h 1
|
||||
|
||||
#include "G4VEmModel.hh"
|
||||
#include "G4ElementData.hh"
|
||||
@@ -52,8 +52,7 @@ class G4LivermorePolarizedPhotoElectricModel : public G4VEmModel
|
||||
|
||||
public:
|
||||
|
||||
G4LivermorePolarizedPhotoElectricModel(
|
||||
const G4String& nam = "LivermorePolarizedPhotoElectric");
|
||||
G4LivermorePolarizedPhotoElectricModel(const G4String& nam = "LivermorePolarizedPhotoElectric");
|
||||
|
||||
virtual ~G4LivermorePolarizedPhotoElectricModel();
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
// | Feb. 2013 JMCB - Geant4 9.6 FPE fix for bug 1426 |
|
||||
// | Jan. 2015 JMCB - Migration to MT (Based on Livermore |
|
||||
// | implementation) |
|
||||
// | Feb. 2016 JMCB - Geant4 10.2 FPE fix for bug 1676 |
|
||||
// | |
|
||||
// *********************************************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user