Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -85,8 +85,8 @@ private:
G4int verboseLevel;
const G4ParticleDefinition* fParticleDefinition;
double fLowEnergy;
double fHighEnergy;
G4double fLowEnergy;
G4double fHighEnergy;
G4String fTableFile;
G4DNACrossSectionDataSet* fTableData;
@@ -87,8 +87,8 @@ private:
G4int verboseLevel;
const G4ParticleDefinition* fParticleDefinition;
double fLowEnergy;
double fHighEnergy;
G4double fLowEnergy;
G4double fHighEnergy;
G4PhysicsTable* fTableData;
G4PhysicsVector* fTotalXS;
@@ -74,7 +74,7 @@ public:
const G4ParticleDefinition*,
G4double /*kineticEnergy*/);
double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition, G4double k, G4double energyTransfer, G4int shell);
G4double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition, G4double k, G4double energyTransfer, G4int shell);
G4double TransferedEnergy(G4ParticleDefinition * aParticleDefinition,
G4double incomingParticleEnergy, G4int shell, G4double random) ;
@@ -142,7 +142,7 @@ private:
G4double t,
G4double e);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap eDiffCrossSectionData[6];
TriDimensionMap eNrjTransfData[6]; // for cumulated dcs
@@ -150,10 +150,10 @@ private:
TriDimensionMap pDiffCrossSectionData[6];
TriDimensionMap pNrjTransfData[6]; // for cumulated dcs
std::vector<double> eTdummyVec;
std::vector<double> pTdummyVec;
std::vector<G4double> eTdummyVec;
std::vector<G4double> pTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap eVecm;
VecMap pVecm;
@@ -74,7 +74,7 @@ public:
const G4ParticleDefinition*,
G4double /*kineticEnergy*/);
double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition, G4double k, G4double energyTransfer, G4int shell);
G4double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition, G4double k, G4double energyTransfer, G4int shell);
G4double TransferedEnergy(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4int shell, G4double random) ;
@@ -135,14 +135,14 @@ private:
G4double t,
G4double e);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap fDiffCrossSectionData[6];
TriDimensionMap fNrjTransfData[6]; // for cumulated dcs
std::vector<double> fTdummyVec;
std::vector<G4double> fTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap fVecm;
VecMap fProbaShellMap[6]; // for cumulated dcs
@@ -133,12 +133,12 @@ private:
G4double t,
G4double e);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap eDiffCrossSectionData;
std::vector<double> eTdummyVec;
std::vector<G4double> eTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap eVecm;
G4double RandomizeCosTheta(G4double k);
@@ -150,14 +150,14 @@ private:
G4double t,
G4double e);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap eDiffCrossSectionData[6];
TriDimensionMap eNrjTransfData[6]; // for cumulated dcs
std::vector<double> eTdummyVec;
std::vector<G4double> eTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap eVecm;
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4DNAChampionElasticModel.hh 97520 2016-06-03 14:23:17Z gcosmo $
// $Id: G4DNAChampionElasticModel.hh 105719 2017-08-16 12:36:37Z gcosmo $
//
#ifndef G4DNAChampionElasticModel_h
@@ -80,11 +80,11 @@ public:
private:
// Cross section
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap eVecm;
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap eDiffCrossSectionData;
std::vector<double> eTdummyVec;
std::vector<G4double> eTdummyVec;
// Water density table
const std::vector<G4double>* fpMolWaterDensity;
@@ -39,17 +39,15 @@
#include "G4VEmModel.hh"
#include "G4ParticleChangeForGamma.hh"
#include "G4ProductionCutsTable.hh"
#include "G4DNACrossSectionDataSet.hh"
#include "G4Electron.hh"
#include "G4Proton.hh"
#include "G4DNAGenericIonsManager.hh"
#include "G4LogLogInterpolation.hh"
#include "G4DNAEmfietzoglouWaterIonisationStructure.hh"
#include "G4VAtomDeexcitation.hh"
#include "G4NistManager.hh"
#include "G4Electron.hh"
#include "G4Proton.hh"
#include "G4DNACrossSectionDataSet.hh"
#include "G4DNAGenericIonsManager.hh"
#include "G4LogLogInterpolation.hh"
#include "G4DNAEmfietzoglouWaterIonisationStructure.hh"
class G4DNAEmfietzoglouIonisationModel : public G4VEmModel
{
@@ -77,7 +75,7 @@ public:
G4double tmin,
G4double maxEnergy);
double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition,
G4double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition,
G4double k,
G4double energyTransfer,
G4int shell);
@@ -105,9 +103,6 @@ private:
std::map<G4String, G4double, std::less<G4String> > lowEnergyLimit;
std::map<G4String, G4double, std::less<G4String> > highEnergyLimit;
// TODO :
// std::map<const G4ParticleDefinition*,std::pair<G4double,G4double> > fEnergyLimits;
G4bool isInitialised;
G4int verboseLevel;
@@ -154,16 +149,16 @@ private:
G4double t,
G4double e);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap eDiffCrossSectionData[6];
TriDimensionMap eNrjTransfData[6]; // for cumulated dcs
TriDimensionMap pDiffCrossSectionData[6];
std::vector<double> eTdummyVec;
std::vector<G4double> eTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap eVecm;
@@ -124,12 +124,12 @@ private:
LinLinInterpolate (G4double e1, G4double e2, G4double e, G4double xs1,
G4double xs2);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
TriDimensionMap fDiffCrossSectionData;
std::vector<double> eTdummyVec;
std::vector<G4double> eTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
typedef std::map<G4double, std::vector<G4double> > VecMap;
VecMap eVecm;
G4double
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4DNASancheExcitationModel.hh 98733 2016-08-09 10:51:58Z gcosmo $
// $Id: G4DNASancheExcitationModel.hh 105719 2017-08-16 12:36:37Z gcosmo $
// GEANT4 tag $Name: $
//
@@ -72,7 +72,7 @@ public:
inline void ExtendLowEnergyLimit(G4double /*threshold*/);
inline void SetVerboseLevel(int verbose)
inline void SetVerboseLevel(G4int verbose)
{
verboseLevel = verbose;
}
@@ -108,9 +108,9 @@ private:
//
// typedef std::map<double, std::map<double, double> > TriDimensionMap;
// TriDimensionMap map1;
std::vector<double> tdummyVec;
std::vector<std::vector<double>> fEnergyLevelXS;
std::vector<double> fEnergyTotalXS;
std::vector<G4double> tdummyVec;
std::vector<std::vector<G4double>> fEnergyLevelXS;
std::vector<G4double> fEnergyTotalXS;
//
G4DNASancheExcitationModel & operator=(const G4DNASancheExcitationModel &right);