Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNABornExcitationModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNABornExcitationModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNABornIonisationModel.hh 70823 2013-06-06 08:26:50Z gcosmo $
//
#ifndef G4DNABornIonisationModel_h
@@ -71,16 +71,20 @@ public:
double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition, G4double k, G4double energyTransfer, G4int shell);
inline void SelectFasterComputation(G4bool input);
protected:
G4ParticleChangeForGamma* fParticleChangeForGamma;
private:
G4bool fasterCode;
// Water density table
const std::vector<G4double>* fpMolWaterDensity;
//deexcitation manager to produce fluo photns and e-
// Deexcitation manager to produce fluo photons and e-
G4VAtomDeexcitation* fAtomDeexcitation;
std::map<G4String,G4double,std::less<G4String> > lowEnergyLimit;
@@ -103,10 +107,14 @@ private:
G4double RandomizeEjectedElectronEnergy(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4int shell) ;
G4double RandomizeEjectedElectronEnergyFromCumulatedDcs(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4int shell) ;
G4double RandomTransferedEnergy(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4int shell) ;
void RandomizeEjectedElectronDirection(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4double
outgoingParticleEnergy, G4double & cosTheta, G4double & phi );
G4double LogLogInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2);
G4double Interpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2);
G4double QuadInterpolator( G4double e11,
G4double e12,
@@ -122,15 +130,24 @@ private:
G4double e);
typedef std::map<double, std::map<double, double> > TriDimensionMap;
TriDimensionMap eDiffCrossSectionData[6];
TriDimensionMap eNrjTransfData[6]; // for cumulated dcs
TriDimensionMap pDiffCrossSectionData[6];
TriDimensionMap pNrjTransfData[6]; // for cumulated dcs
std::vector<double> eTdummyVec;
std::vector<double> pTdummyVec;
typedef std::map<double, std::vector<double> > VecMap;
VecMap eVecm;
VecMap pVecm;
VecMap eProbaShellMap[6]; // for cumulated dcs
VecMap pProbaShellMap[6]; // for cumulated dcs
// Partial cross section
G4int RandomSelect(G4double energy,const G4String& particle );
@@ -142,6 +159,11 @@ private:
};
inline void G4DNABornIonisationModel::SelectFasterComputation (G4bool input)
{
fasterCode = input;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#endif
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNAChampionElasticModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNAChampionElasticModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNADingfelderChargeDecreaseModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNADingfelderChargeDecreaseModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNADingfelderChargeIncreaseModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNADingfelderChargeIncreaseModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNAEmfietzoglouExcitationModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNAEmfietzoglouExcitationModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNAMeltonAttachmentModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNAMillerGreenExcitationModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNAMillerGreenExcitationModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4DNASancheSolvatationModel.hh 64057 2012-10-30 15:04:49Z gcosmo $
// $Id: G4DNAOneStepSolvatationModel.hh 74551 2013-10-14 12:59:14Z gcosmo $
//
// Author: Mathieu Karamitros (kara (AT) cenbg . in2p3 . fr)
//
@@ -36,24 +36,27 @@
//
// -------------------------------------------------------------------
#ifndef G4SancheSolvatationModel_
#define G4SancheSolvatationModel_
#ifndef G4DNAOneStepSolvatationModel_
#define G4DNAOneStepSolvatationModel_
#include "G4VEmModel.hh"
/**
* When an electron reaches the highest energy domain of G4DNASancheSolvatationModel,
* When an electron reaches the highest energy domain of G4DNAOneStepSolvatationModel,
* it is then automatically converted into a solvated electron and displace from its original
* position using a published thermalization statistic.
*
* Article: Jintana Meesungnoen, Jean-Paul Jay-Gerin, Abdelali Filali-Mouhim, and Samlee Mankhetkorn (2002)
* Low-Energy Electron Penetration Range in Liquid Water.
* Radiation Research: November 2002, Vol. 158, No. 5, pp. 657-660.
*/
class G4DNASancheSolvatationModel : public G4VEmModel
class G4DNAOneStepSolvatationModel : public G4VEmModel
{
public :
G4DNASancheSolvatationModel(const G4ParticleDefinition* p = 0,
G4DNAOneStepSolvatationModel(const G4ParticleDefinition* p = 0,
const G4String& nam = "DNASancheSolvatationModel");
virtual ~G4DNASancheSolvatationModel();
virtual ~G4DNAOneStepSolvatationModel();
virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
@@ -82,11 +85,11 @@ protected:
G4int fVerboseLevel;
private :
G4DNASancheSolvatationModel & operator=(const G4DNASancheSolvatationModel &right);
G4DNASancheSolvatationModel(const G4DNASancheSolvatationModel&);
G4DNAOneStepSolvatationModel & operator=(const G4DNAOneStepSolvatationModel &right);
G4DNAOneStepSolvatationModel(const G4DNAOneStepSolvatationModel&);
};
inline void G4DNASancheSolvatationModel::SetVerbose(int flag)
inline void G4DNAOneStepSolvatationModel::SetVerbose(int flag)
{
fVerboseLevel = flag;
}
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNARuddIonisationExtendedModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNARuddIonisationExtendedModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNARuddIonisationModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNARuddIonisationModel_h
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNASancheExcitationModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
// GEANT4 tag $Name: $
//
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: G4DNAScreenedRutherfordElasticModel.hh 70171 2013-05-24 13:34:18Z gcosmo $
//
#ifndef G4DNAScreenedRutherfordElasticModel_h